java.lang.ExceptionInInitializerError

Stack Overflow | Mr.Nobody | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hibernate buildSessionFactory() Exception

    Stack Overflow | 5 years ago | Mr.Nobody
    java.lang.ExceptionInInitializerError

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at de.marcelstuht.nerven2.shared.model.Account.<init>()
    2. de.marcelstuht.nerven2
      Account.<init>
      1. de.marcelstuht.nerven2.shared.model.Account.<init>(Account.java:52)
      1 frame
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      4 frames
    4. Hibernate
      SingleTableEntityPersister.<init>
      1. org.hibernate.engine.internal.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:46)
      2. org.hibernate.engine.internal.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:49)
      3. org.hibernate.engine.internal.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:68)
      4. org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:75)
      5. org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:143)
      6. org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:498)
      7. org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:142)
      7 frames
    5. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      4 frames
    6. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:158)
      2. org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:180)
      3. org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPersister(PersisterFactoryImpl.java:131)
      4. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:345)
      5. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)
      6. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1775)
      6 frames
    7. de.marcelstuht.nerven2
      GreetingServiceImpl.loginServer
      1. de.marcelstuht.nerven2.server.HibernateUtil.buildSessionFactory(HibernateUtil.java:18)
      2. de.marcelstuht.nerven2.server.HibernateUtil.buildSessionFactory(HibernateUtil.java:23)
      3. de.marcelstuht.nerven2.server.HibernateUtil.<clinit>(HibernateUtil.java:8)
      4. de.marcelstuht.nerven2.shared.model.Account.<init>(Account.java:52)
      5. de.marcelstuht.nerven2.server.GreetingServiceImpl.loginServer(GreetingServiceImpl.java:39)
      5 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    9. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      RPC.invokeAndEncodeResponse
      1. com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
      1 frame