Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Crash: Exception: java.lang.NullPointerException: Attempt to invoke virtual method '...ViewPager.getCurrentItem()' on a null object reference #708

Open
giomfo opened this issue Apr 14, 2021 · 0 comments

Comments

@giomfo
Copy link
Contributor

giomfo commented Apr 14, 2021

Tchap Build : 77
Tchap Version : 1.1.1_a (G-66163c55b-2020-12-18 14:08:48 +0100)
SDK Version : 0.9.37-dev (184214f2e-2020-11-18 01:42:26 +0100)
Phone : ASUS_T00N (WW_PadFone-13.6.5.35-20161006 6.0.1 REL)
Memory statuses
usedSize 29 MB
freeSize 11 MB
totalSize 41 MB
Thread: main, Activity:im.vector.activity.SplashActivity, Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int androidx.viewpager.widget.ViewPager.getCurrentItem()' on a null object reference
at im.vector.activity.VectorMediaViewerActivity.onPrepareOptionsMenu(VectorMediaViewerActivity.java:239)
at android.app.Activity.onPreparePanel(Activity.java:2942)
at androidx.fragment.app.FragmentActivity.onPrepareOptionsPanel(FragmentActivity.java:559)
at androidx.fragment.app.FragmentActivity.onPreparePanel(FragmentActivity.java:547)
at androidx.appcompat.view.WindowCallbackWrapper.onPreparePanel(WindowCallbackWrapper.java:99)
at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.onPreparePanel(AppCompatDelegateImpl.java:2576)
at androidx.appcompat.view.WindowCallbackWrapper.onPreparePanel(WindowCallbackWrapper.java:99)
at androidx.appcompat.app.ToolbarActionBar$ToolbarCallbackWrapper.onPreparePanel(ToolbarActionBar.java:522)
at androidx.appcompat.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:456)
at androidx.appcompat.app.ToolbarActionBar$1.run(ToolbarActionBar.java:56)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5477)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant