Failed to provide primary keys?
Failed to provide primary keys?
- Subject: Failed to provide primary keys?
- From: Kieran Kelleher <email@hidden>
- Date: Tue, 13 Jul 2010 12:45:01 -0400
Trying to track this down is like a needle in a haystack and I can never reproduce it in development. Any ideas on a strategy to capture the root cause?
Error processing file: /tmp/JGZ36CHBY17ZGH7FH518CNCBY_BdrWithSuppression.txt. Erroneous results for import are: isSuccess = false;
messages = null;
userInfo = null
java.lang.RuntimeException: Root Cause: IllegalStateException: Adaptor er.extensions.jdbc.ERXJDBCAdaptor@2ff88688 failed to provide new primary keys for entity 'CTDataRecord'; Currently 0 active ECs : {})No open editing contexts (of 0)0 active ObjectStoreCoordinators : {})No open ObjectStoreCoordinator (of 0)
at wk.webobjects.eof.ImportEnterpriseObjectData.processFile(ImportEnterpriseObjectData.java:156)
at wk.webobjects.eof.ImportEnterpriseObjectData.run(ImportEnterpriseObjectData.java:364)
at wk.webobjects.eof.ImportEnterpriseObjectData.call(ImportEnterpriseObjectData.java:371)
at wk.webobjects.eof.ImportEnterpriseObjectData.call(ImportEnterpriseObjectData.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.IllegalStateException: Adaptor er.extensions.jdbc.ERXJDBCAdaptor@2ff88688 failed to provide new primary keys for entity 'CTDataRecord'
at com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5885)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:409)
at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3226)
at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1085)
at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1007)
at wk.webobjects.eof.ImportEnterpriseObjectData.processFile(ImportEnterpriseObjectData.java:147)
... 8 more
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden