java.lang.NullPointerException

Coderanch | George Berish | 2 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

    Local Client JMS Connection to Local Glassfish?

    Coderanch | 2 years ago | George Berish
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    How to run(export) EJB Client from runnable Eclipse jar file

    Stack Overflow | 2 years ago | RobertMichalovicCZ
    java.lang.Systemjavax.naming.NamingException: Lookup failed for 'java:global/Java.EJB.60.CMDServer/ServerBean!bean1.ServerBeanInter' in SerialContext[myEnv={org.omg.CORBA.ORBInitialPort=3700, java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory, org.omg.CORBA.ORBInitialHost=192.168.123.4, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={org.omg.CORBA.ORBInitialPort=3700, java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory, org.omg.CORBA.ORBInitialHost=192.168.123.4, 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.NullPointerException]]

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.enterprise.naming.impl.SerialContext.getORB()
    2. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.impl.SerialContext.getORB(SerialContext.java:347)
      2. com.sun.enterprise.naming.impl.SerialContext.getProviderCacheKey(SerialContext.java:354)
      3. com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:384)
      4. com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:329)
      5. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:477)
      6. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:438)
      6 frames
    3. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(Unknown Source)
      1 frame
    4. org.america3.testclasses
      CodeRanchExample.main
      1. org.america3.testclasses.CodeRanchExample.main(CodeRanchExample.java:24)
      1 frame