java.lang.NullPointerException: Attempt to read from field 'com.amaze.filemanager.ui.views.DisablableViewPager com.amaze.filemanager.ui.fragments.TabFragment.mViewPager' on a null object reference
at com.amaze.filemanager.ui.activities.MainActivity.setPagingEnabled(MainActivity.java:1334)
at com.amaze.filemanager.ui.fragments.MainFragment$3.onDestroyActionMode(MainFragment.java:718)
at androidx.appcompat.app.AppCompatDelegateImpl$ActionModeCallbackWrapperV9.onDestroyActionMode(AppCompatDelegateImpl.java:2457)
at androidx.appcompat.view.StandaloneActionMode.finish(StandaloneActionMode.java:111)
at androidx.appcompat.widget.ActionBarContextView$1.onClick(ActionBarContextView.java:173)
at android.view.View.performClick(View.java:7455)
at android.view.View.performClickInternal(View.java:7432)
at android.view.View.access$3600(View.java:810)
at android.view.View$PerformClick.run(View.java:28313)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7661)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Issue explanation (write below this line)
Crash while copying a file
Exception
Crash log
java.lang.NullPointerException: Attempt to read from field 'com.amaze.filemanager.ui.views.DisablableViewPager com.amaze.filemanager.ui.fragments.TabFragment.mViewPager' on a null object reference at com.amaze.filemanager.ui.activities.MainActivity.setPagingEnabled(MainActivity.java:1334) at com.amaze.filemanager.ui.fragments.MainFragment$3.onDestroyActionMode(MainFragment.java:718) at androidx.appcompat.app.AppCompatDelegateImpl$ActionModeCallbackWrapperV9.onDestroyActionMode(AppCompatDelegateImpl.java:2457) at androidx.appcompat.view.StandaloneActionMode.finish(StandaloneActionMode.java:111) at androidx.appcompat.widget.ActionBarContextView$1.onClick(ActionBarContextView.java:173) at android.view.View.performClick(View.java:7455) at android.view.View.performClickInternal(View.java:7432) at android.view.View.access$3600(View.java:810) at android.view.View$PerformClick.run(View.java:28313) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7661) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Raised by: vishal_nehra Reporter: VegitoSama