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
Open

DotsGradientDrawable Nullpointer exception #169

yungu-kang opened this issue Apr 14, 2023 · 0 comments

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?

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

No branches or pull requests

1 participant