java.lang.ExceptionInInitializerError

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.

  • Re:Classloader Problem
    via by jimmoore,
    • java.lang.ExceptionInInitializerError at org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorkbook$Factory.newInstance(Unknown Source) at org.apache.poi.xssf.usermodel.XSSFWorkbook.onWorkbookCreate(XSSFWorkbook.java:307) at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:167) at com.howtodoinjava.demo.poi.WriteExcelDemo.main(WriteExcelDemo.java:20) Caused by: java.lang.NullPointerException at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769) at org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorkbook.<init>(Unknown Source)
    No Bugmate found.