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)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web28

  • via Unknown by David Jencks,
  • via Unknown by VijayR,
  • via Stack Overflow by portoalet
    ,
  • 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)

    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

    We couldn't find other users who have seen this exception.