You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/07/17 20:49:00 UTC

[jira] [Resolved] (CB-12938) [ANDROID] Pressing back button causes app to crash.

     [ https://issues.apache.org/jira/browse/CB-12938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-12938.
-----------------------------
    Resolution: Cannot Reproduce

This may exist, but since Chrome is at 59, upgrading Chrome will fix this.  I can't actually install Chrome 58 using the Play Store. 

> [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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org