{"action":"created","issue":{"url":"https://api.github.com/repos/xyxyLiu/SwipeRefreshLayout/issues/10","repository_url":"https://api.github.com/repos/xyxyLiu/SwipeRefreshLayout","labels_url":"https://api.github.com/repos/xyxyLiu/SwipeRefreshLayout/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/xyxyLiu/SwipeRefreshLayout/issues/10/comments","events_url":"https://api.github.com/repos/xyxyLiu/SwipeRefreshLayout/issues/10/events","html_url":"https://github.com/xyxyLiu/SwipeRefreshLayout/issues/10","id":173272821,"number":10,"title":"NullPointerException in CustomSwipeRefreshLayout.onInterceptTouchEvent()","user":{"login":"kassim","id":11020264,"avatar_url":"https://avatars.githubusercontent.com/u/11020264?v=3","gravatar_id":"","url":"https://api.github.com/users/kassim","html_url":"https://github.com/kassim","followers_url":"https://api.github.com/users/kassim/followers","following_url":"https://api.github.com/users/kassim/following{/other_user}","gists_url":"https://api.github.com/users/kassim/gists{/gist_id}","starred_url":"https://api.github.com/users/kassim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kassim/subscriptions","organizations_url":"https://api.github.com/users/kassim/orgs","repos_url":"https://api.github.com/users/kassim/repos","events_url":"https://api.github.com/users/kassim/events{/privacy}","received_events_url":"https://api.github.com/users/kassim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-25T18:10:54Z","updated_at":"2016-10-18T12:10:00Z","closed_at":null,"body":"I'm getting the following crash reported by quite a few users. Any idea on the cause/solution? \r\n\r\n```\r\nFatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'float android.view.MotionEvent.getY()' on a null object reference\r\n       at com.reginald.swiperefresh.CustomSwipeRefreshLayout.onInterceptTouchEvent(CustomSwipeRefreshLayout.java:774)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2366)\r\n       at com.reginald.swiperefresh.CustomSwipeRefreshLayout.dispatchTouchEvent(CustomSwipeRefreshLayout.java:741)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)\r\n       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)\r\n       at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2831)\r\n       at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1863)\r\n       at android.app.Activity.dispatchTouchEvent(Activity.java:3046)\r\n       at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)\r\n       at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)\r\n       at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2792)\r\n       at android.view.View.dispatchPointerEvent(View.java:10228)\r\n       at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5350)\r\n       at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5186)\r\n       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4626)\r\n       at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4679)\r\n       at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4645)\r\n       at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4787)\r\n       at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4653)\r\n       at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4844)\r\n       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4626)\r\n       at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4679)\r\n       at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4645)\r\n       at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4653)\r\n       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4626)\r\n       at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7312)\r\n       at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7190)\r\n       at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7151)\r\n       at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:7422)\r\n       at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)\r\n       at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(InputEventReceiver.java)\r\n       at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)\r\n       at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:7386)\r\n       at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:7449)\r\n       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)\r\n       at android.view.Choreographer.doCallbacks(Choreographer.java:695)\r\n       at android.view.Choreographer.doFrame(Choreographer.java:625)\r\n       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)\r\n       at android.os.Handler.handleCallback(Handler.java:739)\r\n       at android.os.Handler.dispatchMessage(Handler.java:95)\r\n       at android.os.Looper.loop(Looper.java:158)\r\n       at android.app.ActivityThread.main(ActivityThread.java:7229)\r\n       at java.lang.reflect.Method.invoke(Method.java)\r\n       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)\r\n       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)\r\n```"},"comment":{"url":"https://api.github.com/repos/xyxyLiu/SwipeRefreshLayout/issues/comments/254488563","html_url":"https://github.com/xyxyLiu/SwipeRefreshLayout/issues/10#issuecomment-254488563","issue_url":"https://api.github.com/repos/xyxyLiu/SwipeRefreshLayout/issues/10","id":254488563,"user":{"login":"nrmtrifork","id":1083153,"avatar_url":"https://avatars.githubusercontent.com/u/1083153?v=3","gravatar_id":"","url":"https://api.github.com/users/nrmtrifork","html_url":"https://github.com/nrmtrifork","followers_url":"https://api.github.com/users/nrmtrifork/followers","following_url":"https://api.github.com/users/nrmtrifork/following{/other_user}","gists_url":"https://api.github.com/users/nrmtrifork/gists{/gist_id}","starred_url":"https://api.github.com/users/nrmtrifork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrmtrifork/subscriptions","organizations_url":"https://api.github.com/users/nrmtrifork/orgs","repos_url":"https://api.github.com/users/nrmtrifork/repos","events_url":"https://api.github.com/users/nrmtrifork/events{/privacy}","received_events_url":"https://api.github.com/users/nrmtrifork/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T12:10:00Z","updated_at":"2016-10-18T12:10:00Z","body":"I closed PR #12 and created #13 instead. Now two nullpointer exceptions are checked for and eliminated. Please accept the PR @ReginaldLiu @xyxyLiu "}}
{"actor":{"display_login":"nrmtrifork"}}