java.lang.ExceptionInInitializerError

Stack Overflow | Steve | 9 months 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.
  1. 0

    Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSourceFactory

    Stack Overflow | 2 months ago | Vipin Handa
    javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSourceFactory]
  2. 0

    Using C3P0 on a Tomcat 8 server

    Stack Overflow | 3 weeks ago | EyfI
    javax.naming.NamingException: Class not found:
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ldap query with logical not

    apache.org | 1 year ago
    javax.naming.NamingException: OID '2.5.4.3' was not found within the OID registry] at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.getUserIndex( JdbmPartition.java:522) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.getNegationScan( DefaultOptimizer.java:219) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.annotate( DefaultOptimizer.java:148) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.getConjunctionScan( DefaultOptimizer.java:187) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.annotate( DefaultOptimizer.java:145) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.getConjunctionScan( DefaultOptimizer.java:187) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.annotate( DefaultOptimizer.java:145) at org.apache.directory.server.core.partition.impl.btree.DefaultSearchEngine.search( DefaultSearchEngine.java:135) at org.apache.directory.server.core.partition.impl.btree.BTreePartition.search( BTreePartition.java:367) at org.apache.directory.server.core.partition.DefaultPartitionNexus.search( DefaultPartitionNexus.java:863) at org.apache.directory.server.core.interceptor.InterceptorChain$1.search( InterceptorChain.java:139) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.interceptor.BaseInterceptor.search( BaseInterceptor.java:202) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.collective.CollectiveAttributeService.search( CollectiveAttributeService.java:318) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.operational.OperationalAttributeService.search( OperationalAttributeService.java:293) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.subtree.SubentryService.search( SubentryService.java:232) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.schema.SchemaService.search( SchemaService.java:447) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.exception.ExceptionService.search( ExceptionService.java:394) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.authz.DefaultAuthorizationService.search( DefaultAuthorizationService.java:495) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.authz.AuthorizationService.search( AuthorizationService.java:978) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.referral.ReferralService.search( ReferralService.java:985) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.authn.AuthenticationService.search( AuthenticationService.java:417) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.normalization.NormalizationService.search( NormalizationService.java:326) at org.apache.directory.server.core.interceptor.InterceptorChain.search( InterceptorChain.java:828) at org.apache.directory.server.core.partition.PartitionNexusProxy.search( PartitionNexusProxy.java:478) at org.apache.directory.server.core.partition.PartitionNexusProxy.search( PartitionNexusProxy.java:423) at org.apache.directory.server.core.jndi.ServerDirContext.search( ServerDirContext.java:609) at org.apache.directory.server.ldap.support.SearchHandler.messageReceived( SearchHandler.java:313) at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived( DemuxingIoHandler.java:144) at org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler.messageReceived( LdapProtocolProvider.java:403) at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived( AbstractIoFilterChain.java:703) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived( AbstractIoFilterChain.java:362) at org.apache.mina.common.support.AbstractIoFilterChain.access$1200( AbstractIoFilterChain.java:54) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived( AbstractIoFilterChain.java:800) at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush( SimpleProtocolDecoderOutput.java:60) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived( ProtocolCodecFilter.java:190) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived( AbstractIoFilterChain.java:362) at org.apache.mina.common.support.AbstractIoFilterChain.access$1200( AbstractIoFilterChain.java:54) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived( AbstractIoFilterChain.java:800) at org.apache.mina.filter.executor.ExecutorFilter.processEvent( ExecutorFilter.java:243) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run( ExecutorFilter.java:305) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask( ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:690)

    1 unregistered visitors

    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