java.lang.NullPointerException

baculsoft.com | 2 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    classpath for remote client - tomcat --> glassfish-3.1

    Oracle Community | 6 years ago | dniklas
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.enterprise.naming.impl.SerialContext.<init>()
    2. Glassfish Naming
      SerialInitContextFactory.getInitialContext
      1. com.sun.enterprise.naming.impl.SerialContext.<init>(SerialContext.java:275)
      2. com.sun.enterprise.naming.impl.SerialContext.<init>(SerialContext.java:334)
      3. com.sun.enterprise.naming.impl.SerialInitContextFactory.createInitialContext(SerialInitContextFactory.java:358)
      4. com.sun.enterprise.naming.impl.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:353)
      5. com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:69)
      5 frames
    3. Java RT
      InitialContext.<init>
      1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
      2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
      3. javax.naming.InitialContext.init(InitialContext.java:242)
      4. javax.naming.InitialContext.<init>(InitialContext.java:216)
      4 frames
    4. ejb.desktopclient
      FetchEJBMessage.main
      1. ejb.desktopclient.FetchEJBMessage.main(FetchEJBMessage.java:26)
      1 frame