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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via geronimo-user by chi runhua, 1 year ago
You have accessed the java:comp jndi context on a thread that has not initialized it
via geronimo-user by VijayR, 1 year ago
You have accessed the java:comp jndi context on a thread that has not initialized it
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(JavaCompContextGBean.java:34)
at org.apache.xbean.naming.context.ContextFlyweight.lookup(ContextFlyweight.java:44)
at org.apache.xbean.naming.context.ContextFederation.getFederatedBinding(ContextFederation.java:71)
at org.apache.xbean.naming.context.AbstractFederatedContext.getBinding(AbstractFederatedContext.java:63)
at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:135)
at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:617)
at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:158)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at oracle.jms.EmulatedXAHandler.(EmulatedXAHandler.java:69)
at oracle.jms.AQjmsSession.(AQjmsSession.java:378)
at oracle.jms.AQjmsConnection.createSession(AQjmsConnection.java:1132)
at ltc.vise.hl7.gbean.OracleAQListener.run(OracleAQListener.java:129)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.