We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert Excel to HTML (91285)

cells source code:
src.zip (1.6 KB)

origin excel:
发动机电控系统应用开发工具统计20190820.zip (854.8 KB)

报错信息:
java.lang.Exception: aspose_read com.landray.converter.executor.aspose.AsposeExcelConverter.doConvert(AsposeExcelConverter.java:69) com.landray.converter.executor.aspose.AsposeToHTMLConverter.doExcelConvert(AsposeToHTMLConverter.java:102) com.landray.converter.executor.aspose.AsposeToHTMLConverter.convert(AsposeToHTMLConverter.java:44) com.landray.converter.executor.AsposeExecutorMain.main(AsposeExecutorMain.java:66) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) Caused by:com.aspose.cells.CellsException: You have entered too few parameters for function IF com.aspose.cells.zadc.a(Unknown Source) com.aspose.cells.zacq.a(Unknown Source) com.aspose.cells.zacq.I(Unknown Source) com.aspose.cells.zaev.a(Unknown Source) com.aspose.cells.zacq.b(Unknown Source) com.aspose.cells.zacq.a(Unknown Source) com.aspose.cells.zcdi.a(Unknown Source) com.aspose.cells.zadq.a(Unknown Source) com.aspose.cells.zadq.a(Unknown Source) com.aspose.cells.zadr.a(Unknown Source) com.aspose.cells.zadr.b(Unknown Source) com.aspose.cells.zadq.b(Unknown Source) com.aspose.cells.Workbook.calculateFormula(Unknown Source) com.aspose.cells.Workbook.calculateFormula(Unknown Source) com.aspose.cells.Workbook.calculateFormula(Unknown Source) com.landray.converter.executor.aspose.AsposeExcelConverter.doConvert(AsposeExcelConverter.java:63) com.landray.converter.executor.aspose.AsposeToHTMLConverter.doExcelConvert(AsposeToHTMLConverter.java:102) com.landray.converter.executor.aspose.AsposeToHTMLConverter.convert(AsposeToHTMLConverter.java:44) com.landray.converter.executor.AsposeExecutorMain.main(AsposeExecutorMain.java:66) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)

使用19.9版本转换上面的excel文件均报错,请排查一下谢谢

@hucq_landray_com_cn

感谢您提供模板文件和示例代码。

请尝试使用我们的最新版本/修复程序:Aspose.Cells for Java v19.11.7(随附)
aspose-cells-19.11.7.zip (6.7 MB)

我使用v19.11.7将我们的源代码与您的源文件一起测试,效果很好。另外,我没有发现此异常。如果使用Aspose.Cells for Java v19.11.7仍然发现任何问题,请简化示例代码以提供给我们,并附加源文件以重现问题,我们将尽快进行检查。