You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Nath (JIRA)" <ji...@apache.org> on 2012/09/26 20:45:07 UTC

[jira] [Created] (CB-1549) Upload File: exception

Nath created CB-1549:
------------------------

             Summary: Upload File: exception
                 Key: CB-1549
                 URL: https://issues.apache.org/jira/browse/CB-1549
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.1.0
         Environment: Xcode 4.5, IOS 5.1, IOS 6
            Reporter: Nath
            Assignee: Shazron Abdullah
            Priority: Blocker


Getting an exception when I upload file.
I created a basic project just with the full example code given on  http://docs.phonegap.com/en/2.1.0/cordova_file_file.md.html#FileTransfer

With the latest source, I get an uncaught exception :
Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[CDVJKArray objectAtIndex:]: index (9) beyond bounds (9)'

With the 2.1.0 release version from phonegap.com, it is ok.

--
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

[jira] [Commented] (CB-1549) Upload File: exception

Posted by "Nadav Greenberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466830#comment-13466830 ] 

Nadav Greenberg commented on CB-1549:
-------------------------------------

Same here:
device: iOS 5
iPhone 4
SDK 6
OSX 10.8.2
xCode 4.5
Cordova 2.1.0
                
> Upload File: exception
> ----------------------
>
>                 Key: CB-1549
>                 URL: https://issues.apache.org/jira/browse/CB-1549
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: Xcode 4.5, IOS 5.1, IOS 6
>            Reporter: Nath
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>
> Getting an exception when I upload file.
> I created a basic project just with the full example code given on  http://docs.phonegap.com/en/2.1.0/cordova_file_file.md.html#FileTransfer
> With the latest source, I get an uncaught exception :
> Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[CDVJKArray objectAtIndex:]: index (9) beyond bounds (9)'
> With the 2.1.0 release version from phonegap.com, it is ok.

--
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

[jira] [Resolved] (CB-1549) Upload File: exception

Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-1549.
-------------------------------

    Resolution: Not A Problem
      Assignee: Andrew Grieve  (was: Shazron Abdullah)

When using the latest native source from git, make sure to also use the latest version of the JS from the incubator-cordova-js repo.
                
> Upload File: exception
> ----------------------
>
>                 Key: CB-1549
>                 URL: https://issues.apache.org/jira/browse/CB-1549
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: Xcode 4.5, IOS 5.1, IOS 6
>            Reporter: Nath
>            Assignee: Andrew Grieve
>            Priority: Blocker
>
> Getting an exception when I upload file.
> I created a basic project just with the full example code given on  http://docs.phonegap.com/en/2.1.0/cordova_file_file.md.html#FileTransfer
> With the latest source, I get an uncaught exception :
> Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[CDVJKArray objectAtIndex:]: index (9) beyond bounds (9)'
> With the 2.1.0 release version from phonegap.com, it is ok.

--
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

[jira] [Commented] (CB-1549) Upload File: exception

Posted by "Pablo Bernardi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466578#comment-13466578 ] 

Pablo Bernardi commented on CB-1549:
------------------------------------

Same problem here, using code provided in the example. I get:

*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[CDVJKArray objectAtIndex:]: index (9) beyond bounds (9)'

Environment:
Cordova 2.1.0
Xcode 4.5,
IOS SDK 6,
OSX Lion 10.7.5

                
> Upload File: exception
> ----------------------
>
>                 Key: CB-1549
>                 URL: https://issues.apache.org/jira/browse/CB-1549
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: Xcode 4.5, IOS 5.1, IOS 6
>            Reporter: Nath
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>
> Getting an exception when I upload file.
> I created a basic project just with the full example code given on  http://docs.phonegap.com/en/2.1.0/cordova_file_file.md.html#FileTransfer
> With the latest source, I get an uncaught exception :
> Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[CDVJKArray objectAtIndex:]: index (9) beyond bounds (9)'
> With the 2.1.0 release version from phonegap.com, it is ok.

--
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