java.lang.NullPointerException

GitHub | Jannboy69 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 84#241204612

    GitHub | 6 months ago | forumber
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageButton.setVisibility(int)' on a null object reference
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.marz.snapprefs.HookMethods$1$3.afterHookedMethod()
    2. com.marz.snapprefs
      HookMethods$1$3.afterHookedMethod
      1. com.marz.snapprefs.HookMethods$1$3.afterHookedMethod(HookMethods.java:499)
      1 frame
    3. XposedBridge
      XposedBridge.handleHookedMethod
      1. de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
      1 frame
    4. Unknown
      Em.a
      1. Em.h(Native Method)
      2. Em.a(SourceFile:676)
      2 frames
    5. com.snapchat.android
      CameraFragment.onSnapViewingEvent
      1. com.snapchat.android.camera.CameraFragment.onSnapViewingEvent(SourceFile:1625)
      1 frame
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    7. com.squareup.otto
      Bus.a
      1. com.squareup.otto.Bus.a(SourceFile:5089)
      2. com.squareup.otto.Bus.a(SourceFile:367)
      3. com.squareup.otto.Bus.a(SourceFile:336)
      3 frames
    8. Unknown
      abd.a
      1. RY.a(SourceFile:48)
      2. abd.a(SourceFile:573)
      3. abd.a(SourceFile:553)
      4. abd.a(SourceFile:524)
      4 frames
    9. com.snapchat.android
      StorySnapViewGroup.d
      1. com.snapchat.android.stories.ui.StorySnapViewGroup.d(SourceFile:9510)
      1 frame
    10. Unknown
      apP.d
      1. apP.d(SourceFile:505)
      1 frame
    11. com.snapchat.opera
      ClipCircleViewGroup.h
      1. com.snapchat.opera.view.animation.ClipCircleViewGroup.h(SourceFile:97)
      1 frame
    12. com.snapchat.android
      LandingPageActivity.onBackPressed
      1. com.snapchat.android.stories.ui.StorySnapViewGroup.a(SourceFile:446)
      2. com.snapchat.android.stories.ui.StorySnapView.h(SourceFile:368)
      3. com.snapchat.android.fragments.stories.StoriesFragment.f(SourceFile:13181)
      4. com.snapchat.android.LandingPageActivity.onBackPressed(SourceFile:50043)
      4 frames
    13. Android Platform
      Activity.onKeyUp
      1. android.app.Activity.onKeyUp(Activity.java:2396)
      1 frame
    14. com.snapchat.android
      LandingPageActivity.onKeyUp
      1. com.snapchat.android.LandingPageActivity.onKeyUp(SourceFile:2970)
      1 frame
    15. Android Platform
      Activity.dispatchKeyEvent
      1. android.view.KeyEvent.dispatch(KeyEvent.java:3264)
      2. android.app.Activity.dispatchKeyEvent(Activity.java:2630)
      2 frames
    16. Android
      PhoneWindow$DecorView.dispatchKeyEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2187)
      1 frame
    17. Android Platform
      ActivityThread.main
      1. android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4795)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4762)
      3. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
      4. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
      5. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
      6. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4457)
      7. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4354)
      8. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4514)
      9. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
      10. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
      11. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
      12. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4354)
      13. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4323)
      14. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4377)
      15. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4346)
      16. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4490)
      17. android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4653)
      18. android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2314)
      19. android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1960)
      20. android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1951)
      21. android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2291)
      22. android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
      23. android.os.MessageQueue.nativePollOnce(Native Method)
      24. android.os.MessageQueue.next(MessageQueue.java:138)
      25. android.os.Looper.loop(Looper.java:131)
      26. android.app.ActivityThread.main(ActivityThread.java:5756)
      26 frames
    18. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    19. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
      2 frames
    20. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
      1 frame
    21. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame