javax.naming.CommunicationException: Communication exception for SerialContext targetHost=localhost,targetPort=10037,orb'sInitialHost=localhost,orb'sInitialPort=3700 [Root exception is java.lang.NullPointerException]

Oracle Community | chrjohn-JavaNet | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GF3.0.1: NPE when creating InitialContext from multiple threads

    Oracle Community | 7 years ago | chrjohn-JavaNet
    javax.naming.CommunicationException: Communication exception for SerialContext targetHost=localhost,targetPort=10037,orb'sInitialHost=localhost,orb'sInitialPort=3700 [Root exception is java.lang.NullPointerException]

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.enterprise.connectors.ConnectorRuntime.checkAccessibility()
    2. Connectors Runtime
      AdministeredObjectFactory.getObjectInstance
      1. com.sun.enterprise.connectors.ConnectorRuntime.checkAccessibility(ConnectorRuntime.java:1072)
      2. com.sun.enterprise.resource.naming.AdministeredObjectFactory.getObjectInstance(AdministeredObjectFactory.java:105)
      2 frames
    3. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      1 frame
    4. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.impl.SerialContext.getObjectInstance(SerialContext.java:472)
      2. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:437)
      2 frames