PDF to HTML conversion issue in Java

Hi,

Follow the steps on Linux:
run install_library.sh, and run.sh
result is that:
Save path: /apps/GroupDocs.Conversion/examples/outHTML/
POWERPOINT (page_size=5)
May 20, 2016 11:44:10 PM L a
SEVERE: Presentation uses next fonts:
'Arial'
'Calibri' (ERROR: NOT FOUND IN YOUR SYSTEM!!!)

[WARNING]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ExceptionInInitializerError
at com.groupdocs.conversion.internal.c.a.s.p6a2feef8.p9f36407e.x.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.p6a2feef8.p9f36407e.x.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.p6a2feef8.p9f36407e.u.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Xv.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Xm.(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Xm.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Ji.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Ji.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.x.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.cX.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nh.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.zV.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.zV.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.mn.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.mn.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.mn.save(Unknown Source)
at N.toHtml(Unknown Source)
at ag.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.samplePptToHtmlFiles(ToHtmlSampleConversion.java:595)
at com.groupdocs.conversion.maven.converters.ToHtmlSampleConversion.convertToFiles(ToHtmlSampleConversion.java:133)
at com.groupdocs.conversion.maven.ConversionSample.main(ConversionSample.java:61)
... 6 more
Caused by: java.lang.NullPointerException
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.p.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.cG.c(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.cG.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.p.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.p.(Unknown Source)
... 36 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.038 s
[INFO] Finished at: 2016-05-20T23:44:12-04:00
[INFO] Final Memory: 175M/356M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project groupdocs-conversion-maven: An exception occured while executing the Java class. null: InvocationTargetException: ExceptionInInitializerError: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project groupdocs-conversion-maven: An exception occured while executing the Java class. null
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while executing the Java class. null
at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:345)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ExceptionInInitializerError
at com.groupdocs.conversion.internal.c.a.s.p6a2feef8.p9f36407e.x.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.p6a2feef8.p9f36407e.x.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.p6a2feef8.p9f36407e.u.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Xv.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Xm.(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Xm.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Ji.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Ji.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.x.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.cX.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nh.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.zV.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.zV.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.mn.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.mn.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.mn.save(Unknown Source)
at N.toHtml(Unknown Source)
at ag.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.samplePptToHtmlFiles(ToHtmlSampleConversion.java:595)
at com.groupdocs.conversion.maven.converters.ToHtmlSampleConversion.convertToFiles(ToHtmlSampleConversion.java:133)
at com.groupdocs.conversion.maven.ConversionSample.main(ConversionSample.java:61)
... 6 more
Caused by: java.lang.NullPointerException
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.p.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.cG.c(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.cG.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.p.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.p.(Unknown Source)
... 36 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Press any key to quit...



org.codehaus.mojo:exec-maven-plugin:1.3.2 :
It exists here:
/apps/GroupDocs.Conversion/lib
and
/root/.m2/repository/org/codehaus/mojo/exec-maven-plugin/1.3.2

My question is that:
Is it necessary for GroupDocs.Conversion ?


The same PPT file,convert it to html:
It is ok on windows:
Save path: D:\tccwork3\GroupDocs.Conversion_1.3.0-Java-Examples\examples\outHTML\
POWERPOINT (page_size=5)
D:/tccwork3/GroupDocs.Conversion_1.3.0-Java-Examples/examples/outHTML/12-AllPagesFromEachFilesToFiles-HTML/GroupDocs_Demo.ppt_1.html\
D:/tccwork3/GroupDocs.Conversion_1.3.0-Java-Examples/examples/outHTML/12-AllPagesFromEachFilesToFiles-HTML/GroupDocs_Demo.ppt_2.html\
D:/tccwork3/GroupDocs.Conversion_1.3.0-Java-Examples/examples/outHTML/12-AllPagesFromEachFilesToFiles-HTML/GroupDocs_Demo.ppt_3.html\
D:/tccwork3/GroupDocs.Conversion_1.3.0-Java-Examples/examples/outHTML/12-AllPagesFromEachFilesToFiles-HTML/GroupDocs_Demo.ppt_4.html\
D:/tccwork3/GroupDocs.Conversion_1.3.0-Java-Examples/examples/outHTML/12-AllPagesFromEachFilesToFiles-HTML/GroupDocs_Demo.ppt_5.html\

But It is not ok on linux
Save path: /apps/GroupDocs.Conversion/examples/outHTML/
POWERPOINT (page_size=5)
May 20, 2016 11:44:10 PM L a
SEVERE: Presentation uses next fonts:
'Arial'
'Calibri' (ERROR: NOT FOUND IN YOUR SYSTEM!!!)

[WARNING]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ExceptionInInitializerError
at com.groupdocs.conversion.internal.c.a.s.p6a2feef8.p9f36407e.x.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.p6a2feef8.p9f36407e.x.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.p6a2feef8.p9f36407e.u.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Xv.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Xm.(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Xm.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Ji.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.Ji.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.IK.(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.x.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.cX.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.nh.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.zV.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.zV.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.mn.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.mn.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.mn.save(Unknown Source)
at N.toHtml(Unknown Source)
at ag.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.samplePptToHtmlFiles(ToHtmlSampleConversion.java:595)
at com.groupdocs.conversion.maven.converters.ToHtmlSampleConversion.convertToFiles(ToHtmlSampleConversion.java:133)
at com.groupdocs.conversion.maven.ConversionSample.main(ConversionSample.java:61)
... 6 more
Caused by: java.lang.NullPointerException
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.p.do(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.cG.c(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.cG.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.p.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.s.ms.pbdb106a0.p6a2feef8.p.(Unknown Source)
... 36 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.038 s
[INFO] Finished at: 2016-05-20T23:44:12-04:00
[INFO] Final Memory: 175M/356M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project groupdocs-conversion-maven: An exception occured while executing the Java class. null: InvocationTargetException: ExceptionInInitializerError: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project groupdocs-conversion-maven: An exception occured while executing the Java class. null

Hello,

Could you please explain, did you made any changes to our demo examples , before start them on Linux OS, because the issue reason doesn't depends from out library and the plugin required only to run the sample from the terminal. You can run main.class also with any IDE , to recheck the issue.

We have checked our example with this .ppt file and on our Linux OS it works well. Could you please try to manually add the Windows fonts to this directory 'usr/share/fonts/truetype/ and then run this command to update fonts cache

sudo fc-cache -fv

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+

hi,

I have a new question about .xls
If there are pictures in the .xls file, the conversion of the HTML file to load the image failed, the path is not right.

This is my file

hi,



Can you judge the document type(.xlsx, .xls, .doc,.docx,.ppt, .pptx, .pdf) with GroupDocs.Conversion.jar

Which java file is?
Can you give me an example?

Thanks!
Hello,

Thank you for this inquiry.

We have managed to reproduce the issue on our side, also we have created a bug ticket in our system. This issue should be resolved in our next generation of the GroupDocs.Conversion for Java library. You will be notified when it will be available.

Sorry for the inconvenience.

--------

Best regards,
Evgen Efimov

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

Hi,


If we buy LIC now, then watch out for the release, fix this bug; will we continue to enjoy the modified service?

Thanks!

hi,


I have a new problem:

I found: after the conversion of the HTML file is the home of the left,
Can Groupdocs.Conversion provide set the parameters of the HTML location?




Thanks!
Hello,

Unfortunately , at the moment the GroupDocs.Conversion for Java library hasn't the parameter for changing HTML location. We will inform our Product team about your request and if it will be possible then the feature will be included in the new generation of this library.

About your previous questions. All format types that our library can support you can find here . About license : basically our license will work for each version of the GroupDocs.Conversion library, it has only one restriction - it is licensing period (for one year or more) .

If you will have more questions please feel free to contact us.

----------

Best regards,
Evgen Efimov

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

hi,


The key is that :
Judge file type

for example:

public void test(){
if(utilJava.isDOC(DOCfile_name))
{
conver DOC
}
else if(utilJava.isPDF(PDFfile_name)){
conver DOC
}
}

Do you have a java file similar to utilJava.java ?


Hello,

Sorry for misunderstanding.

Unfortunately , no , our library hasn't such file or the method that can identify the type of document .

If you will have more questions please feel free to contact us.

----------

Best regards,
Evgen Efimov

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

hi,


GroupDocs.conversion environment must be greater than or equal to JDK1.7 ?

SO JDK1.6 is not supported.


But our project environment must be JDK1.6 ,
can you help me ?

Hello,

Unfortunately, the GroupDocs.Conversion for Java library 1.3.0 version can work only with 1.7 Java , but we sent a request to our Product team to know , if this feature will be available for our new generation of the library. When we will have this information we will notify you.

Note : with 1.6 Java version can work the 1.2 version of the GroupDocs.Conversion library, but we not recommend you to use it , because, there were some bugs, that were fixed in 1.3.0 version.

---------

Best regards,
Evgen Efimov

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

hi,


There is a new problem.
If my file name is GroupDocs`~!@#$%&()}{’;.,.xls
Can not be successfully converted into html

can you help me ?


Hello,

We have managed to reproduce the issue on our side and we found that the % symbol calls this issue. We notified our Product team about your request and created a bug ticket. They will investigate the issue and will fix it if it will be possible.

Note: Please check this list of the forbidden symbols for file names. As a temporary solution you should avoid of using such symbols in the file or folder names.

Sorry for the inconvenience.

---------

Best regards,
Evgen Efimov

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

hi



com.groupdocs.conversion.exception.InternalException: Can’t convert to html!
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
at WebMan.campus.files.server.conversion.GroupDocsConversionFileUtils.converFiles(GroupDocsConversionFileUtils.java:57)
at WebMan.campus.files.server.conversion.AbstractFileConvertor.process(AbstractFileConvertor.java:46)
at WebMan.campus.files.server.conversion.ConversionExecutor.execute(ConversionExecutor.java:153)
at tcc.batch.server.impl.ExecuteWorkerImpl.execute(ExecuteWorkerImpl.java:143)
at tcc.batch.server.impl.ExecuteWorkerImpl.run(ExecuteWorkerImpl.java:113)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.groupdocs.conversion.exception.CorruptFileException: File extension html of filename /cc/CCFile/FileManager/__cp1/__cmu/__cls10962/10962230/__view/64016081/GroupDocs_Demo.html cannot be opened, and looks to be corrupted.
at b.toHtml(Unknown Source)
at aa.a(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToHtml(Unknown Source)
… 7 more
Caused by: com.groupdocs.conversion.exception.CorruptFileException: File extension of filename Can’t convert cells to html! cannot be opened, and looks to be corrupted.
at b.toHtml(Unknown Source)
… 10 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:400)
at java.util.ArrayList.get(ArrayList.java:413)
at com.groupdocs.conversion.internal.c.a.c.ia.a(Unknown Source)
at e.a(Unknown Source)
at e.a(Unknown Source)
… 11 more

can you help me ?
Hello,

Thank you for your inquiry.

Could you please share with us code example, that you used for convert .xls file to html via the GroupDocs.Conversion library . Because we tried to reproduce the issue with our demo example , but it works well for us.
Also could you please recheck does this file exists by this url (/cc/CCFile/FileManager/__cp1/__cmu/__cls10962/10962230/__view/64016081/GroupDocs_Demo.html), seems that the library can't find the file. Please try to use another place for storing the file.

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+

this is my code:test.zip


on linux
installed fonts
jdk1.7.80

the url is in existence, but this file is blank.
Hello,

Could you please specify , which values have inputFile.getParent() and inputFile.getAbsolutePath() parameters, basically a storagePath parameter should be absolute (for example : "E:\\GroupDocs\\file_samples") , since that we consider that the issue reason in the storage path .

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+

File inputFile =new File("D:/tccwork2/conversion/file_samples/GroupDocs_Demo.pdf");
File outputFile =new File("D:\\tccwork2\\conversion\\out\\");

##SUMMER######: Conversion Info ######
##SUMMER######: GroupDocs_License :D:/tccwork2/conversion/license/GroupDocs.Conversion.lic
##SUMMER######: inputFileSuffix: .pdf
##SUMMER######: outputFile.getAbsolutePath(): D:\tccwork2\conversion\out
##SUMMER######: outputFile.getParent(): D:\tccwork2\conversion
##SUMMER######: folderName: GroupDocs_Demo.pdf
##SUMMER######: inputFile.getName(): GroupDocs_Demo.pdf
##SUMMER######: inputFile.getParent(): D:\tccwork2\conversion\file_samples
##SUMMER######: inputFile.getAbsolutePath(): D:\tccwork2\conversion\file_samples\GroupDocs_Demo.pdf

Please test the four files successfully with files(GroupDocsConversionFileUtils-01.java and GroupDocsConversionFileUtils-02.java)

GroupDocs_Demo.pdf GroupDocs_Demo.ppt GroupDocs_Demo.doc GroupDocs_Demo.xls
Hello,

We have double checked the issue and found a reason . Basically a htmlSaveOptions.setAsListItems(true) parameter will convert all sheets from the .xls document to .html, but if you disable it , you should add a htmlSaveOptions.setWorksheetIndex(0) parameter and the library will convert this first sheet. Without this parameter you will get the issue with InternalException: Can't convert to html! . So please add this parameter and recheck your application again.

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+