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

DotsGradientDrawable Nullpointer exception #169

Open
yungu-kang opened this issue Apr 14, 2023 · 0 comments · May be fixed by #206
Open

DotsGradientDrawable Nullpointer exception #169

yungu-kang opened this issue Apr 14, 2023 · 0 comments · May be fixed by #206

Comments

@yungu-kang
Copy link

Hi.
I am using this library version 4.3.
using it well. thanks.

But there is one problem.
error logs are being captured in the app I released.


Fatal Exception: java.lang.NullPointerException
null cannot be cast to non-null type com.tbuonomo.viewpagerdotsindicator.DotsGradientDrawable
com.tbuonomo.viewpagerdotsindicator.DotsIndicator$buildOnPageChangedListener$1.onPageScrolled$viewpagerdotsindicator_release (DotsIndicator.kt:140)

I think.. the background is nullable property, the error occurred while forcibly converting it to a nonnull type.
Can you help me?

@tommybuonomo tommybuonomo linked a pull request Nov 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant