[
https://issues.apache.org/jira/browse/CB-12938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065299#comment-16065299
]
Joe Bowser commented on CB-12938:
---------------------------------
OK, I'll dig up my Samsung Galaxy S4 and see if I can repro. I can't fix this,
because it's a Chromium error with Samsung's implementation of Copy/Paste based
on the info, but I can at least try. It should be possible to disable
copy/paste behaviour as a workaround. I'll play with that and see if that is a
good workaround.
> [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]