javax.naming.CommunicationException: Communication exception for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is java.lang.IllegalAccessException: value cannot be null]

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 Oracle Community by senderj, 1 year ago
Communication exception for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is java.lang.IllegalAccessException: value cannot be null]
via Oracle Community by bastian_knight, 1 year ago
Communication exception for SerialContext[myEnv={org.omg.CORBA.ORBInitialPort=34513, java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming
via wpthm.com by Unknown author, 2 years ago
Communication exception for SerialContext[m yEnv={org.omg.CORBA.ORBInitialPort=3700, java.naming.factory.initial=com.sun.ent erprise.naming.impl.SerialInitContextFactory, org.omg.CORBA.ORBInitialHost=local host, java.naming.factory.state
via Oracle Community by 932533, 1 year ago
Communication exception for SerialContext[m yEnv={org.omg.CORBA.ORBInitialPort=3700, java.naming.factory.initial=com.sun.ent erprise.naming.impl.SerialInitContextFactory, org.omg.CORBA.ORBInitialHost=local host, java.naming.factory.state
via hivmr.com by Unknown author, 1 year ago
Communication exception for SerialContext[m yEnv={org.omg.CORBA.ORBInitialPort=3700, java.naming.factory.initial=com.sun.ent erprise.naming.impl.SerialInitContextFactory, org.omg.CORBA.ORBInitialHost=local host, java.naming.factory.state
via GitHub by andreas513
, 1 year ago
:30000:30:999999, org.omg.CORBA.ORBInitialHost=prodweb4, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Failed to look up ConnectorDescriptor from JNDI]
javax.naming.CommunicationException: Communication exception for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is java.lang.IllegalAccessException: value cannot be null]
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:542)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at ejb.testUtil.init(testUtil.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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.