Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C41F1063C for ; Fri, 29 Nov 2013 19:13:02 +0000 (UTC) Received: (qmail 18391 invoked by uid 500); 29 Nov 2013 19:13:02 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 18378 invoked by uid 500); 29 Nov 2013 19:13:01 -0000 Mailing-List: contact issues-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 issues@cordova.apache.org Received: (qmail 18369 invoked by uid 99); 29 Nov 2013 19:13:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Nov 2013 19:13:01 +0000 Date: Fri, 29 Nov 2013 19:13:01 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-2391) colons in URIs crash WebView MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-2391: --------------------------------- Fix Version/s: (was: 3.2.0) 3.3.0 > colons in URIs crash WebView > ---------------------------- > > Key: CB-2391 > URL: https://issues.apache.org/jira/browse/CB-2391 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 2.3.0 > Environment: Seen on Nexus 4, Android 4.2.1 > Reporter: Robert Hoffmann > Assignee: Joe Bowser > Priority: Minor > Labels: WebView, crash, hash, url > Fix For: 3.3.0 > > > With useBrowserHistory (true) the application crashes when returning from WebView (using the android back button). > Reproduce: > 1) So from the Cordova App page (file:///android_asset/www/app.html#BackPlace:null) the user clicks on a link (e.g. www.google.com) which opens the WebView. > 2) When clicking the back button to return to the app, the app crashes with the exception below. > Guess: > I wonder if the hash in the originating cordova app page could be the core of this problem (e.g. file:///android_asset/www/app.html#BackPlace:null). > Note: > The app does not crash when setting useBrowserHistory to false! > >> > 02-07 01:09:45.979: E/dalvikvm(8542): Class lookup Landroid/webkit/WebResourceResponse; attempted with exception pending > 02-07 01:09:45.979: W/dalvikvm(8542): Pending exception is: > 02-07 01:09:45.979: I/dalvikvm(8542): java.lang.NullPointerException: > 02-07 01:09:45.979: I/dalvikvm(8542): at android.content.res.AssetManager.openAsset(Native Method) > 02-07 01:09:45.979: I/dalvikvm(8542): at android.content.res.AssetManager.open(AssetManager.java:315) > 02-07 01:09:45.979: I/dalvikvm(8542): at android.webkit.BrowserFrame.inputStreamForAndroidResource(BrowserFrame.java:765) > 02-07 01:09:45.979: I/dalvikvm(8542): at android.webkit.BrowserFrame.shouldInterceptRequest(BrowserFrame.java:852) > 02-07 01:09:45.979: I/dalvikvm(8542): at android.webkit.BrowserFrame.nativeGoBackOrForward(Native Method) > 02-07 01:09:45.979: I/dalvikvm(8542): at android.webkit.BrowserFrame.goBackOrForward(BrowserFrame.java:346) > 02-07 01:09:45.979: I/dalvikvm(8542): at android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1400) > 02-07 01:09:45.979: I/dalvikvm(8542): at android.os.Handler.dispatchMessage(Handler.java:99) > 02-07 01:09:45.979: I/dalvikvm(8542): at android.os.Looper.loop(Looper.java:137) > 02-07 01:09:45.979: I/dalvikvm(8542): at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:812) > 02-07 01:09:45.979: I/dalvikvm(8542): at java.lang.Thread.run(Thread.java:856) > 02-07 01:09:45.979: I/dalvikvm(8542): DALVIK THREADS: > 02-07 01:09:45.979: I/dalvikvm(8542): (mutexes: tll=0 tsl=0 tscl=0 ghl=0) > 02-07 01:09:45.979: D/DroidGap(8542): onMessage(onPageStarted,file:///android_asset/www/app.html#BackPlace:null) > 02-07 01:09:45.979: I/dalvikvm(8542): "main" prio=5 tid=1 NATIVE > 02-07 01:09:45.989: I/dalvikvm(8542): | group="main" sCount=0 dsCount=0 obj=0x40cfc9a0 self=0x40701bf8 > 02-07 01:09:45.989: I/dalvikvm(8542): | sysTid=8542 nice=0 sched=0/0 cgrp=apps handle=1074258908 > 02-07 01:09:45.989: I/dalvikvm(8542): | state=S schedstat=( 0 0 0 ) utm=97 stm=76 core=0 > 02-07 01:09:45.999: I/dalvikvm(8542): #00 pc 00017ee4 /system/lib/libc.so (epoll_wait+12) > << -- This message was sent by Atlassian JIRA (v6.1#6144)