Webview+ junit.framework.Assert.fail


#1
  • Cocoon Version:
    latest (2.2.0)

  • Basic description of the problem:
    Exception junit.framework.AssertionFailedError: Cannot call this method before xwalk is ready

  • Device info:
    Sdk 16-22

  • Error log
    Exception junit.framework.AssertionFailedError: Cannot call this method before xwalk is ready
    junit.framework.Assert.fail (Assert.java:50)
    org.xwalk.core.XWalkView.onTouchEvent (XWalkView.java:1544)
    android.view.View.dispatchTouchEvent (View.java:8471)
    android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2399)
    android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2092)
    android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2405)
    android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2049)
    android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2405)
    android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2049)
    android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2405)
    android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2049)
    com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent (PhoneWindow.java:2369)
    com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1719)
    android.app.Activity.dispatchTouchEvent (Activity.java:2742)
    com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent (PhoneWindow.java:2330)
    android.view.View.dispatchPointerEvent (View.java:8666)
    android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent (ViewRootImpl.java:4123)
    android.view.ViewRootImpl$ViewPostImeInputStage.onProcess (ViewRootImpl.java:3989)
    android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:3544)
    android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:3597)
    android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:3563)
    android.view.ViewRootImpl$AsyncInputStage.forward (ViewRootImpl.java:3680)
    android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:3571)
    android.view.ViewRootImpl$AsyncInputStage.apply (ViewRootImpl.java:3737)
    android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:3544)
    android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:3597)
    android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:3563)
    android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:3571)
    android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:3544)
    android.view.ViewRootImpl.deliverInputEvent (ViewRootImpl.java:5807)
    android.view.ViewRootImpl.doProcessInputEvents (ViewRootImpl.java:5781)
    android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:5752)
    android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent (ViewRootImpl.java:5897)
    android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:185)
    android.os.MessageQueue.nativePollOnce (MessageQueue.java)
    android.os.MessageQueue.next (MessageQueue.java:143)
    android.os.Looper.loop (Looper.java:122)
    android.app.ActivityThread.main (ActivityThread.java:5258)
    java.lang.reflect.Method.invoke (Method.java)
    java.lang.reflect.Method.invoke (Method.java:372)
    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:903)
    com.android.internal.os.ZygoteInit.main (ZygoteInit.java:698)

  • Other information:
    Received from users crash reports

  • Webview engine(s):
    Webview+

  • Framework/game engine (if relevant):
    Phaser


#2

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.