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


Solutions on the web2

Solution icon of apache
via geronimo-user by VijayR, 1 year ago
You have accessed the java:comp jndi context on a thread that has not initialized it

Solution icon of apache
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

Stack trace

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 org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:603)
	at javax.naming.InitialContext.lookup(InitialContext.java:392)
	at oracle.jms.EmulatedXAHandler.<init>(EmulatedXAHandler.java:69)
	at oracle.jms.AQjmsSession.<init>(AQjmsSession.java:378)
	at oracle.jms.AQjmsConnection.createSession(AQjmsConnection.java:1132)
	at ltc.vise.hl7.gbean.OracleAQListener.run(OracleAQListener.java:129)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.