在RN中使用ScrollView在华为7.0的系统上,用手指从边缘向中间滑动,多滑几次,就会出现闪退。已经更新到了0.40.0也有问题



  • java.lang.RuntimeException: Tried to get non-existent cookie
    at com.facebook.react.uimanager.events.TouchEventCoalescingKeyHelper.getCoalescingKey(TouchEventCoalescingKeyHelper.java:75)
    at com.facebook.react.uimanager.events.TouchEvent.init(TouchEvent.java:89)
    at com.facebook.react.uimanager.events.TouchEvent.obtain(TouchEvent.java:45)
    at com.facebook.react.uimanager.JSTouchDispatcher.handleTouchEvent(JSTouchDispatcher.java:114)
    at com.facebook.react.ReactRootView.dispatchJSTouchEvent(ReactRootView.java:155)
    at com.facebook.react.ReactRootView.onInterceptTouchEvent(ReactRootView.java:127)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2212)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2671)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2671)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2671)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:447)
    at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1871)
    at android.app.Activity.dispatchTouchEvent(Activity.java:3213)
    at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:409)
    at android.view.View.dispatchPointerEvent(View.java:10228)
    at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4845)
    at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4705)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4238)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4291)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4257)
    at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4384)
    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4265)
    at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4441)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4238)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4291)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4257)
    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4265)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4238)
    at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6665)
    at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6639)
    at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6600)
    at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6792)
    at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:192)
    at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
    at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:181)
    at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:6739)
    at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6820)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:923)
    at android.view.Choreographer.doCallbacks(Choreographer.java:735)
    at android.view.Choreographer.doFrame(Choreographer.java:661)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:909)
    at android.os.Handler.handleCallback(Handler.java:755)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:156)
    at android.app.ActivityThread.main(ActivityThread.java:6524)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)


登录后回复