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

daryl hansen commented on CB-3530:
----------------------------------

I got this printed in my log:

2013-06-27 16:01:59.201 HawaiiRealEstateApp[8091:c07] CDVWebViewDelegate: 
Navigation started when state=1
2013-06-27 16:01:59.201 HawaiiRealEstateApp[8091:c07] Failed to load webpage 
with error: CDVWebViewDelegate: Navigation started when state=1
2013-06-27 16:01:59.201 HawaiiRealEstateApp[8091:c07] CB-3530 -- original: 
file:///Users/daryl/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/CA6C0FC8-1928-4995-87E1-7EB363AF7F57/HawaiiRealEstateApp.app/www/index.html
 

new: 
file:///Users/daryl/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/CA6C0FC8-1928-4995-87E1-7EB363AF7F57/HawaiiRealEstateApp.app/www/SearchResultsMaui.html?Class=Residential&AgentID%5B%5D=23949&AgentID%5B%5D=11258&AgentID%5B%5D=13485&AgentID%5B%5D=10027&SortField1=C_L_AskingPrice&SortOrder1=DESC&SortField2=C_LM_char10_69&SortOrder2=ASC#/Users/daryl/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/CA6C0FC8-1928-4995-87E1-7EB363AF7F57/HawaiiRealEstateApp.app/www/MauiPropertyDetails.html?WhatMLS=353039

_______________________________________________________

This confirms that is an issue with the hash tag, which is the way JQM 
navigates. This has been ongoing and I think it would be a good idea to fix 
this in a 2.9.1 version.  I really don't want to wait for 3.0 and a get a whole 
slew of new issues. Can you please just fix this.  
                
> PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation 
> started when state=1" (for navigation to an anchor on the same page)
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-3530
>                 URL: https://issues.apache.org/jira/browse/CB-3530
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin InAppBrowser
>    Affects Versions: 2.7.0
>         Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1
>            Reporter: Montyleena
>            Assignee: Shazron Abdullah
>              Labels: crash, iOS,, inappbrowser,
>             Fix For: 3.0.0
>
>
> I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but 
> crashes with 2.7.0 with the following error:
> 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started 
> when state=1
> 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: 
> (null)
> The problem is:
> CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, 
> default: error code is being passed as nil
> and in CDVInAppBrowser.m: didFailLoadWithError() function, 
> error.localizedDescription is being referenced, which causes a crash as error 
> object is nil. 
> For now, i added a check in the above function to put default values for 
> error code if the error object is nil. I hope this crash is fixed in the next 
> PhoneGap release.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to