java.lang.ExceptionInInitializerError

xmlbeans-user | maxpid | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.apache.xmlbeans.impl.schema.ClassLoaderResourceLoader.getResourceAsStream()
  2. XmlBeans
    SchemaTypeSystemImpl.<init>
    1. org.apache.xmlbeans.impl.schema.ClassLoaderResourceLoader.getResourceAsStream(ClassLoaderResourceLoader.java:31)
    2. org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.getLoaderStream(SchemaTypeSystemImpl.java:1678)
    3. org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.<init>(SchemaTypeSystemImpl.java:1067)
    4. org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.initFromHeader(SchemaTypeSystemImpl.java:271)
    5. org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.<init>(SchemaTypeSystemImpl.java:151)
    5 frames
  3. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(UnknownSource)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  4. schema.system.s7192534EDE55BE5779EE392E1D46F8F5
    TypeSystemHolder.<clinit>
    1. schema.system.s7192534EDE55BE5779EE392E1D46F8F5.TypeSystemHolder.loadTypeSystem(UnknownSource)
    2. schema.system.s7192534EDE55BE5779EE392E1D46F8F5.TypeSystemHolder.<clinit>(UnknownSource)
    2 frames
  5. com.easypo
    XmlPurchaseOrderDocumentBean$Factory.newInstance
    1. com.easypo.XmlPurchaseOrderDocumentBean.<clinit>(Unknown Source)
    2. com.easypo.XmlPurchaseOrderDocumentBean$Factory.newInstance(UnknownSource)
    2 frames
  6. Unknown
    Xml1.main
    1. Xml1.main(Xml1.java:28)
    1 frame