You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Gorkem Ogut (JIRA)" <ji...@apache.org> on 2012/09/21 16:17:07 UTC
[jira] [Created] (CB-1520) ibc++abi.dylib Exception when
EnableLocation is Yes on Cordova.plist
Gorkem Ogut created CB-1520:
-------------------------------
Summary: ibc++abi.dylib Exception when EnableLocation is Yes on Cordova.plist
Key: CB-1520
URL: https://issues.apache.org/jira/browse/CB-1520
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Affects Versions: 2.1.0
Environment: XCode 4.5 with Cordova 2.1.0
Reporter: Gorkem Ogut
Assignee: Shazron Abdullah
It is creating an exception even on sample project when EnableLocation is set to Yes.
Exception Detail:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(0x379952a3 0x35ca597f 0x378df8d9 0x129c5 0x46fa7 0x441b 0x38c85595 0x38cc5d79 0x38cc1aed 0x38d031d1 0x3f11 0x38cc6ad9 0x38cc6663 0x38cbe84b 0x38c66c41 0x38c666d5 0x38c66123 0x37e195a3 0x37e191d3 0x3796a173 0x3796a117 0x37968f99 0x378dbebd 0x378dbd49 0x38cbd485 0x38cba301 0x3945 0x38d8)
libc++abi.dylib: terminate called throwing an exception
(lldb)
--
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-1520) ibc++abi.dylib Exception when
EnableLocation is Yes on Cordova.plist
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-1520.
----------------------------------
Resolution: Fixed
Fix commit - http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/31797a70
> ibc++abi.dylib Exception when EnableLocation is Yes on Cordova.plist
> --------------------------------------------------------------------
>
> Key: CB-1520
> URL: https://issues.apache.org/jira/browse/CB-1520
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.1.0
> Environment: XCode 4.5 with Cordova 2.1.0
> Reporter: Gorkem Ogut
> Assignee: Shazron Abdullah
> Fix For: 2.2.0
>
>
> It is creating an exception even on sample project when EnableLocation is set to Yes.
> Exception Detail:
> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
> *** First throw call stack:
> (0x379952a3 0x35ca597f 0x378df8d9 0x129c5 0x46fa7 0x441b 0x38c85595 0x38cc5d79 0x38cc1aed 0x38d031d1 0x3f11 0x38cc6ad9 0x38cc6663 0x38cbe84b 0x38c66c41 0x38c666d5 0x38c66123 0x37e195a3 0x37e191d3 0x3796a173 0x3796a117 0x37968f99 0x378dbebd 0x378dbd49 0x38cbd485 0x38cba301 0x3945 0x38d8)
> libc++abi.dylib: terminate called throwing an exception
> (lldb)
--
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] [Updated] (CB-1520) ibc++abi.dylib Exception when
EnableLocation is Yes on Cordova.plist
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-1520:
---------------------------------
Fix Version/s: 2.2.0
> ibc++abi.dylib Exception when EnableLocation is Yes on Cordova.plist
> --------------------------------------------------------------------
>
> Key: CB-1520
> URL: https://issues.apache.org/jira/browse/CB-1520
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.1.0
> Environment: XCode 4.5 with Cordova 2.1.0
> Reporter: Gorkem Ogut
> Assignee: Shazron Abdullah
> Fix For: 2.2.0
>
>
> It is creating an exception even on sample project when EnableLocation is set to Yes.
> Exception Detail:
> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
> *** First throw call stack:
> (0x379952a3 0x35ca597f 0x378df8d9 0x129c5 0x46fa7 0x441b 0x38c85595 0x38cc5d79 0x38cc1aed 0x38d031d1 0x3f11 0x38cc6ad9 0x38cc6663 0x38cbe84b 0x38c66c41 0x38c666d5 0x38c66123 0x37e195a3 0x37e191d3 0x3796a173 0x3796a117 0x37968f99 0x378dbebd 0x378dbd49 0x38cbd485 0x38cba301 0x3945 0x38d8)
> libc++abi.dylib: terminate called throwing an exception
> (lldb)
--
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] [Closed] (CB-1520) ibc++abi.dylib Exception when
EnableLocation is Yes on Cordova.plist
Posted by "Gorkem Ogut (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gorkem Ogut closed CB-1520.
---------------------------
It is great! That made my day after hours to find the reason.
> ibc++abi.dylib Exception when EnableLocation is Yes on Cordova.plist
> --------------------------------------------------------------------
>
> Key: CB-1520
> URL: https://issues.apache.org/jira/browse/CB-1520
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.1.0
> Environment: XCode 4.5 with Cordova 2.1.0
> Reporter: Gorkem Ogut
> Assignee: Shazron Abdullah
> Fix For: 2.2.0
>
>
> It is creating an exception even on sample project when EnableLocation is set to Yes.
> Exception Detail:
> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
> *** First throw call stack:
> (0x379952a3 0x35ca597f 0x378df8d9 0x129c5 0x46fa7 0x441b 0x38c85595 0x38cc5d79 0x38cc1aed 0x38d031d1 0x3f11 0x38cc6ad9 0x38cc6663 0x38cbe84b 0x38c66c41 0x38c666d5 0x38c66123 0x37e195a3 0x37e191d3 0x3796a173 0x3796a117 0x37968f99 0x378dbebd 0x378dbd49 0x38cbd485 0x38cba301 0x3945 0x38d8)
> libc++abi.dylib: terminate called throwing an exception
> (lldb)
--
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-1520) ibc++abi.dylib Exception when
EnableLocation is Yes on Cordova.plist
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460727#comment-13460727 ]
Shazron Abdullah commented on CB-1520:
--------------------------------------
callbackId is null here, causing the exception:
https://github.com/apache/incubator-cordova-ios/blob/d8575d7eece28ec2c90de4b448af729accaf2567/CordovaLib/Classes/CDVLocation.m#L269
> ibc++abi.dylib Exception when EnableLocation is Yes on Cordova.plist
> --------------------------------------------------------------------
>
> Key: CB-1520
> URL: https://issues.apache.org/jira/browse/CB-1520
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.1.0
> Environment: XCode 4.5 with Cordova 2.1.0
> Reporter: Gorkem Ogut
> Assignee: Shazron Abdullah
> Fix For: 2.2.0
>
>
> It is creating an exception even on sample project when EnableLocation is set to Yes.
> Exception Detail:
> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
> *** First throw call stack:
> (0x379952a3 0x35ca597f 0x378df8d9 0x129c5 0x46fa7 0x441b 0x38c85595 0x38cc5d79 0x38cc1aed 0x38d031d1 0x3f11 0x38cc6ad9 0x38cc6663 0x38cbe84b 0x38c66c41 0x38c666d5 0x38c66123 0x37e195a3 0x37e191d3 0x3796a173 0x3796a117 0x37968f99 0x378dbebd 0x378dbd49 0x38cbd485 0x38cba301 0x3945 0x38d8)
> libc++abi.dylib: terminate called throwing an exception
> (lldb)
--
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-1520) ibc++abi.dylib Exception when
EnableLocation is Yes on Cordova.plist
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460724#comment-13460724 ]
Shazron Abdullah commented on CB-1520:
--------------------------------------
Aha that was the trick, EnableLocation = YES. Fixing...
> ibc++abi.dylib Exception when EnableLocation is Yes on Cordova.plist
> --------------------------------------------------------------------
>
> Key: CB-1520
> URL: https://issues.apache.org/jira/browse/CB-1520
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.1.0
> Environment: XCode 4.5 with Cordova 2.1.0
> Reporter: Gorkem Ogut
> Assignee: Shazron Abdullah
>
> It is creating an exception even on sample project when EnableLocation is set to Yes.
> Exception Detail:
> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
> *** First throw call stack:
> (0x379952a3 0x35ca597f 0x378df8d9 0x129c5 0x46fa7 0x441b 0x38c85595 0x38cc5d79 0x38cc1aed 0x38d031d1 0x3f11 0x38cc6ad9 0x38cc6663 0x38cbe84b 0x38c66c41 0x38c666d5 0x38c66123 0x37e195a3 0x37e191d3 0x3796a173 0x3796a117 0x37968f99 0x378dbebd 0x378dbd49 0x38cbd485 0x38cba301 0x3945 0x38d8)
> libc++abi.dylib: terminate called throwing an exception
> (lldb)
--
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