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

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 Coderanch by Christophe Grosjean, 1 year ago
Cannot create context for 'null' outside the scope of an application.
via Google Groups by Andrew Sinitsyn, 2 years ago
Cannot create context for 'null' outside the scope of an application.
via Oracle Community by 843793, 1 year ago
Cannot create context for 'null' outside the scope of an application.
via Oracle Community by 843793, 1 year ago
Cannot create context for 'null' outside the scope of an application.
via Oracle Community by 3004, 6 months ago
Cannot create context for 'null' outside the scope of an application.
via Oracle Community by 3004, 1 year ago
Cannot create context for 'null' outside the scope of an application.
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)

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.