java.lang.IllegalArgumentException: Invalid int: "OS"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.IllegalArgumentException: Invalid int: "OS"
at android.os.Parcel.readException(Parcel.java:1624)
at android.os.Parcel.readException(Parcel.java:1573)
at android.speech.tts.ITextToSpeechService$Stub$Proxy.getVoices(ITextToSpeechService.java:796)
at android.speech.tts.TextToSpeech.getVoice(TextToSpeech.java:1769)
at android.speech.tts.TextToSpeech.access$1100(TextToSpeech.java:59)
at android.speech.tts.TextToSpeech$12.run(TextToSpeech.java:1581)
at android.speech.tts.TextToSpeech$12.run(TextToSpeech.java:1531)
at android.speech.tts.TextToSpeech$Connection.runAction(TextToSpeech.java:2337)
at android.speech.tts.TextToSpeech.runAction(TextToSpeech.java:747)
at android.speech.tts.TextToSpeech.runAction(TextToSpeech.java:737)
at xxx.yyy.zzzzz.onInit(SourceFile:67)
at android.speech.tts.TextToSpeech.dispatchOnInit(TextToSpeech.java:820)
at android.speech.tts.TextToSpeech.access$1900(TextToSpeech.java:59)
at android.speech.tts.TextToSpeech$Connection$SetupConnectionAsyncTask.onPostExecute(TextToSpeech.java:2251)
at android.speech.tts.TextToSpeech$Connection$SetupConnectionAsyncTask.onPostExecute(TextToSpeech.java:2206)
at android.os.AsyncTask.finish(AsyncTask.java:651)
at android.os.AsyncTask.access$500(AsyncTask.java:180)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Users with the same issue

12 times, 6 months ago
51 times, 6 months ago
3 times, 10 months ago
2 times, 1 year ago
17 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.