java.lang.ExceptionInInitializerError

GitHub | GoogleCodeExporter | 1 year ago
  1. 0

    GitHub comment 452#141560457

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.ExceptionInInitializerError
  2. 0
    If you need to get Albums.ALBUM_ID, you actually have to request for Albums._ID
  3. 0
    You should define the TestContext class in your classpath
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  6. 0
    You might've forgotten to initialize the cursor you're using.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot load getContextTypeLoader: verify that xbean.jar is on the classpath

      at org.apache.xmlbeans.XmlBeans.buildMethod()
    2. XmlBeans
      XmlBeans.<clinit>
      1. org.apache.xmlbeans.XmlBeans.buildMethod(XmlBeans.java:181)
      2. org.apache.xmlbeans.XmlBeans.buildNoArgMethod(XmlBeans.java:190)
      3. org.apache.xmlbeans.XmlBeans.buildGetContextTypeLoaderMethod(XmlBeans.java:200)
      4. org.apache.xmlbeans.XmlBeans.<clinit>(XmlBeans.java:126)
      4 frames
    3. Apache POI
      DocumentDocument$Factory.parse
      1. org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument$Factory.parse(Unknown Source)
      1 frame
    4. Apache POI
      XWPFDocument.onDocumentRead
      1. org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:134)
      1 frame
    5. POI
      POIXMLDocument.load
      1. org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:159)
      1 frame
    6. Apache POI
      XWPFDocument.<init>
      1. org.apache.poi.xwpf.usermodel.XWPFDocument.<init>(XWPFDocument.java:123)
      1 frame
    7. com.word.pdf
      wordtopdf.main
      1. com.word.pdf.wordtopdf.createPDF(wordtopdf.java:62)
      2. com.word.pdf.wordtopdf.main(wordtopdf.java:20)
      2 frames