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

java.lang.NullPointerException #33

Open
allenli0413 opened this issue Aug 16, 2019 · 1 comment
Open

java.lang.NullPointerException #33

allenli0413 opened this issue Aug 16, 2019 · 1 comment

Comments

@allenli0413
Copy link

allenli0413 commented Aug 16, 2019

Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
biz.laenger.android.vpbs.ViewPagerBottomSheetBehavior.invalidateScrollingChild(ViewPagerBottomSheetBehavior.java:433)
final View scrollingChild = findScrollingChild(mViewRef.get());
mViewRef is null;

@ahsan7766
Copy link

I am also getting similiar to this error . No Clue how to resolve this
.
java.lang.NullPointerException:
at android.support.v4.view.ViewCompat.isNestedScrollingEnabled (ViewCompat.java:2480)
at biz.laenger.android.vpbs.ViewPagerBottomSheetBehavior.findScrollingChild (ViewPagerBottomSheetBehavior.java:609)
at biz.laenger.android.vpbs.ViewPagerBottomSheetBehavior.findScrollingChild (ViewPagerBottomSheetBehavior.java:615)
at biz.laenger.android.vpbs.ViewPagerBottomSheetBehavior.findScrollingChild (ViewPagerBottomSheetBehavior.java:622)
at biz.laenger.android.vpbs.ViewPagerBottomSheetBehavior.findScrollingChild (ViewPagerBottomSheetBehavior.java:622)
at biz.laenger.android.vpbs.ViewPagerBottomSheetBehavior.onLayoutChild (ViewPagerBottomSheetBehavior.java:252)

sruthymolkb pushed a commit to sruthymolkb/ViewPagerBottomSheet that referenced this issue Aug 28, 2019
renezuidhof referenced this issue in xcc3641/ExViewPagerBottomSheet Jun 28, 2020
Fix `Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference`
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