java.lang.NullPointerException: collection == null

google.com | 7 months 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.

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