org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error with usin Apache POI
    via Stack Overflow by ygz23
    ,
  • wsdl2Java fails from Headless Ant
    via Stack Overflow by boyd4715
    ,
  • Kawa servlet
    via by tetsujin1979,
    • 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:179) at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:175) at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:63) at com.plm.XlsRead.readExcelFile(XlsRead.java:62) at com.plm.XlsRead.main(XlsRead.java:34) 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:501) at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:59) ... 6 more Caused by: java.lang.ExceptionInInitializerError at sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25) at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122) at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918) at java.lang.reflect.Field.getFieldAccessor(Field.java:899) at java.lang.reflect.Field.get(Field.java:358) at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:768) at org.openxmlformats.schemas.spreadsheetml.x2006.main.CalcChainDocument.<clinit>(Unknown Source) at org.openxmlformats.schemas.spreadsheetml.x2006.main.CalcChainDocument$Factory.parse(Unknown Source) at org.apache.poi.xssf.model.CalculationChain.readFrom(CalculationChain.java:50) at org.apache.poi.xssf.model.CalculationChain.<init>(CalculationChain.java:45)
    No Bugmate found.