CoreData Multiple Time Update Will Invoke a Crash

"This is run on the background queue"

CoreData Table Course is Updating

CoreData: error: Serious application error. Exception was caught during Core Data change processing. This is usually a bug within an observer of NSManagedObjectContextObjectsDidChangeNotification. -[__NSCFSet addObject:]: attempt to insert nil with userInfo (null)

libc++abi.dylib: terminating with uncaught exception of type NSException


* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT

frame #0: 0x000000010b9a3d42 libsystem_kernel.dylib`__pthread_kill + 10

frame #1: 0x000000010b9db457 libsystem_pthread.dylib`pthread_kill + 90

frame #2: 0x000000010b66018a libsystem_c.dylib`__abort + 144

frame #3: 0x000000010b6600fa libsystem_c.dylib`abort + 142

frame #4: 0x000000010a66691f libc++abi.dylib`abort_message + 245

frame #5: 0x000000010a666abb libc++abi.dylib`default_terminate_handler() + 265

frame #6: 0x00000001083941be libobjc.A.dylib`_objc_terminate() + 97

frame #7: 0x000000010a682159 libc++abi.dylib`std::__terminate(void (*)()) + 8

frame #8: 0x000000010a681e0a libc++abi.dylib`__cxa_rethrow + 99

frame #9: 0x00000001083940dc libobjc.A.dylib`objc_exception_rethrow + 40

frame #10: 0x000000010972e909 CoreFoundation`CFRunLoopRunSpecific + 537

frame #11: 0x000000010f8d39c6 GraphicsServices`GSEventRunModal + 62

frame #12: 0x00000001050bf5d6 UIKit`UIApplicationMain + 159

* frame #13: 0x0000000104225957 CloodOn`main at AppDelegate.swift:15

frame #14: 0x000000010b58dd81 libdyld.dylib`start + 1


I have been facing this issue oftenly whenever I am updating the CoreData Course Table with new values. Can anyone help me how do I get this resolved. Please let us know if require I will send the sample Code.
@Apple Team/And Expert Developers: Fast reply is most Appretiated.

Replies

I am also getting this error. Did you find any solution to this issue?