java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • E/AndroidRuntime: Error
    via Stack Overflow by user6814201
    ,
  • Error when putting integer into TextView
    via Stack Overflow by Adir
    ,
  • Error using setText in runInUiThread
    via Stack Overflow by Gitton Florian
    ,
  • Recycler View crashing the app
    via Stack Overflow by koteswarao
    ,
    • java.lang.IllegalStateException: Could not execute method for android:onClick at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293) at android.view.View.performClick(View.java:5204) at android.view.View$PerformClick.run(View.java:21158) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5461) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) ... 9 more Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x1 at android.content.res.Resources.getText(Resources.java:336) at android.support.v7.widget.ResourcesWrapper.getText(ResourcesWrapper.java:52) at android.widget.TextView.setText(TextView.java:4422) at com.example.justjava.MainActivity.display(MainActivity.java:25) at com.example.justjava.MainActivity.submitOrder(MainActivity.java:19) ... 11 more

    Users with the same issue

    maxxi
    4 times, last one,
    ajinkya_w
    3 times, last one,
    spe
    1 times, last one,
    Diogo Jaym
    1 times, last one,
    Unknown visitor1 times, last one,
    51 more bugmates