杨时伟 2015-09-06 02:55 采纳率: 0%
浏览 1801

coredata问题求指教。。。

图片说明一运行就报错,跪求大神指点
下面是控制台显示:
2015-09-05 06:40:03.802 Scd[687:12249] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
0 CoreFoundation 0x0000000109726a75 exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010b27ebb7 objc_exception_throw + 45
2 CoreFoundation 0x00000001095f50ca -[
NSArrayM insertObject:atIndex:] + 954
3 UIKit 0x000000010a094a24 46-[UITableView _updateWithItems:updateSupport:]_block_invoke919 + 177
4 UIKit 0x000000010a02bbb2 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 473
5 UIKit 0x000000010a02be07 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] + 57
6 UIKit 0x000000010a0945c1 -[UITableView _updateWithItems:updateSupport:] + 2800
7 UIKit 0x000000010a08e637 -[UITableView _endCellAnimationsWithContext:] + 11935
8 Scd 0x000000010919042e _TFFC3Scd19TableViewController7addNameFS0_FPSs9AnyObject_T_U_FGSQCSo13UIAlertAction_T
promote0 + 1854
9 Scd 0x00000001091908b7 TTRXFo_oGSQCSo13UIAlertAction_dT__XFo_iGSQS___iT__ + 23
10 Scd 0x000000010918bc11 TPA_TTRXFo_oGSQCSo13UIAlertAction__dT__XFo_iGSQS___iT__ + 81
11 Scd 0x000000010918fca0 TTRXFo_iGSQCSo13UIAlertAction_iT__XFo_oGSQS___dT__ + 32
12 Scd 0x000000010918fce8 TTRXFo_oGSQCSo13UIAlertAction_dT__XFdCb_dGSQS___dT__ + 56
13 UIKit 0x000000010a212587 -[UIAlertController fireOffActionOnTargetIfValidForAction:] + 55
14 UIKit 0x000000010a212ac9 __85-[UIAlertController _dismissAnimated:triggeringAction:triggeredByPopoverDimmingView:]_block_invoke + 30
15 UIKit 0x000000010a0bb8bc -[UIPresentationController transitionDidFinish:] + 1118
16 UIKit 0x000000010a0bdcfe __56-[UIPresentationController runTransitionForCurrentState]_block_invoke_2 + 133
17 UIKit 0x000000010a712fd0 -[_UIViewControllerTransitionContext completeTransition:] + 110
18 UIKit 0x000000010a02b963 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 326
19 UIKit 0x000000010a0136ca -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 209
20 UIKit 0x000000010a013a00 -[UIViewAnimationState animationDidStop:finished:] + 76
21 QuartzCore 0x000000010df3665e _ZN2CA5Layer23run_animation_callbacksEPv + 308
22 libdispatch.dylib 0x000000010ba25614 _dispatch_client_callout + 8
23 libdispatch.dylib 0x000000010ba0da1c _dispatch_main_queue_callback_4CF + 1664
24 CoreFoundation 0x000000010968e749 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
_ + 9
25 CoreFoundation 0x000000010965162b __CFRunLoopRun + 2043
26 CoreFoundation 0x0000000109650bc6 CFRunLoopRunSpecific + 470
27 GraphicsServices 0x000000010d82ea58 GSEventRunModal + 161
28 UIKit 0x0000000109fb9580 UIApplicationMain + 1282
29 Scd 0x000000010918781e top_level_code + 78
30 Scd 0x000000010918785a main + 42
31 libdyld.dylib 0x000000010ba5a145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

  • 写回答

3条回答 默认 最新

  • 朱鹏飞 2015-09-06 03:21
    关注

    把APP删掉重新运行

    评论

报告相同问题?

悬赏问题

  • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况
  • ¥15 画两个图 python或R
  • ¥15 在线请求openmv与pixhawk 实现实时目标跟踪的具体通讯方法
  • ¥15 八路抢答器设计出现故障
  • ¥15 opencv 无法读取视频
  • ¥15 用matlab 实现通信仿真
  • ¥15 按键修改电子时钟,C51单片机
  • ¥60 Java中实现如何实现张量类,并用于图像处理(不运用其他科学计算库和图像处理库))
  • ¥20 5037端口被adb自己占了
  • ¥15 python:excel数据写入多个对应word文档