Hello,
Run my code. it throws Error. Using Java aspose-cells-8.4.0.jar
Exception in thread “main” java.lang.NumberFormatException: For input string: “null”
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at com.aspose.cells.b.a.zp.a(Unknown Source)
at com.aspose.cells.zakl.E(Unknown Source)
at com.aspose.cells.zada.o(Unknown Source)
at com.aspose.cells.zada.a(Unknown Source)
at com.aspose.cells.zacy.h(Unknown Source)
at com.aspose.cells.zacy.a(Unknown Source)
at com.aspose.cells.zacx.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.(Unknown Source)
at com.huawei.it.edoc.init.ExcelInit.main(ExcelInit.java:25)
How can i avoid this. here is my code.
LicenseManager.getInstance();
DataSource dataSource = new FileDataSource(“d:\测试文档.xlsx”);
LoadOptions opt = new LoadOptions();
InputStream in = dataSource.getInputStream();
Workbook workbook = new Workbook(in, opt);
Hi,
Sample code:
Workbook workbook = new Workbook(fileName);
Hi,
The issues you have found earlier (filed as CELLSJAVA-41266) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.