Skip to content

Conversation

@atakancosar
Copy link

I try to use this library but can't run demo app.

E/InputEventReceiver: Exception dispatching input event. E/MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback E/MessageQueue-JNI: java.lang.NullPointerException: Attempt to read from field 'int android.view.View.mViewFlags' on a null object reference at android.view.ViewGroup.canViewReceivePointerEvents(ViewGroup.java:2464) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1726) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at com.android.internal.policy.PhoneWindow$DecorView.superDispatchGenericMotionEvent(PhoneWindow.java:2411) at com.android.internal.policy.PhoneWindow.superDispatchGenericMotionEvent(PhoneWindow.java:1747) at android.app.Activity.dispatchGenericMotionEvent(Activity.java:2807) at com.android.internal.policy.PhoneWindow$DecorView.dispatchGenericMotionEvent(PhoneWindow.java:2378) at android.view.View.dispatchPointerEvent(View.java:9522) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4238) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4104) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3650) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3703) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3669) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3795) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3677) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3852) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3650) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3703) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3669) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3677) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3650) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5932) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5906) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5867) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6035) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:323) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5422) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) D/AndroidRuntime: Shutting down VM E/AndroidRuntime: FATAL EXCEPTION: main Process: it.moondroid.coverflowdemo, PID: 19376 java.lang.NullPointerException: Attempt to read from field 'int android.view.View.mViewFlags' on a null object reference at android.view.ViewGroup.canViewReceivePointerEvents(ViewGroup.java:2464) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1726) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:2067) at android.view.ViewGroup.dispatchHoverEvent(ViewGroup.java:1769) at android.view.View.dispatchGenericMotionEvent(View.java:9381) at com.android.internal.policy.PhoneWindow$DecorView.superDispatchGenericMotionEvent(PhoneWindow.java:2411) at com.android.internal.policy.PhoneWindow.superDispatchGenericMotionEvent(PhoneWindow.java:1747) at android.app.Activity.dispatchGenericMotionEvent(Activity.java:2807) at com.android.internal.policy.PhoneWindow$DecorView.dispatchGenericMotionEvent(PhoneWindow.java:2378) at android.view.View.dispatchPointerEvent(View.java:9522) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4238) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4104) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3650) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3703) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3669) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3795) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3677) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3852) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3650) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3703) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3669) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3677) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3650) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5932) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5906) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5867) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6035) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:323) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5422) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

How can i solve this problem?

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

Successfully merging this pull request may close these issues.

2 participants