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 C334F200AE3 for ; Wed, 4 May 2016 09:45:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C17C41609FD; Wed, 4 May 2016 09:45:37 +0200 (CEST) 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 3E4751609F1 for ; Wed, 4 May 2016 09:45:37 +0200 (CEST) Received: (qmail 88984 invoked by uid 500); 4 May 2016 07:45:36 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 88973 invoked by uid 99); 4 May 2016 07:45:36 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 07:45:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0708DDFBAB; Wed, 4 May 2016 07:45:36 +0000 (UTC) From: uareurapid To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org Message-ID: Subject: [GitHub] cordova-android pull request: fix crash when calling methods on a ... Content-Type: text/plain Date: Wed, 4 May 2016 07:45:36 +0000 (UTC) archived-at: Wed, 04 May 2016 07:45:38 -0000 GitHub user uareurapid opened a pull request: https://github.com/apache/cordova-android/pull/304 fix crash when calling methods on a destroyed webview Hi guys. This has happened in some of my apps, not often, but a few times. I also have see some reports on the web. Take a look at this stack overflow thread for instance: http://stackoverflow.com/questions/36239052/nullpointerexception-in-cordova-app-reported-by-fabric-sdk I think that better than just doing a try/catch is just check if the webView is valid/null or not You can merge this pull request into a Git repository by running: $ git pull https://github.com/uareurapid/cordova-android master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-android/pull/304.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #304 ---- commit bcf3f8611afbf9e33dc2a61db949c4759cc72291 Author: PC Dreams (Paulo Cristo) Date: 2016-05-04T07:42:14Z fix crash when calling methods on a destroyed webview ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org