Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException #300

Open
badoyg opened this issue Sep 19, 2020 · 0 comments
Open

NullPointerException #300

badoyg opened this issue Sep 19, 2020 · 0 comments
Labels

Comments

@badoyg
Copy link

badoyg commented Sep 19, 2020

On many devices
I'm using the latest version of the library but I get this fatal error:

Fatal Exception: java.lang.NullPointerException: Attempt to read from null array
at com.heinrichreimersoftware.materialintro.view.InkPageIndicator.setSelectedPage(InkPageIndicator.java:67)
at com.heinrichreimersoftware.materialintro.view.InkPageIndicator.onPageSelected(InkPageIndicator.java:4)
at com.heinrichreimersoftware.materialintro.view.FadeableViewPager$OnPageChangeListenerWrapper.onPageSelected(FadeableViewPager.java:31)
at androidx.viewpager.widget.ViewPager.dispatchOnPageSelected(ViewPager.java:28)
at androidx.viewpager.widget.ViewPager.setCurrentItemInternal(ViewPager.java:96)
at androidx.viewpager.widget.ViewPager.setCurrentItemInternal(ViewPager.java:3)
at com.heinrichreimersoftware.materialintro.view.SwipeBlockableViewPager.onRestoreInstanceState(SwipeBlockableViewPager.java:29)
at android.view.View.dispatchRestoreInstanceState(View.java:19876)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3860)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3866)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3866)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3866)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3866)
at android.view.View.restoreHierarchyState(View.java:19854)
at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2188)
at android.app.Activity.onRestoreInstanceState(Activity.java:1567)
at android.app.Activity.performRestoreInstanceState(Activity.java:1522)
at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1375)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3495)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ClientTransactionHandler.executeTransaction(ClientTransactionHandler.java:57)
at android.app.ActivityThread.handleRelaunchActivityLocally(ActivityThread.java:5451)
at android.app.ActivityThread.access$3500(ActivityThread.java:233)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2174)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)

@badoyg badoyg added the bug label Sep 19, 2020
@heinrichreimer heinrichreimer changed the title FATAL BUG, PLEASE RELEASE UPDATE IMMEDIATELY NullPointerException Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant