PDF to HTML conversion issue in Java

Exception in thread "main" java.lang.ExceptionInInitializerError
at com.groupdocs.conversion.internal.c.a.pd.internal.p218.y.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.k.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p162.t.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p350.m.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at w.toHtml(Unknown Source)
at w.toHtml(Unknown Source)
at ae.a(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.maven.converters.ToHtmlSampleConversion.samplePdfToHtmlFile(ToHtmlSampleConversion.java:186)
at com.groupdocs.conversion.maven.converters.ToHtmlSampleConversion.convertToFile(ToHtmlSampleConversion.java:37)
at com.groupdocs.conversion.maven.ConversionSample.main(ConversionSample.java:53)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 265
at com.groupdocs.conversion.internal.c.a.pd.internal.p549.a.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p265.b.(Unknown Source)
... 21 more
window 64bit
jdk1.7
run in eclipse
Hello,

Thank you for your request.

Could you please share with us your file example that you try to convert and the code of conversion that you used.

We will investigate them to find a reason of the issue.

--------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Now,

(Word ,Excel, ppt , Image,Email) can be converted into HTML format,
but (Pdf ,vdx,mpp) can not be converted into HTML format
i downloaded the code and pdf file from your site.

http://groupdocs.com/Community/files/9/java-libraries/groupdocs_conversion_for_java/category1049.aspx


com.groupdocs.conversion.maven.ConversionSample.java
com.groupdocs.conversion.maven.converters.ToHtmlSampleConversion.java

ToHtmlSampleConversion toHtml = new ToHtmlSampleConversion(config);
toHtml.convertToFile(conversionHandler);

GroupDocs_Demo.pdf
test code:
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.setAsListItems(true);

The paging feature is only a test of the success of the situation:
Ppt To Html Files
Image To Html Files
MultipageTiff To Html Files

But,These are failures:
Pdf To Html Files
Word To Html Files
Diagram To Html Files
Project To Html Files
Email To Html Files

error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.groupdocs.conversion.internal.c.a.pd.internal.p218.y.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.k.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p162.t.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p350.m.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at w.toHtml(Unknown Source)
at I.toHtml(Unknown Source)
at af.a(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.maven.converters.ToHtmlSampleConversion.sampleProjectToHtmlFiles(ToHtmlSampleConversion.java:865)
at com.groupdocs.conversion.maven.converters.ToHtmlSampleConversion.convertToFiles(ToHtmlSampleConversion.java:166)
at com.groupdocs.conversion.maven.ConversionSample.main(ConversionSample.java:57)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 137
at com.groupdocs.conversion.internal.c.a.pd.internal.p549.a.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p265.b.(Unknown Source)
... 21 more

My question:
Does your API not support the paging of these formats ?
formats :
Pdf To Html Files
Word To Html Files
Diagram To Html Files
Project To Html Files
Email To Html Files

Converted HTML file with red text:

for example:
Evaluation only. Created with Groupdocs.Conversion for Java. Copyright 2015 GroupDocs Pty Ltd.


We don’t want to show these extra text messages.
Do you have any solutions ?
Hello,

Thank you for your details.

Could you please specify . From your last answer you said that you can't convert into html only (Pdf ,vdx,mpp) files .When you try to convert them, which the save path you use ? Please recheck this folder "C:/Users/summer/Desktop/FileStructure02/vdxToHtmlFile/", is it exist in your system?

From your stack trace we can assume that you have some problem with save path, seems that the code hasn't an access right to write into it.

About your issue with Chinese language - could you please share with us your modified files and we will investigate them.

We will wait for your files.

---------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Hello,

We are sorry that you have such issue, but we can't reproduce it on our side. For us the .pdf file is converted to .html file without any issues. Could you please specify did you make any changes with our example and also did you configure a Config.java file correctly?

Also could you please try to run the conversion via terminal, without IDE. You can use next command

mvn clean compile exec:java

We will wait for your details.

--------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

“C:/Users/summer/Desktop/FileStructure02/vdxToHtmlFile/”, is it exist in your system?


It exists in my system

About your issue with Chinese language:

modified files:

I upload my eclipse project in attachment.removed GroupDocs.Conversion.jar

can you help me?

unzip it into D:\tccwork2\conversion

please check
D:\tccwork2\conversion\src\com\groupdocs\conversion\maven\config\Config.java

helphelp


Hello,

About your issue with .vdx file : you said that tried to convert second page of GroupDocs_Demo.vdx file and then you got the issue. Sorry but our demo .vdx file has only one page, so conversion of second page is wrong. If you made any changes with the file, then please share this changed file with us, because we tried to convert first page to .html format and the conversion works well.

About "Evaluation only. Created with Groupdocs.Conversion for Java. Copyright 2015 GroupDocs Pty Ltd." text - it will be hidden only you add a correct license file to licensePath parameter . Also you can get a temp license for one month . For it you should follow these steps.

Regarding your issue with Chinese language. We have checked your files and them converted well for us . We have attached the fonts from our environment , may you can recheck these conversions with these fonts. Also could you please share with us which encoding of web page you use for your browser?

---------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Hello,

Could you please specify , with which version of JDK you have ran the sample. Seems that you use JavaSE-1.6 version. Please try to use higher version of the JDK, unfortunately our library doesn't support 1.6 version .

We will wait for your results.

------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Thanks!
Chinese language is ok.

But new question 1:
We can't convert (DOC ,PDF) format into HTML format.

test code1:
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.setAsListItems(true);
htmlSaveOptions.setSavePath("C:\\Users\\summer\\Desktop\\FileStructure02\\"
+ "toDOCPages\\");
ArrayList list;

System.out.println("DOC (page_size="
+ conversionHandler.getPageCount("GroupDocs_Demo1.doc") + ")");
htmlSaveOptions.setSaveName("GroupDocs_Demo1.doc");
list = conversionHandler.convertToHtml("GroupDocs_Demo1.doc", htmlSaveOptions);
for (String item : list) {
System.out.println(item);
}

error1:
DOC (page_size=2)
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.groupdocs.conversion.internal.c.a.pd.internal.p218.y.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.k.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p162.t.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p350.m.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at w.toHtml(Unknown Source)
at S.toHtml(Unknown Source)
at ah.a(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.maven.ConversionSample.main(ConversionSample.java:72)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 137
at com.groupdocs.conversion.internal.c.a.pd.internal.p549.a.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p265.b.(Unknown Source)
... 19 more

test code2:
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.setAsListItems(true);
htmlSaveOptions.setSavePath("C:\\Users\\summer\\Desktop\\FileStructure02\\"
+ "toPDFPages\\");
ArrayList list;

System.out.println("PDF (page_size="
+ conversionHandler.getPageCount("GroupDocs_Demo5.pdf") + ")");
htmlSaveOptions.setSaveName("GroupDocs_Demo5.pdf");
list = conversionHandler.convertToHtml("GroupDocs_Demo5.pdf", htmlSaveOptions);
for (String item : list) {
System.out.println(item);
}

error2:
PDF (page_size=2)
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.groupdocs.conversion.internal.c.a.pd.internal.p218.y.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.k.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p162.t.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p350.m.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at w.toHtml(Unknown Source)
at ae.a(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.maven.ConversionSample.main(ConversionSample.java:72)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 137
at com.groupdocs.conversion.internal.c.a.pd.internal.p549.a.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p265.b.(Unknown Source)
... 18 more

test code3:
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.setAsListItems(true);
htmlSaveOptions.setSavePath("C:\\Users\\summer\\Desktop\\FileStructure02\\"
+ "toPPTPages\\");
ArrayList list;

System.out.println("PPT (page_size="
+ conversionHandler.getPageCount("GroupDocs_Demo6.ppt") + ")");
htmlSaveOptions.setSaveName("GroupDocs_Demo6.ppt");
list = conversionHandler.convertToHtml("GroupDocs_Demo6.ppt", htmlSaveOptions);
for (String item : list) {
System.out.println(item);
}

test code3 run result:
PPT (page_size=2)
四月 27, 2016 11:34:15 上午 L a
严重: Presentation uses next fonts:
'Arial'
'黑体' (ERROR: NOT FOUND IN YOUR SYSTEM!!!)
'宋体' (ERROR: NOT FOUND IN YOUR SYSTEM!!!)
'Wingdings'
'Calibri'
'微软雅黑' (ERROR: NOT FOUND IN YOUR SYSTEM!!!)
C:/Users/summer/Desktop/FileStructure02/toPPTPages/GroupDocs_Demo6.ppt_1.html\
C:/Users/summer/Desktop/FileStructure02/toPPTPages/GroupDocs_Demo6.ppt_2.html\
C:/Users/summer/Desktop/FileStructure02/toPPTPages/GroupDocs_Demo6.ppt_3.html\
C:/Users/summer/Desktop/FileStructure02/toPPTPages/GroupDocs_Demo6.ppt_4.html\
C:/Users/summer/Desktop/FileStructure02/toPPTPages/GroupDocs_Demo6.ppt_5.html\
C:/Users/summer/Desktop/FileStructure02/toPPTPages/GroupDocs_Demo6.ppt_6.html\

file list:
files.zip

Local document open mode:
WPS Office (10.1.0.5603)

My question:
This property(htmlSaveOptions.setAsListItems(true)) cannot be used in these formats(PDF,doc) ?


Summer
Thanks

Hello,

New problems 2:

I tested the new file:
GroupDocs_Demo1-01.doc : Page 5
GroupDocs_Demo5-01.pdf : Page 4
Tool support for (xls, doc, ppt, pdf):
WPS Office (10.1.0.5603)

But,
conversionHandler.getPageCount("GroupDocs_Demo1-01.doc") out 2
conversionHandler.getPageCount("GroupDocs_Demo5-01.pdf") out 2

test code1:
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.setAsListItems(true);
htmlSaveOptions.setSavePath("C:\\Users\\summer\\Desktop\\FileStructure02\\"
+ "toDOCPages\\");
ArrayList list;

System.out.println("DOC (page_size="
+ conversionHandler.getPageCount("GroupDocs_Demo1-01.doc") + ")");
htmlSaveOptions.setSaveName("GroupDocs_Demo1-01.doc");
//D:\\tccwork2\\conversion\\file_samples\\GroupDocs_Demo1-01.doc
list = conversionHandler.convertToHtml("GroupDocs_Demo1-01.doc", htmlSaveOptions);
for (String item : list) {
System.out.println(item);
}

error1:
DOC (page_size=2)
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.groupdocs.conversion.internal.c.a.pd.internal.p218.y.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.k.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p162.t.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p350.m.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at w.toHtml(Unknown Source)
at S.toHtml(Unknown Source)
at ah.a(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.maven.ConversionSample.main(ConversionSample.java:73)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 137
at com.groupdocs.conversion.internal.c.a.pd.internal.p549.a.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p265.b.(Unknown Source)
... 19 more

test code 2:
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.setAsListItems(true);
htmlSaveOptions.setSavePath("C:\\Users\\summer\\Desktop\\FileStructure02\\"
+ "toPDFPages\\");
ArrayList list;

System.out.println("PDF (page_size="
+ conversionHandler.getPageCount("GroupDocs_Demo5-01.pdf") + ")");
htmlSaveOptions.setSaveName("GroupDocs_Demo5-01.pdf");
//D:\\tccwork2\\conversion\\file_samples\\GroupDocs_Demo5-01.pdf
list = conversionHandler.convertToHtml("GroupDocs_Demo5-01.pdf", htmlSaveOptions);
for (String item : list) {
System.out.println(item);
}

error2:
PDF (page_size=2)
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.groupdocs.conversion.internal.c.a.pd.internal.p218.y.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.k.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p162.t.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p350.m.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at w.toHtml(Unknown Source)
at ae.a(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.maven.ConversionSample.main(ConversionSample.java:73)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 137
at com.groupdocs.conversion.internal.c.a.pd.internal.p549.a.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p265.b.(Unknown Source)
... 18 more

question 1:
Why not output the correct number of pages?

Correct output:
DOC (page_size=5)
PDF (page_size=4)

test file list:
testfiles.zip

question 2:
what version of (PDF,doc,xls,ppt) is (output and input) by GroupDocs?
Hello,

I have tried to use JDK6,JDK7, JDK8, but it's still a false report.

I wondered:
These are OK:
ToImageSampleConversion.convertToFile (conversionHandler)
ToPdfSampleConversion.convertToFile(conversionHandler)
ToPdfMerge.mergeToFile(conversionHandler)

But these runs are wrong:
ToHtmlSampleConversion.convertToFile (conversionHandler)
error:
Save path: D:\tccwork2\conversion\out
PDF
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.groupdocs.conversion.internal.c.a.pd.internal.p218.y.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.d.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.k.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p163.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p162.t.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p350.m.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.iZ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.a.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.ay.a(Unknown Source)
at w.toHtml(Unknown Source)
at ae.a(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at com.groupdocs.conversion.maven.converters.ToHtmlSampleConversion.samplePdfToHtmlFile(ToHtmlSampleConversion.java:222)
at com.groupdocs.conversion.maven.converters.ToHtmlSampleConversion.convertToFile(ToHtmlSampleConversion.java:47)
at com.groupdocs.conversion.maven.ConversionSample.main(ConversionSample.java:53)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 137
at com.groupdocs.conversion.internal.c.a.pd.internal.p549.a.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.pd.internal.p265.b.(Unknown Source)
... 20 more


so I would like to ask the way is not a problem.

This project is downloaded from the website, just changed the config.java.
Changes are as follows:
private static final String licensePath = "D:\\tccwork2\\conversion\\license";
private static final String storagePath = "D:\\tccwork2\\conversion\\file_samples";
private static final String savePath = "D:\\tccwork2\\conversion\\out";
Please help me.
thank you
Hello,

Glad to hear that your issue with Chinese language was fixed.

We are really sorry that you have the issue, but we still can't reproduce the issues with conversion .pdf and .doc files(we used the same version of maven and JDK as you ). For us all your attached files are converted well. Seems that the issue only on your side. Could you please specify you use Eclipse IDE to ran the examples? Did you download our library from our web site or it was downloaded from maven repository automatically?

About the issue with page size - it show only two pages because you use unlicensed version of the library.

--------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

More precise positioning:

These are OK:
ConversionHandler.convertToImage(String path, ImageSaveOptions options)
ConversionHandler.convertToPdf(String path, PdfSaveOptions options)

But these runs are wrong:
ConversionHandler.convertToHtml(String path, HtmlSaveOptions options)

Thanks,

Our local environment license from here :
GroupDocs.Conversion_1.3.0-Java\license

Please tell us how to download the correct license,
and the test license Whether to pay the cost.

Summer

Hello,

It is very strange issue , we still can't reproduce it on our side with your project that you shared with us earlier. We just changed a savePath parameter and ran the project . For us all html conversions works well (with our demo files), as you can see on a screenshot . So, could you please share with us more details about your environment:

- OS version
- Maven version
- JDK version

If you try to convert your own file then please share them with us. Also if you uploaded our library from maven repository , then try to reinstall it, using the library from our web site.

We will wait for your details.

--------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+