java.lang.NullPointerException: collection == null


Solutions on the web109

Solution icon of web
via geekplace.eu by Unknown author, 1 year ago
collection == null

Solution icon of github
via GitHub by kerlerm
, 1 year ago
collection == null

Solution icon of stackoverflow
via Stack Overflow by Smok Col
, 1 year ago
collection == null

Solution icon of github
via GitHub by svenwiegand
, 1 year ago
null

Solution icon of github
via GitHub by ameshkov
, 1 year ago
null

Solution icon of github
via GitHub by d4rken
, 9 months ago
storage == null

Solution icon of stackoverflow
key == null

Solution icon of stackoverflow
via Stack Overflow by developer
, 1 year ago
key == null

Stack trace

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

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

10 times, 1 month ago
2 times, 3 months ago
2 times, 3 months ago
2 times, 4 months ago
611 times, 7 months ago
54 more bugmates