Skip to content
This repository was archived by the owner on Aug 20, 2025. It is now read-only.
This repository was archived by the owner on Aug 20, 2025. It is now read-only.

Android app crashes upon opening a html select input element #21

@jbhue

Description

@jbhue

I have switched over to TiCrosswalk from the default Webview on the android platform. I am very pleased with this module and really appreciate the work it took to make it.

I have noticed that after moving to TiCrosswalk for my webview my app crashes when a user clicks on a html input element. I don't recall this happening on the default android webview technology. Below is the log found in the Appcelerator console when the crash occurs. What I believe to be the most relevant line is in bold.

Here is a stack overflow post related to this issue for reference: http://stackoverflow.com/questions/10085753/app-crash-on-clicking-select-box-in-webview

Here is a similar issue on Titanium's Jira from 2012: https://jira.appcelerator.org/browse/TIMOB-8267

Is this something that needs to be addressed by TiCrosswalk or is there something I can do differently to avoid this issue?

[ERROR] : chromium: [ERROR:xwalk_autofill_client.cc(170)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved()
[ERROR] : chromium: [ERROR:xwalk_autofill_client.cc(170)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved()
[WARN] : W/System.err: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
[WARN] : W/System.err: at android.view.ViewRootImpl.setView(ViewRootImpl.java:566)
[WARN] : W/System.err: at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:282)
[WARN] : W/System.err: at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
[WARN] : W/System.err: at android.app.Dialog.show(Dialog.java:298)
[WARN] : W/System.err: at org.chromium.content.browser.input.SelectPopupDialog.show(SelectPopupDialog.java:133)
[WARN] : W/System.err: at org.chromium.content.browser.ContentViewCore.showSelectPopup(ContentViewCore.java:2476)
[WARN] : W/System.err: at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
[WARN] : W/System.err: at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
[WARN] : W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
[WARN] : W/System.err: at android.os.Looper.loop(Looper.java:135)
[WARN] : W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5254)
[WARN] : W/System.err: at java.lang.reflect.Method.invoke(Native Method)
[WARN] : W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
[WARN] : W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
[WARN] : W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
[INFO] : chromium: [FATAL:jni_android.cc(249)] Check failed: false. Please include Java exception stack in crash report

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions