java.lang.NullPointerException

Stack Overflow | P. Savrov | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at cz.savrov.app.utils.RootActivity.onBackPressed()
  2. cz.savrov.app
    RootActivity.onBackPressed
    1. cz.savrov.app.utils.RootActivity.onBackPressed(RootActivity.java:111)
    1 frame
  3. Android Platform
    Activity.dispatchKeyEvent
    1. android.app.Activity.onKeyUp(Activity.java:2227)
    2. android.view.KeyEvent.dispatch(KeyEvent.java:2706)
    3. android.app.Activity.dispatchKeyEvent(Activity.java:2464)
    3 frames
  4. Android v7
    AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent
    1. android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:534)
    2. android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:50)
    3. android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:241)
    3 frames
  5. Android
    PhoneWindow$DecorView.dispatchKeyEvent
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2014)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4287)
    2. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4255)
    3. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3809)
    4. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3859)
    5. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3828)
    6. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3935)
    7. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3836)
    8. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3992)
    9. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3809)
    10. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3859)
    11. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3828)
    12. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3836)
    13. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3809)
    14. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3859)
    15. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3828)
    16. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3968)
    17. android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4137)
    18. android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2089)
    19. android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1766)
    20. android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1757)
    21. android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2066)
    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:150)
    26. android.app.ActivityThread.main(ActivityThread.java:5395)
    26 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:837)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:653)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame