我有一个具有使应用崩溃的问题核心数据的应用程序,我还没有追查其病因尚未。崩溃的结果之一是,下次启动应用程序时,无法打开应用程序先前使用的持久存储区。从addPersistentStoreWithType:
方法返回以下错误:崩溃无效的URL NSPersistentStoreCoordinator
NSUnderlyingException = Error validating url for store;
,当然,它不能获取任何以前的应用程序存储对象。有谁知道什么可能导致应用程序不再能够找到其持久存储?
导致应用程序之前关闭所有这一切的发生的碰撞产生以下崩溃日志:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0x0007e98c __kill + 8
1 libSystem.B.dylib 0x0007e97c kill + 4
2 libSystem.B.dylib 0x0007e96e raise + 10
3 libSystem.B.dylib 0x0009361a abort + 34
4 libstdc++.6.dylib 0x000453b0 __gnu_cxx::__verbose_terminate_handler() + 376
5 libobjc.A.dylib 0x00005858 _objc_terminate + 104
6 libstdc++.6.dylib 0x00043776 __cxxabiv1::__terminate(void (*)()) + 46
7 libstdc++.6.dylib 0x000437ca std::terminate() + 10
8 libstdc++.6.dylib 0x00043896 __cxa_throw + 74
9 libobjc.A.dylib 0x00004714 objc_exception_throw + 64
10 Foundation 0x000013c2 __NSThreadPerformPerform + 570
11 CoreFoundation 0x00056a96 CFRunLoopRunSpecific + 1834
12 CoreFoundation 0x00056356 CFRunLoopRunInMode + 42
13 GraphicsServices 0x00003b2c GSEventRunModal + 108
14 GraphicsServices 0x00003bd8 GSEventRun + 56
15 UIKit 0x00002768 -[UIApplication _run] + 384
16 UIKit 0x0000146c UIApplicationMain + 688
17 Meetchu 0x00002568 main (main.m:14)
18 Meetchu 0x0000251c start + 32
我无法弄清楚什么是从这个信息发生。任何人都可以帮助解决这些错误吗?
非常感谢提前。
有关错误的信息: 域= NSCocoaErrorDomain 代码= 258 “操作无法完成(可口可乐错误258)。” – 2010-07-06 19:08:44