java.lang.NullPointerException: Attempt to invoke virtual method 'void com.swipestox.presenter.view.activity.BaseActivity.setSkipNextOnGlobalEvent(boolean)' on a null object reference

Stack Overflow | S.Adnan | 5 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

    NullPointerException when trying to make ViewPager with two fragments

    Stack Overflow | 5 months ago | S.Adnan
    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.swipestox.presenter.view.activity.BaseActivity.setSkipNextOnGlobalEvent(boolean)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void com.swipestox.presenter.view.activity.BaseActivity.setSkipNextOnGlobalEvent(boolean)' on a null object reference

      at com.swipestox.presenter.view.fragment.BaseFragment.onKeyboardHiddenSkipOneDraw()
    2. com.swipestox.presenter
      BaseActivity.onGlobalLayout
      1. com.swipestox.presenter.view.fragment.BaseFragment.onKeyboardHiddenSkipOneDraw(BaseFragment.java:183)
      2. com.swipestox.presenter.view.fragment.ForgotPasswordFragment.onKeyboardHiddenSkipOneDraw(ForgotPasswordFragment.java:89)
      3. com.swipestox.presenter.view.fragment.ForgotPasswordTabFragment.onKeyboardHiddenSkipOneDraw(ForgotPasswordTabFragment.java:130)
      4. com.swipestox.presenter.view.activity.BaseActivity.onGlobalLayout(BaseActivity.java:94)
      4 frames