Free Support Forum - groupdocs.com

Issuce With Conversion pdf to html


#1
I try to conversion pdf to html in the server throws this exception:
java.lang.NoClassDefFoundError: Could not initialize class com.aspose.pdf.internal.p143.z10
at com.aspose.pdf.internal.p95.z31.m1(Unknown Source)
at com.aspose.pdf.internal.p40.z12.m1(Unknown Source)
at com.aspose.pdf.internal.p40.z12.m1(Unknown Source)
at com.aspose.pdf.internal.p40.z8.m1(Unknown Source)
at com.aspose.pdf.internal.p40.z1.m1(Unknown Source)
at com.aspose.pdf.internal.p39.z3.m1(Unknown Source)
at com.aspose.pdf.internal.p220.z6.m1(Unknown Source)
at com.aspose.pdf.z33.m1(Unknown Source)
at com.aspose.pdf.ADocument.m1(Unknown Source)
at com.aspose.pdf.Document.m1(Unknown Source)
at com.aspose.pdf.ADocument.save(Unknown Source)
at com.aspose.pdf.Document.save(Unknown Source)
at com.groupdocs.conversion.converter.a.e.d(PdfConverter.java:173)
at com.groupdocs.conversion.converter.b.a(Converter.java:345)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(ConversionHandler.java:285)</span></pre><pre><span><br></span></pre><pre><span><br></span></pre><pre>my server is ubuntu 14.10 , jdk1.7  and i already copy windows fonts to my server.</pre><pre>Please give me some suggestions  thanks.</pre>

#2
Hello,

Thank you for your posting and using GroupDocs.Conversion.

Could you please specify which version of the GroupDocs.Conversion for Java you are using. Also will be useful if you share with us your file example with which you have such issue.

Please come back to us with these details and we will be glad to help you.

------

Best regards,
Evgen Efimov

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


#3
I try to conversion pdf to html in the server throws this exception:


[13:37:11.082] {http--80-10$1455279060} java.lang.ExceptionInInitializerError


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.internal.p95.z31.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.internal.p40.z12.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.internal.p40.z12.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.internal.p40.z8.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.internal.p40.z1.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.internal.p39.z3.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.internal.p220.z6.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.z33.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.ADocument.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.Document.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.ADocument.save(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.aspose.pdf.Document.save(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} at com.groupdocs.conversion.converter.a.e.d(PdfConverter.java:173)


[13:37:11.082] {http--80-10$1455279060} at com.groupdocs.conversion.converter.b.a(Converter.java:345)


[13:37:11.082] {http--80-10$1455279060} at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(ConversionHandler.java:285)


[13:37:11.082] {http--80-10$1455279060} at com.rh.docview.DocviewServlet.convertHtml(DocviewServlet.java:115)


[13:37:11.082] {http--80-10$1455279060} at com.rh.docview.DocviewServlet.handleDocument(DocviewServlet.java:71)


[13:37:11.082] {http--80-10$1455279060} at com.rh.docview.DocviewServlet.doGet(DocviewServlet.java:45)


[13:37:11.082] {http--80-10$1455279060} at javax.servlet.http.HttpServlet.service(HttpServlet.java:114)


[13:37:11.082] {http--80-10$1455279060} at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)


[13:37:11.082] {http--80-10$1455279060} at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)


[13:37:11.082] {http--80-10$1455279060} at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)


[13:37:11.082] {http--80-10$1455279060} at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)


[13:37:11.082] {http--80-10$1455279060} at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273)


[13:37:11.082] {http--80-10$1455279060} at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)


[13:37:11.082] {http--80-10$1455279060} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)


[13:37:11.082] {http--80-10$1455279060} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)


[13:37:11.082] {http--80-10$1455279060} at java.lang.Thread.run(Thread.java:745)


[13:37:11.082] {http--80-10$1455279060} Caused by: class com.aspose.pdf.internal.p349.z9: FontFamily 'FangSong' not found


[13:37:11.082] {http--80-10$1455279060} Parameter name: FangSong


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.internal.p357.z16.(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.internal.p362.z1.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.internal.p143.z10.(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.internal.p95.z31.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.internal.p40.z12.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.internal.p40.z12.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.internal.p40.z8.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.internal.p40.z1.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.internal.p39.z3.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.internal.p220.z6.m1(Unknown Source)


[13:37:11.082] {http--80-10$1455279060} com.aspose.pdf.z33.m1(Unknown Source)





my server is ubuntu 14.10 , jdk1.7 and i already copy windows fonts to my server.
GroupDocs.Conversion version is 1.2.0 and pdf file in the attachment please download and rename to test001.pdf ( download url is http://cochat.cn/file/377jfPsUpe7pGaQSr1Pftj.pdf)

Please give me some suggestions thanks.

#4
Hello ,

Thank you for the details

We have checked your file and tried to convert it . On our side on Linux system this conversion works well. Seems that we need additional info: could you please share with us your code sample of using HTML conversion and if it possible then please share with us your application example . We will investigate it to reproduce your issue on our side.

Please come back to us with these details and we will be glad to help you.

-------

Best regards,
Evgen Efimov

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