java.lang.ExceptionInInitializerError

Oracle Community | 807574 | 9 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

    Gettting exception while deploying jBoss version 4.2.2 GA

    Oracle Community | 9 years ago | 807574
    java.lang.ExceptionInInitializerError
  2. 0

    Exception while creating layout using struts/tiles

    Stack Overflow | 3 years ago | Kalai
    java.lang.ExceptionInInitializerError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unable to configure EntityManagerFactory

    Stack Overflow | 7 years ago
    java.lang.ExceptionInInitializerError
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.ExceptionInInitializerError

    No message provided

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    5. java.lang.Class.newInstance0(Unknown Source)
    6. java.lang.Class.newInstance(Unknown Source)
    6 frames
  3. Hibernate Annotations
    SearchConfiguration.enableHibernateSearch
    1. org.hibernate.cfg.search.SearchConfiguration.enableHibernateSearch(SearchConfiguration.java:62)
    1 frame
  4. Hibernate
    AnnotationConfiguration.buildSessionFactory
    1. org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:856)
    1 frame
  5. Hibernate
    LocalSessionFactoryBean.afterPropertiesSet
    1. org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:777)
    2. org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:703)
    2 frames
  6. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
    3. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
    5. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
    5 frames
  7. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
    1 frame
  8. Spring
    AbstractRefreshableWebApplicationContext.refresh
    1. org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
    1 frame
  9. Spring Struts
    ContextLoaderPlugIn.init
    1. org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:352)
    2. org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:295)
    3. org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:224)
    3 frames
  10. struts
    ActionServlet.init
    1. org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
    2. org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
    2 frames
  11. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
    1 frame
  12. Glassfish Core
    StandardHost.addChild
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    7 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  14. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    1 frame
  15. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    2 frames
  16. Glassfish Core
    StandardContext.init
    1. org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
    1 frame
  17. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  18. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    1 frame
  19. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    2 frames
  20. JBoss Application Server Tomcat
    TomcatDeployer.performDeploy
    1. org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
    2. org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
    2 frames
  21. JBoss Application Server Server
    WebModule.startService
    1. org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
    2. org.jboss.web.WebModule.startModule(WebModule.java:83)
    3. org.jboss.web.WebModule.startService(WebModule.java:61)
    3 frames
  22. JBoss Application Server System
    ServiceMBeanSupport.jbossInternalLifecycle
    1. org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    2. org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    2 frames
  23. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    3. java.lang.reflect.Method.invoke(Unknown Source)
    3 frames
  24. org.jboss.mx
    ReflectedDispatcher.invoke
    1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    1 frame
  25. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    2. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    3. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    4. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    4 frames
  26. JBoss Application Server System
    ServiceController$ServiceProxy.invoke
    1. org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
    1 frame
  27. Unknown
    $Proxy0.start
    1. $Proxy0.start(Unknown Source)
    1 frame
  28. JBoss Application Server System
    ServiceController.start
    1. org.jboss.system.ServiceController.start(ServiceController.java:417)
    1 frame
  29. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    3. java.lang.reflect.Method.invoke(Unknown Source)
    3 frames
  30. org.jboss.mx
    ReflectedDispatcher.invoke
    1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    1 frame
  31. JBoss Application Server J2SE
    MBeanProxyExt.invoke
    1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    2. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    3. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    4. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    5. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    5 frames
  32. Unknown
    $Proxy44.start
    1. $Proxy44.start(Unknown Source)
    1 frame
  33. JBoss Application Server Server
    AbstractWebContainer.start
    1. org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
    1 frame
  34. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  35. org.jboss.mx
    ReflectedDispatcher.invoke
    1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    1 frame
  36. JBoss Application Server J2SE
    Invocation.dispatch
    1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    1 frame
  37. org.jboss.mx
    AbstractInterceptor.invoke
    1. org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    1 frame
  38. JBoss Application Server J2SE
    Invocation.invoke
    1. org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    1 frame
  39. org.jboss.mx
    DynamicInterceptor.invoke
    1. org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
    2. org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
    2 frames
  40. JBoss Application Server System
    InterceptorServiceMBeanSupport.invokeNext
    1. org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
    1 frame
  41. JBoss Web Services - Container JBoss-4.2.3
    DeployerInterceptor.start
    1. org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
    1 frame
  42. JBoss Application Server System JMX
    SubDeployerInterceptor.invoke
    1. org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
    2. org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
    2 frames
  43. JBoss Application Server J2SE
    MBeanProxyExt.invoke
    1. org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    2. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    3. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    4. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    4 frames
  44. Unknown
    $Proxy45.start
    1. $Proxy45.start(Unknown Source)
    1 frame
  45. JBoss Application Server System JMX
    MainDeployer.deploy
    1. org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
    2. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
    3. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    3 frames
  46. Java RT
    DelegatingMethodAccessorImpl.invoke
    1. sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2 frames