javax.naming.NoInitialContextException

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

Solutions on the web1239

  • via Coderanch by Christophe Grosjean, 11 months ago
    Cannot create context for 'null' outside the scope of an application.
  • Cannot create context for 'null' outside the scope of an application.
  • via Google Groups by Andrew Sinitsyn, 1 year ago
    Cannot create context for 'null' outside the scope of an application.
  • Stack trace

    • javax.naming.NoInitialContextException: Cannot create context for 'null' outside the scope of an application. at weblogic.jndi.factories.java.javaURLContextFactory.getObjectInstance(javaURLContextFactory.java:50) at javax.naming.spi.NamingManager.getURLObject(NamingManager.java:577) at javax.naming.spi.NamingManager.getURLContext(NamingManager.java:526) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:273) at javax.naming.InitialContext.lookup(InitialContext.java:345) at com.puilaetco.mpi.fwk.server.business.synchro2.MPIMessageBroker.run(MPIMessageBroker.java:84) at java.lang.Thread.run(Thread.java:479)

    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.