本帖最后由 Richard.Huang 于 2024-1-30 15:26 编辑
产品:GcExcel
版本:V6.2.4
问题编号:DOCXLS-9298
LastReview:2024-01-30
此问题已在v7.0.1版本中修复。
- public static void main(String[] args) {
- String path = "L:\\test\\1001-0001-0001-库存现金明细余额表.xlsx";
- FileInputStream fis = null;
- FileOutputStream fos = null;
- try {
- fis = new FileInputStream(path);
- Workbook workbook = new Workbook();
- workbook.open(fis);
- fos = new FileOutputStream(path);
- workbook.save(fos);
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- try {
- if (fis != null) {
- fis.close();
- }
- } catch (Exception e) {
- }
- try {
- if (fos != null) {
- fos.close();
- }
- } catch (Exception e) {
- }
- }
- }
- 17:52:44.557 DEBUG [c.g.d.e.bH] -1 Get instance of MypdfGraphics(New): com.grapecity.documents.excel.bH@1dd0e7c4
- 17:52:45.612 DEBUG [c.g.d.e.p.c.J] -1 java.lang.IllegalArgumentException: Invalid char.-
- 17:52:45.613 DEBUG [c.g.d.e.p.c.J] -1 java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid char.-
- java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid char.-
- at com.grapecity.documents.excel.p.c.J.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.p.c.J.a(Unknown Source) [gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.Workbook.a(Unknown Source) [gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.Workbook.open(Unknown Source) [gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.Workbook.open(Unknown Source) [gcexcel-6.2.4.jar:?]
- at cn.com.bdo.dgCenter.service.GcExcelService.main(GcExcelService.java:2992) [classes/:?]
- Caused by: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid char.-
- at com.grapecity.documents.excel.p.c.ay.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.p.c.av.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.p.c.av.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.p.c.J.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- ... 6 more
- Caused by: java.lang.IllegalArgumentException: Invalid char.-
- at com.grapecity.documents.excel.p.c.ac.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.p.c.ac.n(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.p.c.ay.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.p.c.ay.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.p.c.av.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.p.c.av.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- at com.grapecity.documents.excel.p.c.J.a(Unknown Source) ~[gcexcel-6.2.4.jar:?]
- ... 6 more
- java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid char.-
- at com.grapecity.documents.excel.p.c.J.a(Unknown Source)
- at com.grapecity.documents.excel.Workbook.a(Unknown Source)
- at com.grapecity.documents.excel.Workbook.open(Unknown Source)
- at com.grapecity.documents.excel.Workbook.open(Unknown Source)
- at cn.com.bdo.dgCenter.service.GcExcelService.main(GcExcelService.java:2992)
- Caused by: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid char.-
- at com.grapecity.documents.excel.p.c.J.a(Unknown Source)
- ... 5 more
- Caused by: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid char.-
- at com.grapecity.documents.excel.p.c.ay.a(Unknown Source)
- at com.grapecity.documents.excel.p.c.av.a(Unknown Source)
- at com.grapecity.documents.excel.p.c.av.a(Unknown Source)
- at com.grapecity.documents.excel.p.c.J.a(Unknown Source)
- ... 6 more
- Caused by: java.lang.IllegalArgumentException: Invalid char.-
- at com.grapecity.documents.excel.p.c.ac.a(Unknown Source)
- at com.grapecity.documents.excel.p.c.ac.n(Unknown Source)
- at com.grapecity.documents.excel.p.c.ay.a(Unknown Source)
- ... 10 more
复制代码
打开保错
|
|