java.lang.NullPointerException: collection == null

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

      collection == null

      at android.os.Parcel.readException()
    2. Android Platform
      TextToSpeech.getDefaultVoice
      1. android.os.Parcel.readException(Parcel.java:1555)
      2. android.os.Parcel.readException(Parcel.java:1502)
      3. android.speech.tts.ITextToSpeechService$Stub$Proxy.getVoices(ITextToSpeechService.java:700)
      4. android.speech.tts.TextToSpeech$15.run(TextToSpeech.java:1712)
      5. android.speech.tts.TextToSpeech$15.run(TextToSpeech.java:1677)
      6. android.speech.tts.TextToSpeech$Connection.runAction(TextToSpeech.java:2232)
      7. android.speech.tts.TextToSpeech.runAction(TextToSpeech.java:742)
      8. android.speech.tts.TextToSpeech.runAction(TextToSpeech.java:732)
      9. android.speech.tts.TextToSpeech.getDefaultVoice(TextToSpeech.java:1677)
      9 frames
    3. com.foo.android
      VoiceConversation.speak
      1. com.foo.android.common.tts.TTSManager.setNetworkSynthesisAPI21(Unknown Source)
      2. com.foo.android.common.tts.TTSManager._speakUtterance(Unknown Source)
      3. com.foo.android.common.tts.TTSManager.continueWithNextUtterance(Unknown Source)
      4. com.foo.android.common.tts.TTSManager._queueUtterance(Unknown Source)
      5. com.foo.android.common.tts.TTSManager._speak(Unknown Source)
      6. com.foo.android.common.tts.TTSManager.speak(Unknown Source)
      7. com.foo.android.common.ui.conversation.VoiceConversation.speakWithSilent(Unknown Source)
      8. com.foo.android.common.ui.conversation.VoiceConversation.speak(Unknown Source)
      8 frames
    4. com.foo.assist
      PendingReminderConversation.speak
      1. com.foo.assist.android.ui.activities.voice.BluetoothSupportedVoiceConversation.speak(BluetoothSupportedVoiceConversation.java:128)
      2. com.foo.assist.android.ui.activities.voice.PendingReminderConversation.speak(PendingReminderConversation.java:264)
      2 frames
    5. com.foo.android
      SystemQuestion$1.run
      1. com.foo.android.common.ui.conversation.SystemQuestion.tell(Unknown Source)
      2. com.foo.android.common.ui.conversation.SystemQuestion$1.run(Unknown Source)
      2 frames
    6. com.foo.java
      Threads$2.run
      1. com.foo.java.common.util.Threads$2.run(Unknown Source)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames