Hi,
Hi Zeljko,
InputStream stream = new FileInputStream(new File(“D:/end-of-file-reached-test.xlsx”));
Workbook book = new Workbook(stream);
Hi Babar,
Hi Zeljko,
Thanks for your posting and using Aspose.Cells.
We have tested this issue with the following sample code with the latest version: Aspose.Cells for Java 8.4.0 with your source Excel file. We found, it throws null pointer exception on opening it.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as
- CELLSJAVA-41248 - Null pointer exception on opening source xlsx file
Java
String filePath = “F:\Shak-Data-RW\Downloads\end-of-file-reached-test.xlsx”;
Workbook workbook = new Workbook(filePath);
Exception:
Exception in thread “main” java.lang.NullPointerException
at com.aspose.cells.zacu.d(Unknown Source)
at com.aspose.cells.zacu.b(Unknown Source)
at com.aspose.cells.zade.k(Unknown Source)
at com.aspose.cells.zade.a(Unknown Source)
at com.aspose.cells.zadd.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.(Unknown Source)
at ClsAsposeTest.f1(ClsAsposeTest.java:449)
at ClsAsposeTest.main(ClsAsposeTest.java:43)
Hi,
Thanks for using Aspose.Cells.
Please download and try the latest fix: Aspose.Cells
for Java v8.4.0.5 and let us know your feedback.
Hi Shakeel,
Hi Zeljko,
The issues you have found earlier (filed as CELLSJAVA-41248) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.