java.lang.NullPointerException

Stack Overflow | bunny m | 4 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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

      No message provided

      at android.support.v7.widget.RecyclerView.computeHorizontalScrollOffset()
    2. Android v7
      RecyclerView.computeHorizontalScrollOffset
      1. android.support.v7.widget.RecyclerView.computeHorizontalScrollOffset(RecyclerView.java:1548)
      1 frame
    3. Android Platform
      View.canScrollHorizontally
      1. android.view.View.canScrollHorizontally(View.java:11879)
      1 frame
    4. Android Support v4
      ViewPager.onInterceptTouchEvent
      1. android.support.v4.view.ViewCompatICS.canScrollHorizontally(ViewCompatICS.java:31)
      2. android.support.v4.view.ViewCompat$ICSViewCompatImpl.canScrollHorizontally(ViewCompat.java:1249)
      3. android.support.v4.view.ViewCompat.canScrollHorizontally(ViewCompat.java:1684)
      4. android.support.v4.view.ViewPager.canScroll(ViewPager.java:2561)
      5. android.support.v4.view.ViewPager.canScroll(ViewPager.java:2552)
      6. android.support.v4.view.ViewPager.canScroll(ViewPager.java:2552)
      7. android.support.v4.view.ViewPager.onInterceptTouchEvent(ViewPager.java:1923)
      7 frames
    5. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1859)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      17 frames
    6. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2096)
      2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1542)
      2 frames
    7. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2476)
      1 frame
    8. Android v7
      WindowCallbackWrapper.dispatchTouchEvent
      1. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60)
      2. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60)
      2 frames
    9. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2044)
      1 frame
    10. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchPointerEvent(View.java:7897)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:3965)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3844)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3410)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3460)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3429)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3536)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3437)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3593)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3410)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3460)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3429)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3437)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3410)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5623)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5603)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5574)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5703)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
      20. android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(InputEventReceiver.java)
      21. android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)
      22. android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5676)
      23. android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:5722)
      24. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
      25. android.view.Choreographer.doCallbacks(Choreographer.java:574)
      26. android.view.Choreographer.doFrame(Choreographer.java:542)
      27. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
      28. android.os.Handler.handleCallback(Handler.java:733)
      29. android.os.Handler.dispatchMessage(Handler.java:95)
      30. android.os.Looper.loop(Looper.java:136)
      31. android.app.ActivityThread.main(ActivityThread.java:5285)
      31 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    12. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:935)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:751)
      2 frames
    13. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame