Hello,
We are using Aspose Cells for Java to generate xls reports.
We upgraded the aspose jar from 2.0.1 version to 2.5.0.4 version.
After jar migration we are facing the issue. we get null pointer exception while inserting rows.
exception stack trace is java.lang.NullPointerException
at com.aspose.cells.Style.i(Unknown Source)
at com.aspose.cells.Cells.a(Unknown Source)
at com.aspose.cells.Cells.a(Unknown Source)
at com.aspose.cells.Cells.insertRows(Unknown Source)
at caf.opm.preclosing.business.amap.authoSheet.impl.AbstractGenericAuthoSheetReportServiceImpl.fillLegalEntityRows(AbstractGenericAuthoSheetReportServiceImpl.java:488)
Please help us to resolve this issue.
Thanks in advance.
Hi,
Thanks for your interest in Aspose.Cells for Java.
This might be a bug in Aspose.Cells for Java 2.5.0.4. Please try the latest Aspose Cells for Java
v2.5.2.14 but for this version, you will also need additional Java libraries.
If problem still persists, then please provide us your code and template/input Excel (xls/xlsx etc) files.
Hi,
If it is a bug in with the library version all the reports should fail.
We are using the same library to generate diff type of xls reports.
Its failing only in one of the report.
Please let me know if there is any solution to fix it.
Thanks in advance.
Hi,
Since it is failing on a single report, then either report is corrupt or Aspose.Cells for Java is failing on it. We will have to look into it, so please attach your report here.
If it is a private report, then you can mark this thread as private or ask us to mark it as private, so no one can access it.
Also provide us your code example to reproduce this issue.