getbridge / bridge-objc

Bridge for Objective C
MIT License
3 stars 1 forks source link

NSMutableArray insertObject:atIndex:]: attempt to insert nil object at 0 #5

Closed loretoparisi closed 12 years ago

loretoparisi commented 12 years ago

2012-07-06 01:23:00.007 musiXmatch[29931:607] Beginning handshake 2012-07-06 01:23:00.018 musiXmatch[29931:607] { command = CONNECT; data = { "api_key" =xxxxxxxxxxxxx; session = ( "", "" ); }; } 2012-07-06 01:23:00.019 musiXmatch[29931:607] sending: {"command":"CONNECT","data":{"api_key":"xxxxxxxxxxxxx","session":[null,null]}} 2012-07-06 01:23:00.286 musiXmatch[29931:607] Connect length: 33 2012-07-06 01:23:00.288 musiXmatch[29931:607] client_id received: dicmhnlkmnjihkjk 2012-07-06 01:23:00.289 musiXmatch[29931:607] sending: {"command":"JOINCHANNEL","data":{"name":"musixmatch-lyrics-ch","handler":{"ref":["client","dicmhnlkmnjihkjk","fzxc0WG0lV"],"operations":["message"]}}} 2012-07-06 01:23:00.290 musiXmatch[29931:607] Handshake complete 2012-07-06 01:23:00.796 musiXmatch[29931:607] Body length: 219 2012-07-06 01:23:00.810 musiXmatch[29931:607] received: {"source":"dicmhnlkmnjihkjk","destination":{"ref":["client","dicmhnlkmnjihkjk","system","hookChannelHandler"]},"args":["musixmatch-lyrics-ch",{"ref":["client","dicmhnlkmnjihkjk","fzxc0WG0lV"],"operations":["message"]}]} 2012-07-06 01:23:32.443 musiXmatch[29931:607] Body length: 233 2012-07-06 01:23:32.446 musiXmatch[29931:607] received: {"source":"bjiebfdgifdmggjj","destination":{"ref":["named","channel:musixmatch-lyrics-ch","system","getService"]},"args":["channel:musixmatch-lyrics-ch",{"ref":["client","bjiebfdgifdmggjj","3u873y5xe7ru"],"operations":["callback"]}]} 2012-07-06 01:23:32.628 musiXmatch[29931:607] Logging error (iPhone OS|4.3.5): * -[NSMutableArray insertObject:atIndex:]: attempt to insert nil object at 0 ( 0 CoreFoundation 0x361c764f exceptionPreprocess + 114 1 libobjc.A.dylib 0x33420c5d objc_exception_throw + 24 2 CoreFoundation 0x3612fefd -[NSArrayM insertObject:atIndex:] + 472 3 CoreFoundation 0x3612fd1b -[NSArrayM addObject:] + 34 4 musiXmatch 0x0016cf69 -[BridgeRemoteObject forwardInvocation:] + 356 5 CoreFoundation 0x361ca68d forwarding + 576 6 CoreFoundation 0x36141180 _CF_forwarding_prep_0 + 48 7 musiXmatch 0x0016d9f5 -[BridgeSystemService getService::] + 132 8 CoreFoundation 0x361ca7a4 invoking**_ + 68 9 CoreFoundation 0x3614243d -[NSInvocation invoke] + 108 10 musiXmatch 0x0016bc8f -[BridgeDispatcher executeUsingReference:withArguments:] + 474 11 musiXmatch 0x0016b8a3 -[BridgeConnection onMessage:fromSocket:] + 314 12 musiXmatch 0x0016e059 -[BridgeTCPSocket socket:didReadData:withTag:] + 424 13 musiXmatch 0x0017cf6b __37-[GCDAsyncSocket completeCurrentRead]_block_invoke_0 + 94 14 libdispatch.dylib 0x330468e7 _dispatch_call_block_and_release + 10 15 libdispatch.dylib 0x330421f5 _dispatch_main_queue_callback_4CF$VARIANT$up + 312 16 CoreFoundation 0x361a193b CFRunLoopRun + 1334 17 CoreFoundation 0x36131ec3 CFRunLoopRunSpecific + 230 18 CoreFoundation 0x36131dcb CFRunLoopRunInMode + 58 19 GraphicsServices 0x358eb41f GSEventRunModal + 114 20 GraphicsServices 0x358eb4cb GSEventRun + 62 21 UIKit 0x34fdbd69 -[UIApplication _run] + 404 22 UIKit 0x34fd9807 UIApplicationMain + 670 23 musiXmatch 0x0006dd8d main + 60 24 musiXmatch 0x00003690 start + 40 ) (lldb)

loretoparisi commented 12 years ago

Suppose that this was due to the same bug I submitted before, so going to close it.