Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 916FD200C76 for ; Sat, 29 Apr 2017 08:24:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 900D9160BB8; Sat, 29 Apr 2017 06:24:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D623E160BA3 for ; Sat, 29 Apr 2017 08:24:09 +0200 (CEST) Received: (qmail 26696 invoked by uid 500); 29 Apr 2017 06:24:09 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 26683 invoked by uid 99); 29 Apr 2017 06:24:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Apr 2017 06:24:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5EA31C031B for ; Sat, 29 Apr 2017 06:24:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id pYDa-6mMdVeA for ; Sat, 29 Apr 2017 06:24:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C30CC5FC16 for ; Sat, 29 Apr 2017 06:24:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D188BE07DA for ; Sat, 29 Apr 2017 06:24:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 885B221DE0 for ; Sat, 29 Apr 2017 06:24:04 +0000 (UTC) Date: Sat, 29 Apr 2017 06:24:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12560) InAppWebBrowser throws NullPointerException when attempting Callback MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 29 Apr 2017 06:24:10 -0000 [ https://issues.apache.org/jira/browse/CB-12560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15989782#comment-15989782 ] ASF GitHub Bot commented on CB-12560: ------------------------------------- Github user dblood commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/215 I've spent many hours trying to build a manual test in a "clean" environment. When I get to the office on Monday I can recreate it there and start pulling code out until I have a minimal code to reproduce the issue. > 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, 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