簡體   English   中英

在 webview android 中輸入焦點時崩潰

[英]crash when focus input in webview android

第一次在 webview 中成功登錄我的網站,但是當焦點輸入用戶名時第二次登錄崩潰應用程序,這是崩潰時的錯誤:

W/ResourceType: Invalid package identifier when getting bag for resource number 0x02080003
        Invalid package identifier when getting bag for resource number 0x02080003
    W/System.err: java.lang.NullPointerException: Atteenter code herempt to invoke virtual method 'boolean android.graphics.drawable.Drawable.getPadding(android.graphics.Rect)' on a null object reference
            at org.chromium.ui.DropdownPopupWindow.<init>(DropdownPopupWindow.java:80)
            at org.chromium.ui.autofill.AutofillPopup.<init>(AutofillPopup.java:48)
            at org.chromium.android_webview.AwAutofillClient.showAutofillPopup(AwAutofillClient.java:50)
            at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
            at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:37)
            at android.os.Handler.dispatchMessage(Handler.java:111)
            at android.os.Looper.loop(Looper.java:194)
            at android.app.ActivityThread.main(ActivityThread.java:5637)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
    A/chromium: [FATAL:jni_android.cc(249)] Check failed: false. Please include Java exception stack in crash report
    W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
        Chrome build fingerprint:
        1.0
        1
        45012863-7d3b-4c30-8ccf-e65394c57d85
        ### ### ### ### ### ### ### ### ### ### ### ### ###
    A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 9115 (ir.aysan.bis)
    Process 9115 terminated.

這是在 android 5.0\\5.1 上發生的 WebView 崩潰,

嘗試關閉文本自動完成

 <input type="text" name="symbols" autocomplete="off" />

快樂編碼......

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM