Jean Vean created CB-1569: ----------------------------- Summary: Fatal crash after upgraded from 2.0 to 2.1 Key: CB-1569 URL: https://issues.apache.org/jira/browse/CB-1569 Project: Apache Cordova Issue Type: Bug Affects Versions: 2.1.0 Environment: Mac OS/XCode 4.5 Reporter: Jean Vean Priority: Blocker
After upgrading to 2.1, we get this error when running app: 012-10-02 10:05:05.965 xxx[2357:c07] Multi-tasking -> Device: YES, App: NO 2012-10-02 10:05:12.285 xxx[2357:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' *** First throw call stack: (0x264012 0x2854e7e 0x217b6a 0x217a20 0x49a55 0x490ff 0x622be 0x62425 0x3119 0x57e46e 0x624be 0x2a20 0x49c7b7 0x49cda7 0x49dfab 0x4af315 0x4b024b 0x4a1cf8 0x3603df9 0x3603ad0 0x1d9bf5 0x1d9962 0x20abb6 0x209f44 0x209e1b 0x49d7da 0x49f65c 0x26c6 0x25f5) libc++abi.dylib: terminate called throwing an exception Setting a exception breakpoint, lead us to the following line causing the error: [expanded addObject:regex]; found in processWhitelist function in CDVWhitelist.m -- 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