ios - NSObjectInaccessibleException', reason: 'CoreData could not fulfill a fault. How to interpret this? -



ios - NSObjectInaccessibleException', reason: 'CoreData could not fulfill a fault. How to interpret this? -

i trying figure out problem.

many answers cause tried access info deleted. never delete in coredata.

yet delete zgaihit z_pk = ? , z_opt = ? in log.

what perchance problem

2014-06-26 18:44:20.968 isikota[2626:4403] coredata: sql: begin exclusive 2014-06-26 18:44:20.968 isikota[2626:4403] coredata: sql: delete zgaihit z_pk = ? , z_opt = ? 2014-06-26 18:44:20.968 isikota[2626:4403] coredata: sql: commit 2014-06-26 18:44:24.256 isikota[2626:60b] <0xd042b70 newisikotaappdelegate.m:(77)> nav.tabbaritem.title: catalogs 2014-06-26 18:44:24.258 isikota[2626:4403] coredata: sql: begin exclusive 2014-06-26 18:44:24.258 isikota[2626:4403] coredata: sql: commit 2014-06-26 18:44:24.259 isikota[2626:4403] coredata: sql: select count( distinct t0.z_pk) zgaihit t0 2014-06-26 18:44:24.259 isikota[2626:4403] coredata: annotation: total count request execution time: 0.0006s count of 0. 2014-06-26 18:44:24.260 isikota[2626:4403] coredata: sql: begin exclusive 2014-06-26 18:44:24.260 isikota[2626:4403] coredata: sql: commit 2014-06-26 18:44:24.260 isikota[2626:4403] coredata: sql: begin exclusive 2014-06-26 18:44:24.261 isikota[2626:4403] coredata: sql: insert zgaihit(z_pk, z_ent, z_opt, zparameters, ztimestamp) values(?, ?, ?, ?, ?) 2014-06-26 18:44:24.263 isikota[2626:4403] coredata: sql: commit 2014-06-26 18:44:25.857 isikota[2626:4907] *** terminating app due uncaught exception 'nsobjectinaccessibleexception', reason: 'coredata not fulfill fault '0x1632fc80 <x-coredata://7d64d938-3117-4ef6-84f3-a6cb4e249b54/business/p779>'' *** first throw phone call stack: ( 0 corefoundation 0x05e271e4 __exceptionpreprocess + 180 1 libobjc.a.dylib 0x02bfc8e5 objc_exception_throw + 44 2 coredata 0x0279dbeb _pffaulthandlerlookuprow + 2715 3 coredata 0x027cfe88 -[nsfaulthandler fulfillfault:withcontext:] + 40 4 coredata 0x027ac8b9 -[nsmanagedobject(_nsinternalmethods) _newpropertiesforretainedtypes:andcopiedtypes:preservefaults:] + 73 5 coredata 0x027ac85c -[nsmanagedobject(_nsinternalmethods) _newallpropertieswithrelationshipfaultsintact__] + 124 6 coredata 0x027d5ea1 -[nsmanagedobjectcontext(_nsinternaladditions) _committedsnapshotforobject:] + 65 7 coredata 0x0284c4f6 -[nsmanagedobjectcontext(_nsinternaladditions) _currenteventsnapshotforobject:] + 70 8 coredata 0x027d85a2 -[nsmanagedobjectcontext(_nestedcontextsupport) _copychildobject:toparentobject:fromchildcontext:] + 130 9 coredata 0x027d81e8 -[nsmanagedobjectcontext(_nestedcontextsupport) _parentprocesssaverequest:incontext:error:] + 1480 10 coredata 0x02850a14 __82-[nsmanagedobjectcontext(_nestedcontextsupport) executerequest:withcontext:error:]_block_invoke + 676 11 coredata 0x027d2b81 internalblocktonsmanagedobjectcontextperform + 17 12 libdispatch.dylib 0x02eba4d0 _dispatch_client_callout + 14 13 libdispatch.dylib 0x02ea7740 _dispatch_barrier_sync_f_invoke + 58 14 libdispatch.dylib 0x02ea73ea dispatch_barrier_sync_f + 89 15 coredata 0x027d2b02 _perform + 114 16 coredata 0x027d29ae -[nsmanagedobjectcontext(_nestedcontextsupport) executerequest:withcontext:error:] + 238 17 coredata 0x027ad56c -[nsmanagedobjectcontext save:] + 764 18 isikota 0x0002a0c0 __49+[bgmdcrmanagedobjectcontextthreadhandler commit]_block_invoke + 176 19 coredata 0x027d284f developersubmittedblocktonsmanagedobjectcontextperform + 95 20 libdispatch.dylib 0x02eba4d0 _dispatch_client_callout + 14 21 libdispatch.dylib 0x02ea7740 _dispatch_barrier_sync_f_invoke + 58 22 libdispatch.dylib 0x02ea73ea dispatch_barrier_sync_f + 89 23 coredata 0x027d277f -[nsmanagedobjectcontext performblockandwait:] + 127 24 isikota 0x00029a76 +[bgmdcrmanagedobjectcontextthreadhandler commit] + 2758 25 isikota 0x00032507 +[bgfetchclass getobjectwithstringofvalue:fromtable:withattribut:] + 935 26 isikota 0x0003201e +[bgfetchclass getobjectwithstringofvalue:fromtable:] + 222 27 isikota 0x00031ea3 __54+[bgfetchclass getobjectwithstringofvalues:fromtable:]_block_invoke + 99 28 isikota 0x000d8410 -[nsarray(variousdebuggingtools) converteachelementtoanother:] + 400 29 isikota 0x00031dca +[bgfetchclass getobjectwithstringofvalues:fromtable:] + 154 30 isikota 0x000d9255 -[nsarray(variousdebuggingtools) convertdefaultselectorstomanagedobjectwithclass:] + 69 31 isikota 0x0001acc6 -[bggrabclass savedatawithdata:andidtorequest:withdicttosave:heavy:] + 5318 32 isikota 0x00020a9c -[bggrabclass savedatawithdataaftergetbiz1:heavy:] + 796 33 isikota 0x000210a2 -[bggrabclass savedataaftergetbiz1:] + 722 34 isikota 0x000212e8 -[bggrabclass savedataaftergetbiz:] + 456 35 isikota 0x00024444 -[bggrabclass savedatawithnsarraythatcontainsid:] + 708 36 isikota 0x00159f84 +[bgbusinessgrabber arparsereturnid:] + 724 37 isikota 0x001596df +[bgbusinessgrabber vloadobjectswithid:] + 127 38 isikota 0x0007974d -[bgsearchparameter argrabandencodeidofbusinesses] + 157 39 isikota 0x000792ae -[bgsearchparameter executegrabwithcompletionblock:] + 590 40 isikota 0x0007885d -[bgsearchparameter resetstartfromwithcompletionblock:] + 541 41 isikota 0x00045bfa __39-[bgnearbyshortcut reloadbuttonpressed]_block_invoke + 330 42 foundation 0x021d4d65 -[nsblockoperation main] + 88 43 foundation 0x0222dc79 -[__nsoperationinternal _start:] + 671 44 foundation 0x021aa9c8 -[nsoperation start] + 83 45 foundation 0x0222ff44 __nsoqschedule_f + 62 46 libdispatch.dylib 0x02eba4d0 _dispatch_client_callout + 14 47 libdispatch.dylib 0x02ea6fe0 _dispatch_async_redirect_invoke + 202 48 libdispatch.dylib 0x02eba4d0 _dispatch_client_callout + 14 49 libdispatch.dylib 0x02ea8eb7 _dispatch_root_queue_drain + 291 50 libdispatch.dylib 0x02ea9127 _dispatch_worker_thread2 + 39 51 libsystem_pthread.dylib 0x031e9dab _pthread_wqthread + 336 52 libsystem_pthread.dylib 0x031edcce start_wqthread + 30 ) libc++abi.dylib: terminating uncaught exception of type _nscoredataexception

the error happens here:

po1(arupdatedobjects); // objects updated po1(moc.insertedobjects); [moc performblockandwait:^{ @synchronized([bgfetchclass class]) { savesuccesfully = [moc save:&error]; if (!savesuccesfully) { clog(@"error in saving %@", error); //error here } else{ } } }];

ios core-data

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

ruby on rails - Devise Logout Error in RoR -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -