还有个问题。4.0.5 我用gcExcel读取一个 excel文件然后用save方法保存时报空指针。
- java.lang.IllegalArgumentException: java.lang.NullPointerException
- at com.grapecity.documents.excel.n.c.an.a(Unknown Source)
- at com.grapecity.documents.excel.n.c.C.a(Unknown Source)
- at com.grapecity.documents.excel.Workbook.a(Unknown Source)
- at com.grapecity.documents.excel.Workbook.save(Unknown Source)
- at com.grapecity.documents.excel.Workbook.save(Unknown Source)
- at com.grapecity.documents.excel.Workbook.save(Unknown Source)
复制代码- Workbook workbook = new Workbook();
- workbook.open("F:\\test.xlsx");
- workbook.setAutoRoundValue(true);
- workbook.save("F://test1.xlsx");
复制代码 附件为 excel文件
|
|