cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12560) InAppWebBrowser throws NullPointerException when attempting Callback
Date Tue, 25 Apr 2017 18:19:04 GMT

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

ASF GitHub Bot commented on CB-12560:
-------------------------------------

Github user infil00p commented on the issue:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/215
  
    @dblood OK, so what do I need to do to test this thing to verify this works?  Do you have
a monitor script available somewhere?  Please don't check off the last box if there's no way
to actually test this, it just gets our hopes up.


> InAppWebBrowser throws NullPointerException when attempting Callback
> --------------------------------------------------------------------
>
>                 Key: CB-12560
>                 URL: https://issues.apache.org/jira/browse/CB-12560
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 6.5.0
>            Reporter: Douglas Blood
>            Priority: Minor
>              Labels: android, pluginsrelease, pull-request-available
>
> Using oidc-client.js and a redirection url of "http://localhost/".  After login the "monitor"
will attempt a request every second using the InAppBrowser instance that was logged in with.
> Occasionally, this will result in the following null pointer exception.
> java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.sendPluginResult(org.apache.cordova.PluginResult)'
on a null object reference
>     at org.apache.cordova.inappbrowser.InAppBrowser.sendUpdate(InAppBrowser.java:733)
>     at org.apache.cordova.inappbrowser.InAppBrowser.sendUpdate(InAppBrowser.java:720)
>     at org.apache.cordova.inappbrowser.InAppBrowser.access$1100(InAppBrowser.java:72)
>     at org.apache.cordova.inappbrowser.InAppBrowser$InAppBrowserClient.onPageFinished(InAppBrowser.java:849)
>     at com.android.webview.chromium.WebViewContentsClientAdapter.onPageFinished(WebViewContentsClientAdapter.java:531)
>     at org.chromium.android_webview.AwContentsClientCallbackHelper$MyHandler.handleMessage(AwContentsClientCallbackHelper.java:188)
>     at android.os.Handler.dispatchMessage(Handler.java:102)
>     at android.os.Looper.loop(Looper.java:154)
>     at android.app.ActivityThread.main(ActivityThread.java:6119)
>     at java.lang.reflect.Method.invoke(Native Method)
>     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
>     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
> Additional logs, and a patch will be coming soon.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message