You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Updated) (JIRA)" <ji...@apache.org> on 2012/03/06 19:05:03 UTC

[jira] [Updated] (CB-300) PGFileTransfer crashes with 303 and empty response

     [ https://issues.apache.org/jira/browse/CB-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-300:
--------------------------------

    Description: 
reported by: https://github.com/mckamey
at: https://github.com/cordova/cordova-ios/issues/3

It appears that when PhoneGap FileTransfer receives a 303 HTTP status code with an empty response body from the remote server, the component crashes with an NSInvalidArgumentException.

Not sure if any of this console dump is helpful...

2012-01-09 12:37:31.638 XYZ[12677:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: response)'
*** First throw call stack:
(0x342618bf 0x344b11e5 0x342617b9 0x342617db 0x341ce6bb 0x1a195 0x35c6dc39 0x35bc56e9 0x35bc56b3 0x35bc55d5 0x322738a5 0x32268545 0x32268243 0x32268179 0x34235b03 0x342352cf 0x34234075 0x341b74dd 0x341b73a5 0x30a3bfcd 0x37638743 0x2cd3 0x2c8c)
terminate called throwing an exception

  was:
It appears that when PhoneGap FileTransfer receives a 303 HTTP status code with an empty response body from the remote server, the component crashes with an NSInvalidArgumentException.

Not sure if any of this console dump is helpful...

2012-01-09 12:37:31.638 XYZ[12677:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: response)'
*** First throw call stack:
(0x342618bf 0x344b11e5 0x342617b9 0x342617db 0x341ce6bb 0x1a195 0x35c6dc39 0x35bc56e9 0x35bc56b3 0x35bc55d5 0x322738a5 0x32268545 0x32268243 0x32268179 0x34235b03 0x342352cf 0x34234075 0x341b74dd 0x341b73a5 0x30a3bfcd 0x37638743 0x2cd3 0x2c8c)
terminate called throwing an exception

    
> PGFileTransfer crashes with 303 and empty response
> --------------------------------------------------
>
>                 Key: CB-300
>                 URL: https://issues.apache.org/jira/browse/CB-300
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>
> reported by: https://github.com/mckamey
> at: https://github.com/cordova/cordova-ios/issues/3
> It appears that when PhoneGap FileTransfer receives a 303 HTTP status code with an empty response body from the remote server, the component crashes with an NSInvalidArgumentException.
> Not sure if any of this console dump is helpful...
> 2012-01-09 12:37:31.638 XYZ[12677:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: response)'
> *** First throw call stack:
> (0x342618bf 0x344b11e5 0x342617b9 0x342617db 0x341ce6bb 0x1a195 0x35c6dc39 0x35bc56e9 0x35bc56b3 0x35bc55d5 0x322738a5 0x32268545 0x32268243 0x32268179 0x34235b03 0x342352cf 0x34234075 0x341b74dd 0x341b73a5 0x30a3bfcd 0x37638743 0x2cd3 0x2c8c)
> terminate called throwing an exception

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira