Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1028

FileTransfer.upload WebKit discarded an uncaught exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.9.0
    • 2.0.0
    • cordova-ios
    • None
    • OS X Lion, Xcode 4.3.3, iPhone iOS 5.1

    Description

      I seem to be running into this issue with Cordova 1.9.0 on iOS. The traceback I get is::

      2012-07-10 11:51:34.455 BuzzVote[3800:707] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSRangeException> *** -[__NSCFString substringToIndex:]: Range or index out of bounds

      Here's how I use the FileTransfer to reproduce the error.
      For more information, I am using XCode 4.3.3, Cordova 1.9.0 and the iPad 2 Wifi with 5.1.1. Please check the enclosed phonegap_snippet.html to reproduce the error.

      This is related to #543.

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              theju Thejaswi Puthraya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: