java.lang.NullPointerException

ejbca | wbormann | 1 decade 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

    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
  2. 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  5. 0

    NullPointerException in MIDlet with left soft key

    Stack Overflow | 6 years ago | berry120
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callItemListener(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=57 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 se.anatom.ejbca.util.UpgradeableDataHashMap.getVersion()
    2. se.anatom.ejbca
      CAAdminSessionBean.getCAInfo
      1. se.anatom.ejbca.util.UpgradeableDataHashMap.getVersion(UpgradeableDataHashMap.java:49)
      2. se.anatom.ejbca.util.UpgradeableDataHashMap.loadData(UpgradeableDataHashMap.java:69)
      3. se.anatom.ejbca.ca.caadmin.SoftCAToken.<init>(SoftCAToken.java:70)
      4. se.anatom.ejbca.ca.caadmin.CA.getCAToken(CA.java:190)
      5. se.anatom.ejbca.ca.caadmin.CAAdminSessionBean.getCAInfo(CAAdminSessionBean.java:556)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    4. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
      1 frame
    5. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
      1 frame
    6. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
      2. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:341)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
      5. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
      6. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      7. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      8. org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
      9. org.jboss.ejb.Container.invoke(Container.java:723)
      9 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    8. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
      3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
      4. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
      6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      6 frames
    9. JBoss Application Server Server
      JRMPInvoker.invoke
      1. org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
      1 frame
    10. Java RT
      Thread.run
      1. sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      4. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      5. sun.rmi.transport.Transport$1.run(Transport.java:148)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      8. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      9. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      10. java.lang.Thread.run(Thread.java:534)
      10 frames