2012-05-03 14 views
1

我收到了一個崩潰。我有一個非常有趣的例外。它是什麼?我收到了一個崩潰。我有一個非常有趣的例外。它是什麼?

objc[4841]: EXCEPTIONS: throwing 0x11c06ac0 (object 0x11c06a30, a NSException) 
objc[4841]: EXCEPTIONS: searching through frame [ip=0x113b9de sp=0xbfffe6d0] for exception 0x11c06aa0 
objc[4841]: EXCEPTIONS: catch(id) 
objc[4841]: EXCEPTIONS: unwinding through frame [ip=0x113b9de sp=0xbfffe6d0] for exception 0x11c06aa0 
objc[4841]: EXCEPTIONS: handling exception 0x11c06aa0 at 0x113bb9c 
objc[4841]: EXCEPTIONS: finishing handler 
objc[4841]: EXCEPTIONS: throwing 0x11ea1220 (object 0x11c06a30, a NSException) 
objc[4841]: EXCEPTIONS: searching through frame [ip=0x113bb8c sp=0xbfffe6d0] for exception 0x11ea1200 
objc[4841]: EXCEPTIONS: searching through frame [ip=0x24b7d83 sp=0xbffff410] for exception 0x11ea1200 
objc[4841]: EXCEPTIONS: unwinding through frame [ip=0x113bb8c sp=0xbfffe6d0] for exception 0x11ea1200 
objc[4841]: EXCEPTIONS: unwinding through frame [ip=0x24b7d83 sp=0xbffff410] for exception 0x11ea1200 
objc[4841]: EXCEPTIONS: handling exception 0x11ea1200 at 0x24b7e16 
objc[4841]: EXCEPTIONS: rethrowing current exception 
objc[4841]: EXCEPTIONS: searching through frame [ip=0x24b7ddf sp=0xbffff410] for exception 0x11ea1200 
objc[4841]: EXCEPTIONS: terminating 
objc[4841]: EXCEPTIONS: searching through frame [ip=0x2731eed sp=0xbffff3a0] for exception 0x11ea1200 
objc[4841]: EXCEPTIONS: catch(id) 
objc[4841]: EXCEPTIONS: unwinding through frame [ip=0x2731eed sp=0xbffff3a0] for exception 0x11ea1200 
objc[4841]: EXCEPTIONS: handling exception 0x11ea1200 at 0x2731eff 
2012-05-03 15:17:22.803 A[4841:16d03] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM insertObject:atIndex:]: index 2 beyond bounds [0 .. 0]' 
*** First throw call stack: 
(0x2581022 0x2731cd6 0x256e33e 0x256f1f0 0x11e149 0x2582e99 0x89a89 0x2582e42 0x113b9df 0x255594f 0x24b8b43 0x24b8424 0x24b7d84 0x24b7c9b 0x27137d8 0x271388a 0x1473626 0x2e6d 0x2de5) 

回答

2

-[__NSArrayM insertObject:atIndex:]: index 2 beyond bounds [0 .. 0]'意味着您正試圖使用​​NSMutableArray的-insertObject:atIndex:其索引值高於數組的實際計數(事實證明它爲空)。

+0

好的,但是異常是什麼意思? – Voloda2

+0

這是例外。 – CodaFi

0

看起來好像你試圖插入數據到一個不存在的索引位置的數組中。

0

從日期開始的行似乎有最好的機會找出發生了什麼。

雖然在這個問題上沒有足夠的信息。

相關問題