cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Olszowka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12754) inAppBrowser crashing on Android
Date Mon, 16 Oct 2017 20:28:00 GMT

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

Peter Olszowka commented on CB-12754:
-------------------------------------

If it's too hard to properly handle the error, could there be a property I could test before
calling show(), such is isShowable?

  --PeterO

On 10/16/17, 4:11 PM, "Joe Bowser (JIRA)" <jira@apache.org> wrote:

    
        [ https://issues.apache.org/jira/browse/CB-12754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16206529#comment-16206529
] 
    
    Joe Bowser commented on CB-12754:
    ---------------------------------
    
    Well, this is showing the reverse of what I would have thought.  The S8 and the S8+ are
the newest devices, and they're showing the bulk of the error.  I suspect that loadStop is
getting called when the window is being closed, and when show() is called, the dialog has
already been destroyed, and as such can't be re-opened.  I'm pretty sure we should catch the
error, but I'm thinking that maybe the issue is that people don't know what to expect when
they close a dialog window beyond "The InAppBrowser goes away".  Does it get hidden, or does
it get destroyed? 
    
    > inAppBrowser crashing on Android
    > --------------------------------
    >
    >                 Key: CB-12754
    >                 URL: https://issues.apache.org/jira/browse/CB-12754
    >             Project: Apache Cordova
    >          Issue Type: Bug
    >          Components: cordova-android, cordova-plugin-inappbrowser
    >            Reporter: Peter Olszowka
    >
    > Using cordova-plugin-inappbrowser version 1.7.0
    > Getting many crash reports from Google play store with following stack trace:
    > java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.inappbrowser.InAppBrowserDialog.show()'
on a null object reference
    > 	at org.apache.cordova.inappbrowser.InAppBrowser$2.run(InAppBrowser.java:257)
    > 	at android.os.Handler.handleCallback(Handler.java:739)
    > 	at android.os.Handler.dispatchMessage(Handler.java:95)
    > 	at android.os.Looper.loop(Looper.java:145)
    > 	at android.app.ActivityThread.main(ActivityThread.java:6126)
    > 	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:1399)
    > 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
    > The issue appears on many versions of Android including 4.4, 5.1, 6.0, & 7.0.
    > You can try the app from the Google Play store: "cargurus"  
    > I am unable to reproduce the error myself, but 25 users/day are reporting it.
    
    
    
    --
    This message was sent by Atlassian JIRA
    (v6.4.14#64029)
    



> inAppBrowser crashing on Android
> --------------------------------
>
>                 Key: CB-12754
>                 URL: https://issues.apache.org/jira/browse/CB-12754
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android, cordova-plugin-inappbrowser
>            Reporter: Peter Olszowka
>
> Using cordova-plugin-inappbrowser version 1.7.0
> Getting many crash reports from Google play store with following stack trace:
> java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.inappbrowser.InAppBrowserDialog.show()'
on a null object reference
> 	at org.apache.cordova.inappbrowser.InAppBrowser$2.run(InAppBrowser.java:257)
> 	at android.os.Handler.handleCallback(Handler.java:739)
> 	at android.os.Handler.dispatchMessage(Handler.java:95)
> 	at android.os.Looper.loop(Looper.java:145)
> 	at android.app.ActivityThread.main(ActivityThread.java:6126)
> 	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:1399)
> 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
> The issue appears on many versions of Android including 4.4, 5.1, 6.0, & 7.0.
> You can try the app from the Google Play store: "cargurus"  
> I am unable to reproduce the error myself, but 25 users/day are reporting it.



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