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

Matt commented on CB-12938:
---------------------------

Yes. This happens when the text drag cursor is shown and the back button is 
pressed. When this happens, the app 'hide' animation is shown and then the "App 
has stopped" dialog appears.

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

Reply via email to