android.content.res.Resources$NotFoundException: String resource ID #0x42

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

Solutions on the web

android.content.res.Resources$NotFoundException: String resource ID #0x42
at android.content.res.Resources.getText(Resources.java:230)
at android.widget.Toast.makeText(Toast.java:265)
at com.soumya.possystem.All$1$1.onClick(All.java:142)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)

Users with the same issue

4 times, 2 months ago
6 times, 1 year ago
3 times, 1 year ago
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
55 more bugmates

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