> > Is upgrading to newer versions of POI the > solution? > It is always worth trying the latest release. POI-3.6 is two years old and many bugs have been fixed since then. Please try the latest 3.8-beta4.
Can you reproduce the problem in a isolated environment (outside of Oracle )? Create a simple Java main app that opens the problematic file. In case the problem is still there, please create a bug in Bugzilla and upload a sample file that results in POIXMLException. Yegor > I'd be glad to add any additional information if necessary, and I'm sorry if > I'm duplicating questions, I was unable to find a solution and I'm new to > this mailig list. > > Best regards, > Davor Delač > > > Exception in thread "Root Thread" org.apache.poi.POIXMLException: > java.lang.reflect.InvocationTargetException > at > org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:61) > at > org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:256) > at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:196) > at > org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:172) > at > org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:63) > at in2.apex_obi.ExcelReader.<init>(in2.apex_obi.ExcelReader:22) > at in2.apex_obi.Excel2DB.convert(Excel2DB:8) > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:511) > at > org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:59) > ... 6 more > Caused by: java.io.IOException: error: Unexpected character encountered (lex > state 10): '<' > at > org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:134) > at org.apache.poi.xssf.model.StylesTable.<init>(StylesTable.java:91) > ... 11 more > > -- > View this message in context: > http://apache-poi.1045710.n5.nabble.com/POIXMLException-reading-xlsx-tp4872709p4872709.html > Sent from the POI - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
