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

NPE on StickyHeaderPositioner.getHeaderPositionToShow() #89

Open
zecweb opened this issue Apr 4, 2019 · 2 comments
Open

NPE on StickyHeaderPositioner.getHeaderPositionToShow() #89

zecweb opened this issue Apr 4, 2019 · 2 comments

Comments

@zecweb
Copy link

zecweb commented Apr 4, 2019

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
at com.brandongogetap.stickyheaders.StickyHeaderPositioner.getHeaderPositionToShow(StickyHeaderPositioner.java:192)
at com.brandongogetap.stickyheaders.StickyHeaderPositioner.updateHeaderState(StickyHeaderPositioner.java:60)
at com.brandongogetap.stickyheaders.StickyLayoutManager.scrollVerticallyBy(StickyLayoutManager.java:95)
at androidx.recyclerview.widget.RecyclerView.scrollStep(RecyclerView.java:1832)
at androidx.recyclerview.widget.RecyclerView.scrollByInternal(RecyclerView.java:1927)
at androidx.recyclerview.widget.RecyclerView.onTouchEvent(RecyclerView.java:3187)
at android.view.View.dispatchTouchEvent(View.java:10098)

@bgogetap
Copy link
Owner

bgogetap commented Apr 6, 2019

Thanks for reporting. Do you have steps to reproduce this?

@zecweb
Copy link
Author

zecweb commented Apr 8, 2019

I can't reproduce it. I'm seeing this from crashlytics.

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

2 participants