[
https://issues.apache.org/jira/browse/CB-12938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16081346#comment-16081346
]
Joe Bowser commented on CB-12938:
---------------------------------
[~mradbourne] I can't repro this on my S4 when I update Chromium. Fortunately,
Chrome 58 is obsolete, so Chrome 59 may have fixed this (I went from 57 to 59,
couldn't reproduce either time). Try upgrading and see if the problem persists.
> [ANDROID] Pressing back button causes app to crash.
> ---------------------------------------------------
>
> Key: CB-12938
> URL: https://issues.apache.org/jira/browse/CB-12938
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-android
> Affects Versions: 7.0.1
> Environment: Galaxy S4, Android 5.0.1.
> Installed on Cordova Android Platform 6.2.3
> Reporter: Andre Hitchman
> Assignee: Joe Bowser
> Priority: Minor
> Labels: android
>
> Steps that produce error.
> 1. Launch app
> 2. Tap Username filed, enter text
> 3. Press the back button (to dismiss the keyboard)
> 4. Press the back button again
> Result: App crashes with "unexpected result" error.
> Expected: App should exit to phone home screen.
> This was seems to happen on Galaxy S4 Android 5.0.1.
> Newer versions of Android (e.g 6+) do not reproduce this error.
> The crash logs, display this:
> {code:title=Bar.java|borderStyle=solid}
> FATAL EXCEPTION: main
>
> Process: APPLICATION, PID: 23930
>
> java.lang.NullPointerException: Attempt to invoke virtual method
> 'org.chromium.ui.base.WindowAndroid
> org.chromium.content.browser.ContentViewCore.getWindowAndroid()' on a null
> object reference
>
> at
> org.chromium.android_webview.PopupTouchHandleDrawable.onDetachedFromWindow(PopupTouchHandleDrawable.java:535)
>
> at android.view.View.dispatchDetachedFromWindow(View.java:14532)
>
> at
> android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3200)
>
> at android.view.ViewRootImpl.doDie(ViewRootImpl.java:6169)
>
> at
> android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3607)
>
> at android.os.Handler.dispatchMessage(Handler.java:102)
>
> at android.os.Looper.loop(Looper.java:145)
>
> at android.app.ActivityThread.main(ActivityThread.java:5942)
>
> 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:1400)
>
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]