java.lang.NullPointerException: You have accessed the java:comp jndi context on a thread that has not initialized it

geronimo-user | VijayR | 8 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

    Geronimo Deployment Error

    geronimo-user | 8 years ago | VijayR
    java.lang.NullPointerException: You have accessed the java:comp jndi context on a thread that has not initialized it
  2. 0

    Re: Geronimo Deployment Error

    geronimo-user | 8 years ago | chi runhua
    java.lang.NullPointerException: You have accessed the java:comp jndi context on a thread that has not initialized it

    Root Cause Analysis

    1. java.lang.NullPointerException

      You have accessed the java:comp jndi context on a thread that has not initialized it

      at org.apache.geronimo.gjndi.JavaCompContextGBean.getContext()
    2. org.apache.geronimo
      JavaCompContextGBean.getContext
      1. org.apache.geronimo.gjndi.JavaCompContextGBean.getContext(JavaCompContextGBean.java:34)
      1 frame
    3. Apache XBean :: Naming
      AbstractContext.lookup
      1. org.apache.xbean.naming.context.ContextFlyweight.lookup(ContextFlyweight.java:44)
      2. org.apache.xbean.naming.context.ContextFederation.getFederatedBinding(ContextFederation.java:71)
      3. org.apache.xbean.naming.context.AbstractFederatedContext.getBinding(AbstractFederatedContext.java:63)
      4. org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:135)
      5. org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:617)
      6. org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:158)
      7. org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:603)
      7 frames
    4. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      1 frame
    5. oracle.jms
      AQjmsConnection.createSession
      1. oracle.jms.EmulatedXAHandler.<init>(EmulatedXAHandler.java:69)
      2. oracle.jms.AQjmsSession.<init>(AQjmsSession.java:378)
      3. oracle.jms.AQjmsConnection.createSession(AQjmsConnection.java:1132)
      3 frames
    6. ltc.vise.hl7
      OracleAQListener.run
      1. ltc.vise.hl7.gbean.OracleAQListener.run(OracleAQListener.java:129)
      1 frame