Hi,
We are facing an issue while converting Excel file from HTML file. I have attached “CompleteEmail_Gmail.html” file for reference. We are using “aspose-cells-8.7.1.4.jar” file in classpath.
Code snippet:
HTMLLoadOptions options = new HTMLLoadOptions(LoadFormat.HTML);
Workbook book = new Workbook(htmlFileLocation + File.separatorChar + htmlFileName + ".html", options);
And it is throwing error:
2017-01-02 06:01:41 java.lang.NullPointerException
2017-01-02 06:01:41 at com.aspose.cells.zafm.s(Unknown Source)
2017-01-02 06:01:41 at com.aspose.cells.zafn.a(Unknown Source)
2017-01-02 06:01:41 at com.aspose.cells.zaft.o(Unknown Source)
2017-01-02 06:01:41 at com.aspose.cells.zaft.l(Unknown Source)
2017-01-02 06:01:41 at com.aspose.cells.zafu.a(Unknown Source)
2017-01-02 06:01:41 at com.aspose.cells.Workbook.a(Unknown Source)
2017-01-02 06:01:41 at com.aspose.cells.Workbook.a(Unknown Source)
2017-01-02 06:01:41 x`Unknown Source)
2017-01-02 06:01:41 at com.avery.DataConversionUtils.generateExcelFile(DataConversionUtils.java:200)
Please look into this and update ASAP.