I’m getting this on the daily builds when running in iOS simulator. The app runs fine in the corona simulator. I’m not sure what to do to reproduce because it just happens after my app is set up. The issue seems to be with network code, however my app doesn’t use any itself.
9/27/11 2:12:45.088 AM build: \*\*\* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFNumber length]: unrecognized selector sent to instance 0x5d24a20'
\*\*\* Call stack at first throw:
(
0 CoreFoundation 0x01ebd5a9 \_\_exceptionPreprocess + 185
1 libobjc.A.dylib 0x01c2d313 objc\_exception\_throw + 44
2 CoreFoundation 0x01ebf0bb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
3 CoreFoundation 0x01e2e966 \_\_\_forwarding\_\_\_ + 966
4 CoreFoundation 0x01e2e522 \_CF\_forwarding\_prep\_0 + 50
5 CoreFoundation 0x01dd0ab7 CFStringGetLength + 167
6 CoreFoundation 0x01e18cca \_addPercentEscapesToString + 42
7 CoreFoundation 0x01e18c8f CFURLCreateStringByAddingPercentEscapes + 63
8 CFNetwork 0x005cad27 \_ZL19appendEscapedFormatP10\_\_CFStringPKS\_S2\_ + 74
9 CFNetwork 0x006378b3 \_ZL25initializeUserAgentStringv + 323
10 libsystem\_c.dylib 0x92e7a487 pthread\_once + 76
11 CFNetwork 0x005ca95b cleanUpRequest + 93
12 CFNetwork 0x005ca6b0 \_ZN17HTTPNetConnection19prepareTransmissionEP17HTTPNetStreamInfoP15\_\_CFWriteStream + 866
13 CFNetwork 0x005c98ca \_ZN13NetConnection7enqueueEPvh + 334
14 CFNetwork 0x005c9777 \_CFNetConnectionEnqueue + 40
15 CFNetwork 0x005c9704 \_ZN17HTTPNetStreamInfo10streamOpenEP14\_\_CFReadStreamP13CFStreamErrorPh + 46
16 CFNetwork 0x005c4ff8 \_ZN19CFNetworkReadStream14httpStreamOpenEP14\_\_CFReadStreamP13CFStreamErrorPhPv + 38
17 CoreFoundation 0x01df49eb \_CFStreamOpen + 267
18 CoreFoundation 0x01e03e88 CFReadStreamOpen + 104
19 CFNetwork 0x0067167c \_ZN12HTTPProtocol10openStreamEv + 202
20 CFNetwork 0x006719f6 \_ZN12HTTPProtocol26useNetConnectionForRequestEP17\_\_CFNetConnectionP15\_\_CFHTTPMessageh + 522
21 CFNetwork 0x00675692 \_ZN24HTTPConnectionCacheEntry25enqueueRequestForProtocolEP12HTTPProtocolP15\_\_CFHTTPMessage + 452
22 CFNetwork 0x0067313d \_ZN19HTTPConnectionCache25EnqueueRequestForProtocolEP12HTTPProtocolP15\_\_CFHTTPMessage + 145
23 CFNetwork 0x005b4ab3 \_ZN12HTTPProtocol12createStreamEv + 1703
24 CFNetwork 0x005b43fd \_ZN12HTTPProtocol19createAndOpenStreamEv + 71
25 CFNetwork 0x00683624 \_ZN19URLConnectionLoader30loaderScheduleOriginLoadLockedEPK13\_CFURLRequest + 314
26 CFNetwork 0x005af64a \_ZN19URLConnectionLoader18loaderScheduleLoadEPK13\_CFURLRequest + 442
27 CFNetwork 0x00684025 \_ZN19URLConnectionLoader26LoaderConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XLoaderEvent18XLoaderEventParamsEl + 307
28 CFNetwork 0x005af33f \_ZN19URLConnectionLoader13processEventsEv + 93
29 CFNetwork 0x005adacf \_ZN17MultiplexerSource7performEv + 251
30 CoreFoundation 0x01e9e8ff \_\_CFRUNLOOP\_IS\_CALLING\_OUT\_TO\_A\_SOURCE0\_PERFORM\_FUNCTION\_\_ + 15
31 CoreFoundation 0x01dfc88b \_\_CFRunLoopDoSources0 + 571
32 CoreFoundation 0x01dfbd86 \_\_CFRunLoopRun + 470
33 CoreFoundation 0x01dfb840 CFRunLoopRunSpecific + 208
34 CoreFoundation 0x01dfb761 CFRunLoopRunInMode + 97
35 Foundation 0x00b00102 +[NSURLConnection(NSURLConnectionReallyInternal) \_resourceLoadLoop:] + 398
36 Foundation 0x00acacf4 -[NSThread main] + 81
37 Foundation 0x00acac80 \_\_NSThread\_\_main\_\_ + 1387
38 libsystem\_c.dylib 0x92e7aed9 \_pthread\_start + 335
39 libsystem\_c.dylib 0x92e7e6de thread\_start + 34
)
[import]uid: 2927 topic_id: 15645 reply_id: 315645[/import]