inserting a picture into a cell (in cell) cause “new Workbook(inputFile)” to throw java.lang.NullPointerException.
I use java aspose-cells version 22.11
attached example file.
in_cell_image.zip (158.0 KB)
Thanks in advanced.
inserting a picture into a cell (in cell) cause “new Workbook(inputFile)” to throw java.lang.NullPointerException.
I use java aspose-cells version 22.11
attached example file.
in_cell_image.zip (158.0 KB)
Thanks in advanced.
Please try our latest version/fix: Aspose.Cells for Java 24.7. I have tested using your template XLSX file and converted to PDF, and it works fine.
e.g.,
Sample code:
Workbook workbook = new Workbook("d:\\files\\t2.xlsx");
workbook.save("d:\\files\\out1.pdf", SaveFormat.PDF);
Please find attached the output PDF file for your reference.
out1.pdf (130.4 KB)