laenger / ViewPagerBottomSheet

Use ViewPagers in Bottom Sheets!
Apache License 2.0
465 stars 86 forks source link

java.lang.NullPointerException: at biz.laenger.android.vpbs.ViewPagerBottomSheetBehavior.onInterceptTouchEvent #32

Open ahsan7766 opened 5 years ago

ahsan7766 commented 5 years ago

java.lang.NullPointerException: at biz.laenger.android.vpbs.ViewPagerBottomSheetBehavior.onInterceptTouchEvent (ViewPagerBottomSheetBehavior.java:301) at android.support.design.widget.CoordinatorLayout.performIntercept (CoordinatorLayout.java:473) at android.support.design.widget.CoordinatorLayout.onInterceptTouchEvent (CoordinatorLayout.java:510) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2696) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3159) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2844) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3159) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2844) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3159) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2844) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3159) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2844) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3159) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2844) at com.android.internal.policy.DecorView.superDispatchTouchEvent (DecorView.java:601) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1871) at android.app.Activity.dispatchTouchEvent (Activity.java:3384) at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent (WindowCallbackWrapper.java:69) at com.android.internal.policy.DecorView.dispatchTouchEvent (DecorView.java:563) at android.view.View.dispatchPointerEvent (View.java:12791) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent (ViewRootImpl.java:5675) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess (ViewRootImpl.java:5470) at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4963) at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:5016) at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4982) at android.view.ViewRootImpl$AsyncInputStage.forward (ViewRootImpl.java:5119) at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4990) at android.view.ViewRootImpl$AsyncInputStage.apply (ViewRootImpl.java:5176) at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4963) at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:5016) at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4982) at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4990) at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4963) at android.view.ViewRootImpl.deliverInputEvent (ViewRootImpl.java:7742) at android.view.ViewRootImpl.doProcessInputEvents (ViewRootImpl.java:7682) at android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:7643) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent (ViewRootImpl.java:7853) at android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:197) at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents (Native Method) at android.view.InputEventReceiver.consumeBatchedInputEvents (InputEventReceiver.java:186) at android.view.ViewRootImpl.doConsumeBatchedInput (ViewRootImpl.java:7816) at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run (ViewRootImpl.java:7880) at android.view.Choreographer$CallbackRecord.run (Choreographer.java:911) at android.view.Choreographer.doCallbacks (Choreographer.java:723) at android.view.Choreographer.doFrame (Choreographer.java:652) at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:897) at android.os.Handler.handleCallback (Handler.java:789) at android.os.Handler.dispatchMessage (Handler.java:98) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6942) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)

ahsan7766 commented 5 years ago

This crash is coming continuously in my app . Please help me regarding this issue. thanks

lealapps commented 5 years ago

Here too, any sugestions?

ahsan7766 commented 5 years ago

My App is suffering because of this crash ? Can anyone there to resolve this or I have to search substitute to this library which may be difficult?