java.lang.ExceptionInInitializerError: java.lang.NullPointerException

Oracle Community | 3004 | 2 decades 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

    Error getting connection

    Oracle Community | 2 decades ago | 3004
    java.lang.ExceptionInInitializerError: java.lang.NullPointerException
  2. 0

    A java.lang.ExceptionInInitializerError is thrown when creating Category

    Apache Bugzilla | 2 decades ago | girenko
    java.lang.ExceptionInInitializerError: java.lang.NullPointerException
  3. 0

    Bug 2377 – A java.lang.ExceptionInInitializerError is thrown when creating Category

    apache.org | 10 months ago
    java.lang.ExceptionInInitializerError: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ExceptionInInitializerError

      java.lang.NullPointerException

      at java.lang.StringBuffer.<init>()
    2. Java RT
      StringBuffer.append
      1. java.lang.StringBuffer.<init>(StringBuffer.java:130)
      2. java.net.URLStreamHandler.toExternalForm(URLStreamHandler.java:366)
      3. java.net.URL.toExternalForm(URL.java:754)
      4. java.net.URL.toString(URL.java:741)
      5. java.lang.String.valueOf(String.java:1947)
      6. java.lang.StringBuffer.append(StringBuffer.java:370)
      6 frames
    3. Apache Log4j
      Category.<clinit>
      1. org.apache.log4j.Category.<clinit>(Category.java:145)
      1 frame
    4. com.bea.logging
      LogManager.configure
      1. com.bea.logging.LogManager.configureHierarchy(LogManager.java:122)
      2. com.bea.logging.LogManager.configure(LogManager.java:94)
      2 frames
    5. com.bea.adapter
      AbstractManagedConnectionFactory.createConnectionFactory
      1. com.bea.adapter.spi.AbstractManagedConnectionFactory.initializeLogResources(AbstractManagedConnectionFactory.java:280)
      2. com.bea.adapter.spi.AbstractManagedConnectionFactory.isValidState(AbstractManagedConnectionFactory.java:229)
      3. com.bea.adapter.spi.AbstractManagedConnectionFactory.assertValidState(AbstractManagedConnectionFactory.java:174)
      4. com.bea.adapter.spi.AbstractManagedConnectionFactory.createConnectionFactory(AbstractManagedConnectionFactory.java:1186)
      4 frames
    6. weblogic.connector.common
      ConnectionPoolManager.createConnectionFactory
      1. weblogic.connector.common.internal.ConnectionPoolManager.createConnectionFactory(ConnectionPoolManager.java:131)
      1 frame
    7. weblogic.connector.deploy
      JNDIHandler.getObjectInstance
      1. weblogic.connector.deploy.JNDIHandler.getObjectInstance(JNDIHandler.java:28)
      1 frame
    8. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      1 frame
    9. weblogic.jndi.internal
      RootNamingNode_WLSkel.invoke
      1. weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:110)
      2. weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:707)
      3. weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:679)
      4. weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:176)
      5. weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:181)
      6. weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
      6 frames
    10. weblogic.rmi.internal
      BasicServerRef.invoke
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:296)
      1 frame
    11. weblogic.rmi.cluster
      ReplicaAwareServerRef.invoke
      1. weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
      1 frame
    12. weblogic.rmi.internal
      ServerRequest.sendReceive
      1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:265)
      2. weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:166)
      3. weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
      4. weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
      4 frames
    13. weblogic.rmi.cluster
      ReplicaAwareRemoteRef.invoke
      1. weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:255)
      2. weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:222)
      2 frames
    14. weblogic.rmi.internal
      ProxyStub.invoke
      1. weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
      1 frame
    15. Unknown
      $Proxy53.lookup
      1. $Proxy53.lookup(Unknown Source)
      1 frame
    16. weblogic.jndi.internal
      WLContextImpl.lookup
      1. weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
      1 frame
    17. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:350)
      1 frame
    18. weblogic.jndi.internal
      WLContextImpl.lookup
      1. weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:99)
      2. weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:707)
      3. weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:679)
      4. weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:176)
      5. weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:181)
      6. weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:181)
      7. weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:181)
      8. weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
      8 frames
    19. weblogic.jndi.factories
      ReadOnlyContextWrapper.lookup
      1. weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:36)
      1 frame
    20. weblogic.jndi.internal
      AbstractURLContext.lookup
      1. weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:124)
      1 frame
    21. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:350)
      1 frame
    22. com.test.resource
      PBSAdapterSBean_2debel_EOImpl_WLSkel.invoke
      1. com.test.resource.pbs.PBSAdapterSBean.getConnection(PBSAdapterSBean.java:36)
      2. com.test.resource.pbs.PBSAdapterSBean.test(PBSAdapterSBean.java:23)
      3. com.test.resource.pbs.PBSAdapterSBean_2debel_EOImpl.test(PBSAdapterSBean_2debel_EOImpl.java:36)
      4. com.test.resource.pbs.PBSAdapterSBean_2debel_EOImpl_WLSkel.invoke(UnknownSource)
      4 frames
    23. weblogic.rmi.internal
      BasicServerRef.invoke
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:296)
      1 frame
    24. weblogic.rmi.cluster
      ReplicaAwareServerRef.invoke
      1. weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
      1 frame
    25. weblogic.rmi.internal
      ServerRequest.sendReceive
      1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:265)
      2. weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:166)
      3. weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
      4. weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
      4 frames
    26. weblogic.rmi.cluster
      ReplicaAwareRemoteRef.invoke
      1. weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:255)
      2. weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:222)
      2 frames
    27. weblogic.rmi.internal
      ProxyStub.invoke
      1. weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
      1 frame
    28. Unknown
      $Proxy79.test
      1. $Proxy79.test(Unknown Source)
      1 frame
    29. jsp_servlet
      __test._jspService
      1. jsp_servlet.__test._jspService(__test.java:98)
      1 frame
    30. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
      1 frame
    31. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
      3. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
      4. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
      4 frames
    32. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
      2 frames