java.lang.reflect.UndeclaredThrowableException

GitHub | roblav96 | 9 months ago
  1. 0

    GitHub comment 51#132431048

    GitHub | 1 year ago | atom992
    java.lang.NullPointerException: Attempt to invoke interface method 'android.view.MenuItem android.view.MenuItem.setTitle(int)' on a null object reference
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      Attempt to invoke interface method 'android.view.MenuItem android.view.MenuItem.setTitle(int)' on a null object reference

      at com.google.zxing.client.android.encode.EncodeActivity.onCreateOptionsMenu()
    2. com.google.zxing
      EncodeActivity.onCreateOptionsMenu
      1. com.google.zxing.client.android.encode.EncodeActivity.onCreateOptionsMenu(EncodeActivity.java:88)
      1 frame
    3. Android Platform
      Activity.onCreatePanelMenu
      1. android.app.Activity.onCreatePanelMenu(Activity.java:2823)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. org.chromium.base
      ApplicationStatusManager$WindowCallbackProxy.invoke
      1. org.chromium.base.ApplicationStatusManager$WindowCallbackProxy.invoke(ApplicationStatusManager.java:62)
      1 frame
    6. Java RT
      Proxy.invoke
      1. java.lang.reflect.Proxy.invoke(Proxy.java:397)
      1 frame
    7. Unknown
      $Proxy1.onCreatePanelMenu
      1. $Proxy1.onCreatePanelMenu(Unknown Source)
      1 frame
    8. Android
      PhoneWindow$1.run
      1. com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:600)
      2. com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java:972)
      3. com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java:309)
      3 frames
    9. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:135)
      4. android.app.ActivityThread.main(ActivityThread.java:5294)
      4 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
      2 frames