cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andre Hitchman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12938) [ANDROID] Pressing back button causes app to crash.
Date Thu, 22 Jun 2017 09:09:00 GMT

    [ https://issues.apache.org/jira/browse/CB-12938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059016#comment-16059016
] 

Andre Hitchman commented on CB-12938:
-------------------------------------

The device uses Android System WebView version 58.0.3029.83

> [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


Mime
View raw message