java.lang.ExceptionInInitializerError

Stack Overflow | Steve | 5 months ago
  1. 0

    [CONF-11881] Officially Support Apache Tomcat 6.x - Atlassian JIRA

    atlassian.com | 11 months ago
    javax.naming.NamingException: Cannot create resource instance
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    javax.naming.NamingException: Cannot create resource instance - Spring Forum

    spring.io | 8 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource': Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create resource instance

    1 unregistered visitors
    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. javax.naming.NamingException

      Cannot create resource instance

      at org.apache.naming.factory.FactoryBase.getObjectInstance()
    2. Web Container Naming Utilities
      FactoryBase.getObjectInstance
      1. org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:96)
      1 frame
    3. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
      1 frame
    4. Web Container Naming Utilities
      SelectorContext.lookup
      1. org.apache.naming.NamingContext.lookup(NamingContext.java:841)
      2. org.apache.naming.NamingContext.lookup(NamingContext.java:152)
      3. org.apache.naming.NamingContext.lookup(NamingContext.java:829)
      4. org.apache.naming.NamingContext.lookup(NamingContext.java:152)
      5. org.apache.naming.NamingContext.lookup(NamingContext.java:829)
      6. org.apache.naming.NamingContext.lookup(NamingContext.java:166)
      7. org.apache.naming.SelectorContext.lookup(SelectorContext.java:157)
      7 frames
    5. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:417)
      1 frame
    6. org.omnifaces.util
      JNDI.lookup
      1. org.omnifaces.util.JNDI.lookup(JNDI.java:90)
      1 frame
    7. org.omnifaces.config
      BeanManager.<clinit>
      1. org.omnifaces.config.BeanManager.<init>(BeanManager.java:93)
      2. org.omnifaces.config.BeanManager.<clinit>(BeanManager.java:47)
      2 frames
    8. org.omnifaces.util
      Beans.getReference
      1. org.omnifaces.util.Beans.getManager(Beans.java:88)
      2. org.omnifaces.util.Beans.getReference(Beans.java:113)
      2 frames
    9. org.omnifaces.application
      OmniApplicationFactory.getApplication
      1. org.omnifaces.application.OmniApplication.<init>(OmniApplication.java:70)
      2. org.omnifaces.application.OmniApplicationFactory.createOmniApplication(OmniApplicationFactory.java:89)
      3. org.omnifaces.application.OmniApplicationFactory.getApplication(OmniApplicationFactory.java:54)
      3 frames
    10. JSF
      ClientWindowFactoryImpl.<init>
      1. com.sun.faces.application.InjectionApplicationFactory.getApplication(InjectionApplicationFactory.java:93)
      2. com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:142)
      3. com.sun.faces.lifecycle.ClientWindowFactoryImpl.<init>(ClientWindowFactoryImpl.java:62)
      3 frames
    11. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      5. java.lang.Class.newInstance(Class.java:442)
      5 frames
    12. JavaEE 7
      FactoryFinder.getFactory
      1. javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl(FactoryFinderInstance.java:405)
      2. javax.faces.FactoryFinderInstance.getImplementationInstance(FactoryFinderInstance.java:251)
      3. javax.faces.FactoryFinderInstance.getFactory(FactoryFinderInstance.java:543)
      4. javax.faces.FactoryFinder.getFactory(FactoryFinder.java:283)
      4 frames
    13. JSF
      ConfigureListener.contextInitialized
      1. com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:328)
      2. com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:236)
      3. com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:439)
      4. com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
      4 frames
    14. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4842)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)
      5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)
      5 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames