Hi Support Team,
Aspose Cells for Java version: 21.5.5
When converting an HTML table to a Workbook, calling cells.convertStringToNumericValue()
and saving the workbook throws a NullPointerException, depending on the contents of certain cells.
This functionality was working fine in Cells for Java 21.3.
Workbook workbook = new Workbook("working.html");
Cells cells = workbook.getWorksheets().get("Sheet1").getCells();
cells.convertStringToNumericValue();
workbook.save("test.xlsx");
Attached is a zip file containing one working HTML file and one non-working HTML file:
aspose_html.zip (469 Bytes)
Note that the only difference between the two files is the contents of the first cell on the first row.
Any advice would be appreciated!