Hi,
When sending a network request to a server that is down, the request timeout in the default 30s or the value set in params.timeout. Instead of getting a callback to the networklistener, I’m getting this cryptic error message:
<code>
2013-05-25 13:33:01.685 Corona Simulator[81149:f03] -[CoronaURLConnection reportErrors]: unrecognized selector sent to instance 0x108d245c0
2013-05-25 13:33:01.685 Corona Simulator[81149:f03] -[CoronaURLConnection reportErrors]: unrecognized selector sent to instance 0x108d245c0
2013-05-25 13:33:01.687 Corona Simulator[81149:f03] (
0 CoreFoundation 0x00007fff9844ef56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff9448fd5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff984db1be -[NSObject doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff9843be23 ___forwarding___ + 371
4 CoreFoundation 0x00007fff9843bc38 _CF_forwarding_prep_0 + 232
5 network.dylib 0x00000001082a205a -[CoronaConnectionDelegate connection:didFailWithError:] + 206
6 Foundation 0x00007fff99939b3b ___NSURLConnectionDidFail_block_invoke_1 + 125
7 Foundation 0x00007fff99939ab8 _NSURLConnectionDidFail + 85
8 CFNetwork 0x00007fff9972675d _ZN19URLConnectionClient23_clientDidFailWithErrorEP9__CFErrorPNS_26ClientConnectionEventQueueE + 667
9 CFNetwork 0x00007fff99725915 _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 885
10 CFNetwork 0x00007fff99725aea _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 1354
11 CFNetwork 0x00007fff99650259 _ZN19URLConnectionClient13processEventsEv + 185
12 CFNetwork 0x00007fff996500fe _ZN17MultiplexerSource7performEv + 212
13 CoreFoundation 0x00007fff983bd4f1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
14 CoreFoundation 0x00007fff983bcd5d __CFRunLoopDoSources0 + 253
15 CoreFoundation 0x00007fff983e3b49 __CFRunLoopRun + 905
16 CoreFoundation 0x00007fff983e3486 CFRunLoopRunSpecific + 230
17 HIToolbox 0x00007fff921052bf RunCurrentEventLoopInMode + 277
18 HIToolbox 0x00007fff9210c56d ReceiveNextEventCommon + 355
19 HIToolbox 0x00007fff9210c3fa BlockUntilNextEventMatchingListInMode + 62
20 AppKit 0x00007fff9308f779 _DPSNextEvent + 659
21 AppKit 0x00007fff9308f07d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
22 AppKit 0x00007fff9308b9b9 -[NSApplication run] + 470
23 AppKit 0x00007fff93307eac NSApplicationMain + 867
24 Corona Simulator 0x00000001000023e4 start + 52
25 ??? 0x0000000000000003 0x0 + 3
)
</code>
Any idea what this means? I’m using the lastest daily build.
Thanks.
Nathan.