java.lang.IllegalStateException: Could not execute method for android:onClick

  1. 0

    startActivityForResult force closes my app

    Stack Overflow | 4 months ago | Mohammed Hasan
    java.lang.IllegalStateException: Could not execute method for android:onClick
  2. 0

    GitHub comment 333#250130302

    GitHub | 2 months ago | DanielMaly
    java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode
  3. 0

    java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode

    GitHub | 2 years ago | Whyser
    java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ZXing Barcode Reader Error

    Stack Overflow | 2 years ago | mahdi
    java.lang.IllegalStateException: Could not execute method of the activity
  6. 0

    Can only use lower 16 bits for requestCode (Google play services)

    Stack Overflow | 3 years ago | Tom Hart
    java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can only use lower 16 bits for requestCode

      at android.support.v4.app.BaseFragmentActivityEclair.checkForValidRequestCode()
    2. Android Support v4
      FragmentActivity.startActivityForResult
      1. android.support.v4.app.BaseFragmentActivityEclair.checkForValidRequestCode(BaseFragmentActivityEclair.java:64)
      2. android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:868)
      2 frames
    3. cafe.al_sheikhabuhamzehcafe
      ItemMenu.billiards
      1. cafe.al_sheikhabuhamzehcafe.ItemMenu.billiards(ItemMenu.java:149)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android v7
      AppCompatViewInflater$DeclaredOnClickListener.onClick
      1. android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:5198)
      2. android.view.View$PerformClick.run(View.java:21147)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:148)
      6. android.app.ActivityThread.main(ActivityThread.java:5417)
      6 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames