java.lang.NullPointerException

professional-webworkx.de | 9 months 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

    Exception – Das JAVA-Hilfe Blog und mehr

    professional-webworkx.de | 9 months ago
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    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.ejb.containers.EJBLocalObjectInvocationHandlerDelegate$SerializableLocalObjectDelegate.createObject()
    2. Embedded GlassFish Web
      JavaEEObjectStreamHandlerForEJBs.resolveObject
      1. com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate$SerializableLocalObjectDelegate.createObject(EJBLocalObjectInvocationHandlerDelegate.java:154)
      2. com.sun.ejb.containers.JavaEEObjectStreamHandlerForEJBs.resolveObject(JavaEEObjectStreamHandlerForEJBs.java:76)
      2 frames
    3. Container Common
      JavaEEObjectInputStream.resolveObject
      1. com.sun.enterprise.container.common.spi.util.JavaEEObjectInputStream.resolveObject(JavaEEObjectInputStream.java:72)
      1 frame
    4. Java RT
      ObjectInputStream.readObject
      1. java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1395)
      2. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
      3. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1988)
      4. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1912)
      5. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1795)
      6. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
      7. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1988)
      8. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1912)
      9. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1795)
      10. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
      11. java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
      11 frames
    5. Glassfish Core
      StandardSession.readObject
      1. org.apache.catalina.session.StandardSession.readRemainingObject(StandardSession.java:1818)
      2. org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1750)
      2 frames
    6. Java RT
      ObjectInputStream.readObject
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      5. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:988)
      6. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1890)
      7. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1795)
      8. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
      9. java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
      9 frames
    7. Glassfish Core
      StandardManager.readSessions
      1. org.apache.catalina.session.StandardSession.deserialize(StandardSession.java:1063)
      2. org.apache.catalina.session.StandardManager.readSessions(StandardManager.java:511)
      2 frames
    8. Glassfish
      WebApplication.start
      1. com.sun.enterprise.web.WebModule.loadSessions(WebModule.java:1557)
      2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1949)
      3. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1619)
      4. com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
      4 frames
    9. Private APIs of Glassfish
      ApplicationInfo.start
      1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
      2. org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
      3. org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
      3 frames
    10. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
      2 frames
    11. Embedded GlassFish Web
      DeployCommand.execute
      1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
      1 frame
    12. Kernel Classes
      AdminAdapter.service
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
      7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
      8. com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
      8 frames
    13. Grizzly WS
      GrizzlyAdapter.service
      1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
      1 frame
    14. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
      2 frames
    15. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:69)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
      13 frames
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:679)
      1 frame