java.lang.ArithmeticException: divide by zero

GitHub | phantuanphong | 2 weeks ago
  1. 0

    Intermittent Crash (Null Pointer)

    GitHub | 8 months ago | alistairsykes
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getTop()' on a null object reference
  2. 0

    GitHub comment 51#222623411

    GitHub | 8 months ago | alistairbrightec
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getTop()' on a null object reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    multiTouch android | getting Action of each touch point

    Stack Overflow | 4 years ago | Baruch
    java.lang.NullPointerException
  5. 0

    pointerIndex out of Range error

    GitHub | 1 year ago | DatoAlxanishvili
    java.lang.IllegalArgumentException: pointerIndex out of range

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

      divide by zero

      at com.turingtechnologies.materialscrollbar.ScrollingUtilities.scrollToPositionAtProgress()
    2. com.turingtechnologies.materialscrollbar
      DragScrollBar$1.onTouch
      1. com.turingtechnologies.materialscrollbar.ScrollingUtilities.scrollToPositionAtProgress(ScrollingUtilities.java:116)
      2. com.turingtechnologies.materialscrollbar.MaterialScrollBar.onDown(MaterialScrollBar.java:686)
      3. com.turingtechnologies.materialscrollbar.DragScrollBar$1.onTouch(DragScrollBar.java:79)
      3 frames
    3. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.View.dispatchTouchEvent(View.java:9290)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2547)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2240)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
      16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
      18. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      19. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
      20. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      21. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
      22. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      23. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197)
      23 frames
    4. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2403)
      2. com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1737)
      2 frames
    5. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2765)
      1 frame
    6. Android v7
      WindowCallbackWrapper.dispatchTouchEvent
      1. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:67)
      2. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:67)
      2 frames
    7. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2364)
      1 frame
    8. Android Platform
      InputEventReceiver.dispatchInputEvent
      1. android.view.View.dispatchPointerEvent(View.java:9514)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4230)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4096)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3787)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3844)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5922)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5896)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5857)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6025)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
      19 frames