https://bz.apache.org/bugzilla/show_bug.cgi?id=62429

            Bug ID: 62429
           Summary: Not Able to read 2016 MS-Excel file Containing TreeMap
                    using InputStreamReader JAVA
           Product: POI
           Version: 3.17-FINAL
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: XSSF
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

run:
org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException
 at org.apache.poi.POIXMLFactory.createDocumentPart(POIXMLFactory.java:63)
 at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:580)
 at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:592)
 at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:592)
 at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:165)
 at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:270)
 at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:184)
 at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:149)
 at TestingFileRead.main(TestingFileRead.java:24)
Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
 at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
 at
org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:56)
 at org.apache.poi.POIXMLFactory.createDocumentPart(POIXMLFactory.java:60)
 ... 8 more
Caused by: org.apache.xmlbeans.XmlException: error: The document is not a
chartSpace@http://schemas.openxmlformats.org/drawingml/2006/chart: document
element namespace mismatch expected
"http://schemas.openxmlformats.org/drawingml/2006/chart"; got
"http://schemas.microsoft.com/office/drawing/2014/chartex";
 at org.apache.xmlbeans.impl.store.Locale.verifyDocumentType(Locale.java:459)
 at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:364)
 at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1391)
 at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1370)
 at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:370)
 at org.apache.poi.POIXMLTypeLoader.parse(POIXMLTypeLoader.java:164)
 at
org.openxmlformats.schemas.drawingml.x2006.chart.ChartSpaceDocument$Factory.parse(Unknown
Source)
 at org.apache.poi.xssf.usermodel.XSSFChart.<init>(XSSFChart.java:108)
 ... 14 more
BUILD SUCCESSFUL (total time: 1 second)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to