-
Notifications
You must be signed in to change notification settings - Fork 76
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 #34
Comments
Thank you for opening this issue. This was fixed by pull request #32. I will be releasing an update that includes this fix soon, and will then update this issue. |
Fixed with commit 6602d1c and released in version 1.1.2. |
@randr0id I was just about to post this issue! Thanks for the fix and the awesome lib :) |
Hi @Zacharyyy! Thanks for the support 😁 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
We use fast scroller on a recycler view but some of user's session (We use Fabric) show this error:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.support.v7.widget.RecyclerView.computeVerticalScrollOffset()' on a null object reference
at com.l4digital.fastscroll.FastScroller.getScrollProportion(FastScroller.java:443)
at com.l4digital.fastscroll.FastScroller.access$000(FastScroller.java:51)
at com.l4digital.fastscroll.FastScroller$3.run(FastScroller.java:221)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:251)
at android.app.ActivityThread.main(ActivityThread.java:6589)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Library Version:
api 'com.l4digital.fastscroll:fastscroll:1.1.1'
The text was updated successfully, but these errors were encountered: