org.apache.poi.POIXMLException

java.lang.reflect.InvocationTargetException I am not able to figure out the problem. 07-08 14:01:52.372 8005-7378/com.myapp W/System.err: org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException

Solutions on the web88

  • java.lang.reflect.InvocationTargetException I am not able to figure out the problem. 07-08 14:01:52.372 8005-7378/com.myapp W/System.err: org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException
  • via Stack Overflow by Adbsl
    , 1 year ago
    java.lang.reflect.InvocationTargetException Here is the full stack trace: org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException
  • java.lang.reflect.InvocationTargetException
  • Stack trace

    • org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException I am not able to figure out the problem. 07-08 14:01:52.372 8005-7378/com.myapp W/System.err: org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:62) at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:426) at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:431) at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:155) at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:221) at com.myapp.activities_dealer.UploadExcelCustomerActivity$MyExcelTask.run(UploadExcelCustomerActivity.java:350) at java.lang.Thread.run(Thread.java:841) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:60) ... 6 more Caused by: java.lang.ClassCastException: org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast to org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTDrawing at org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTDrawing$Factory.parse(Unknown Source) at org.apache.poi.xssf.usermodel.XSSFDrawing.<init>(XSSFDrawing.java:84) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.