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.

  • parsing json file as imageButton
    via Stack Overflow by Fahad Shah
    ,
  • Android class error - moving screen to screen
    via Stack Overflow by Sharan
    ,
    • java.lang.IllegalStateException: Could not find a method new(View) in the activity class com.android.tools.fd.runtime.BootstrapApplication for onClick handler on view class android.widget.ImageButton with id 'ivImage' at android.view.View$1.onClick(View.java:3815) at android.view.View.performClick(View.java:4443) at android.view.View$PerformClick.run(View.java:18442) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5021) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:827) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NoSuchMethodException: new [class android.view.View] at java.lang.Class.getConstructorOrMethod(Class.java:472) at java.lang.Class.getMethod(Class.java:857) at android.view.View$1.onClick(View.java:3808)

    Users with the same issue

    Akshay
    5 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    jk
    111 times, last one,
    90 more bugmates