javax.naming.NoInitialContextException: Cannot create context for 'null' outside the scope of an application.

Coderanch | Christophe Grosjean | 1 decade ago
  1. 0

    lookup on UserTransaction

    Coderanch | 1 decade ago | Christophe Grosjean
    javax.naming.NoInitialContextException: Cannot create context for 'null' outside the scope of an application.
  2. 0

    getting java:comp/env context in init()

    Google Groups | 2 decades ago | Andrew Sinitsyn
    javax.naming.NoInitialContextException: Cannot create context for 'null' outside the scope of an application.
  3. 0

    Cannot create context for 'null' outside the scope of an application. error

    Oracle Community | 1 decade ago | 843793
    javax.naming.NoInitialContextException: Cannot create context for 'null' outside the scope of an application.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot create context for 'null' outside the scope of an application. error

    Oracle Community | 1 decade ago | 843793
    javax.naming.NoInitialContextException: Cannot create context for 'null' outside the scope of an application.
  6. 0

    getting java:comp/env context in init()

    Oracle Community | 2 decades ago | 3004
    javax.naming.NoInitialContextException: Cannot create context for 'null' outside the scope of an application.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NoInitialContextException

      Cannot create context for 'null' outside the scope of an application.

      at weblogic.jndi.factories.java.javaURLContextFactory.getObjectInstance()
    2. weblogic.jndi.factories
      javaURLContextFactory.getObjectInstance
      1. weblogic.jndi.factories.java.javaURLContextFactory.getObjectInstance(javaURLContextFactory.java:50)
      1 frame
    3. Java RT
      InitialContext.lookup
      1. javax.naming.spi.NamingManager.getURLObject(NamingManager.java:577)
      2. javax.naming.spi.NamingManager.getURLContext(NamingManager.java:526)
      3. javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:273)
      4. javax.naming.InitialContext.lookup(InitialContext.java:345)
      4 frames
    4. com.puilaetco.mpi
      MPIMessageBroker.run
      1. com.puilaetco.mpi.fwk.server.business.synchro2.MPIMessageBroker.run(MPIMessageBroker.java:84)
      1 frame
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:479)
      1 frame