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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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