java.lang.NullPointerException

GitHub | Jannboy69 | 7 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 | 7 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.onResume
      1. com.snapchat.android.camera.CameraFragment.onVisible(SourceFile:1028)
      2. com.snapchat.android.util.fragment.SnapchatFragment.h(SourceFile:403)
      3. com.snapchat.android.util.fragment.SnapchatFragment.ak(SourceFile:576)
      4. com.snapchat.android.camera.CameraFragment.onResume(SourceFile:913)
      4 frames
    6. Android Support v4
      Fragment.performResume
      1. android.support.v4.app.Fragment.performResume(SourceFile:2020)
      1 frame
    7. Unknown
      vq.a
      1. ad.a(SourceFile:1107)
      2. ad.a(SourceFile:1252)
      3. Y.run(SourceFile:738)
      4. ad.i(SourceFile:1617)
      5. ad.b(SourceFile:570)
      6. agQ.a(SourceFile:114)
      7. vq.a(SourceFile:108)
      7 frames
    8. Android Support v4
      ViewPager.onMeasure
      1. android.support.v4.view.ViewPager.b(SourceFile:1177)
      2. android.support.v4.view.ViewPager.b(SourceFile:1025)
      3. android.support.v4.view.ViewPager.onMeasure(SourceFile:1545)
      3 frames
    9. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:17767)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      4. android.view.View.measure(View.java:17767)
      5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
      6. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      7. android.view.View.measure(View.java:17767)
      8. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
      9. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      10. android.view.View.measure(View.java:17767)
      11. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
      12. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1413)
      13. android.widget.LinearLayout.measureVertical(LinearLayout.java:696)
      14. android.widget.LinearLayout.onMeasure(LinearLayout.java:589)
      15. android.view.View.measure(View.java:17767)
      16. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
      17. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      17 frames
    10. Android
      PhoneWindow$DecorView.onMeasure
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2585)
      1 frame
    11. Android Platform
      ActivityThread.main
      1. android.view.View.measure(View.java:17767)
      2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2356)
      3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1458)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1659)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6806)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:613)
      9. android.view.Choreographer.doFrame(Choreographer.java:583)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
      11. android.os.Handler.handleCallback(Handler.java:733)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      13. android.os.Looper.loop(Looper.java:146)
      14. android.app.ActivityThread.main(ActivityThread.java:5756)
      14 frames
    12. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    13. 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
    14. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
      1 frame
    15. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame