strange problem with CoreData and SQLite persistent store
strange problem with CoreData and SQLite persistent store
- Subject: strange problem with CoreData and SQLite persistent store
- From: Michael Link <email@hidden>
- Date: Tue, 25 Apr 2006 10:41:37 -0500
Almost everytime I save the managedObjectContext I see the following
errors when the persistent store is SQLite.
*** -[NSXMLNode UTF8String]: selector not recognized [self = 0x60099f0]
*** -[NSXMLNode UTF8String]: selector not recognized [self = 0x60099f0]
Almost always 2 in a row.
#0 0x92991008 in -[NSException raise]
#1 0x92990e5c in +[NSException raise:format:]
#2 0x92969f4c in -[NSObject(NSForwardInvocation) forward::]
#3 0x90a4b0b0 in _objc_msgForward
#4 0x940ed15c in -[NSSQLiteConnection execute]
#5 0x9412b294 in -[NSSQLiteConnection insertRow:]
#6 0x940fbd90 in -[NSSQLConnection performAdapterOperations:]
#7 0x940fb664 in -[NSSQLCore _performChangesWithAdapterOps:]
#8 0x940facb4 in -[NSSQLCore performChanges]
#9 0x940f8c28 in -[NSSQLCore saveChanges:]
#10 0x940ef5f0 in -[NSSQLCore executeRequest:withContext:]
#11 0x940e36f8 in -[NSPersistentStoreCoordinator(_NSInternalMethods)
executeRequest:withContext:]
#12 0x940f6b68 in -[NSManagedObjectContext save:]
The second save will result in a crash...
Program received signal: "EXC_BAD_ACCESS".
#0 0x944d9430 in sqlite3VdbeHalt
#1 0x944d94ec in sqlite3VdbeReset
#2 0x944d95ec in sqlite3VdbeFinalize
#3 0x944bfe90 in sqlite3_finalize
#4 0x940edbc0 in -[NSSQLiteConnection _finalizeStatement]
#5 0x940edb44 in -[NSSQLiteConnection releaseSQLStatement]
#6 0x9412aaa0 in -[NSSQLiteConnection rollbackTransaction]
#7 0x94126fd0 in -[NSSQLCore rollbackChanges]
#8 0x940f8c8c in -[NSSQLCore saveChanges:]
#9 0x940ef5f0 in -[NSSQLCore executeRequest:withContext:]
#10 0x940e36f8 in -[NSPersistentStoreCoordinator(_NSInternalMethods)
executeRequest:withContext:]
#11 0x940f6b68 in -[NSManagedObjectContext save:]
This doesn't happen with the XML store or In Memory stores...
Anyone have any hints as to what might be going on? My object graph
has entities that use non-standard attributes (pre-calculated fetch)
and (delayed-update), and I have a to-many relationship that doesn't
have an inverse. I don't know if that would affect using a SQLite
persistent store though...
--
Michael
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden