Rép : Re: ec.SaveChanges and relationship
Hi Samuel,There are no SQL _expression_, it fails in fetchSpec when it want to read relationship. So I deleted all relationship between differents models. I have activated foreign keys in class description, set foreign keys and the commit in database works fine. foreign keys exists in database so there are no problem.I took the workaround, time to find a real solution.ThanksEnvoyé depuis iCloudLe 18 jun 2013 à 10:09, Raymond NANEON rnan...@me.com a écrit :Yep Samuel in the stack it tries to fetch personnels in EOIndividuUlr but the problem "personnel".setIndividuRelationship(individu) is a new entity so, there is no primary key ?I am not at my office, may be tomorrow for SQL _expression_.ThanksLe 18 juin 2013 à 18:30, Samuel Pelletier sam...@samkar.com a écrit :Strange, it seems EOF failed to create a global id for a result. I think the stack indicate EOF is fetching toMany named "personnels" in the "EOIndividuUlr" entity.I would check the SQL issued by EOF on the console, you may find the row that cause this, check for primary and foreign key problems.SamuelLe 2013-06-18 à 10:59, Raymond NANEON rnan...@me.com a écrit :Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerExceptionjava.lang.NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) at com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401) at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814) at com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535) at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357) at com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084) at er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634) at com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923) at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265) at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245) at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77) at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39) at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99) at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460) at com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904) at er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223) at utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
ec.SaveChanges and relationship
Hi List,I have a big problem to save my data. When I set the relastionship entity1.setEntity2Relationship(entity2), I get a java NullPointerException at the method who set the relation :addObjectToBothSidesOfRelationshipWithKey(entity2, _Enity1.ENTITY2_KEY); -When I try another way entity1.setEntity2(enity2) I get the same java NullPointerException when I want to save entity1.juin 18 09:34:38 PreProjets[8484] ERROR er.extensions.appserver.ERXApplication - NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) ... skipped 1 stack elements at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) ... skipped 2 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) ... skipped 4 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:373) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192) at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176) at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)Thanks for your help.Envoyé depuis iCloud ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ec.SaveChanges and relationship
Hi Raymond, I have come across those as well some time ago, and it turned out that I didn't strictly obey all the EOF commandments back then. http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-The+EOF+Commandments If you don't follow those, EOF will fight back with all sorts of strange effects, like those NullPointerExceptions, or missing snapshot exceptions and the like. So I suggest you doublecheck those thoroughly. Maik Am 18.06.2013 um 09:44 schrieb Raymond NANEON rnan...@me.com: Hi List, I have a big problem to save my data. When I set the relastionship entity1.setEntity2Relationship(entity2), I get a java NullPointerException at the method who set the relation : addObjectToBothSidesOfRelationshipWithKey(entity2, _Enity1.ENTITY2_KEY); - When I try another way entity1.setEntity2(enity2) I get the same java NullPointerException when I want to save entity1. juin 18 09:34:38 PreProjets[8484] ERROR er.extensions.appserver.ERXApplication - NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) ... skipped 1 stack elements at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) ... skipped 2 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) ... skipped 4 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:373) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192) at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176) at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099) Thanks for your help. Envoyé depuis iCloud ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.ag This email sent to m...@selbstdenker.ag ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Rép : Re: ec.SaveChanges and relationship
Hi Maik,I have read and followed all EOF Commandements but I can't fix the issue.an idea?thanksEnvoyé depuis iCloudLe 18 jun 2013 à 02:43, Musall Maik m...@selbstdenker.ag a écrit :Hi Raymond,I have come across those as well some time ago, and it turned out that I didn't strictly obey all the EOF commandments back then.http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-The+EOF+CommandmentsIf you don't follow those, EOF will fight back with all sorts of strange effects, like those NullPointerExceptions, or missing snapshot exceptions and the like. So I suggest you doublecheck those thoroughly.MaikAm 18.06.2013 um 09:44 schrieb Raymond NANEON rnan...@me.com:Hi List,I have a big problem to save my data. When I set the relastionship entity1.setEntity2Relationship(entity2), I get a java NullPointerException at the method who set the relation :addObjectToBothSidesOfRelationshipWithKey(entity2, _Enity1.ENTITY2_KEY); -When I try another way entity1.setEntity2(enity2) I get the same java NullPointerException when I want to save entity1.juin 18 09:34:38 PreProjets[8484] ERROR er.extensions.appserver.ERXApplication - NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) ... skipped 1 stack elements at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) ... skipped 2 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) ... skipped 4 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:373) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192) at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176) at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)Thanks for your help.Envoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.agThis email sent to m...@selbstdenker.ag___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com This email sent to rnan...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Rép : Re: ec.SaveChanges and relationship
Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerExceptionjava.lang.NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) at com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401) at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814) at com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535) at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357) at com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084) at er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634) at com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923) at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265) at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245) at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77) at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39) at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99) at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460) at com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904) at er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223) at utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122) at com.webobjects.eocontrol.EOCustomObject.addObjectToPropertyWithKey(EOCustomObject.java:940) at com.webobjects.eocontrol.EOCustomObject.addObjectToBothSidesOfRelationshipWithKey(EOCustomObject.java:1055) at er.extensions.eof.ERXGenericRecord.addObjectToBothSidesOfRelationshipWithKey(ERXGenericRecord.java:582) at utt.rec.projet.server.metier.admrec._EOPersonnel.setIndividuRelationship(_EOPersonnel.java:128) at utt.rec.projet.server.components.controler.NextProjectCtrl.ajoutPerson(NextProjectCtrl.java:796) at utt.rec.projet.server.components.controler.NextProjectCtrl.updatePers(NextProjectCtrl.java:672) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
Rép : Re: ec.SaveChanges and relationship
Oupppsss, I forgot something, EOIndividuUlr and EOPersonnel are in differents models.Envoyé depuis iCloudLe 18 jun 2013 à 07:59, Raymond NANEON rnan...@me.com a écrit :Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerExceptionjava.lang.NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) at com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401) at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814) at com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535) at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357) at com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084) at er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634) at com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923) at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265) at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245) at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77) at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39) at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99) at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460) at com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904) at er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223) at utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122) at com.webobjects.eocontrol.EOCustomObject.addObjectToPropertyWithKey(EOCustomObject.java:940) at com.webobjects.eocontrol.EOCustomObject.addObjectToBothSidesOfRelationshipWithKey(EOCustomObject.java:1055) at er.extensions.eof.ERXGenericRecord.addObjectToBothSidesOfRelationshipWithKey(ERXGenericRecord.java:582) at utt.rec.projet.server.metier.admrec._EOPersonnel.setIndividuRelationship(_EOPersonnel.java:128) at utt.rec.projet.server.components.controler.NextProjectCtrl.ajoutPerson(NextProjectCtrl.java:796) at utt.rec.projet.server.components.controler.NextProjectCtrl.updatePers(NextProjectCtrl.java:672) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
Re: ec.SaveChanges and relationship
I would bet your objects are not from the same EOEditingContext. You can verify in the debugger of add a call to localInstanceIn(ec) before using it for your relationship. Samuel Le 2013-06-18 à 05:43, Musall Maik m...@selbstdenker.ag a écrit : Hi Raymond, I have come across those as well some time ago, and it turned out that I didn't strictly obey all the EOF commandments back then. http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-The+EOF+Commandments If you don't follow those, EOF will fight back with all sorts of strange effects, like those NullPointerExceptions, or missing snapshot exceptions and the like. So I suggest you doublecheck those thoroughly. Maik Am 18.06.2013 um 09:44 schrieb Raymond NANEON rnan...@me.com: Hi List, I have a big problem to save my data. When I set the relastionship entity1.setEntity2Relationship(entity2), I get a java NullPointerException at the method who set the relation : addObjectToBothSidesOfRelationshipWithKey(entity2, _Enity1.ENTITY2_KEY); - When I try another way entity1.setEntity2(enity2) I get the same java NullPointerException when I want to save entity1. juin 18 09:34:38 PreProjets[8484] ERROR er.extensions.appserver.ERXApplication - NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) ... skipped 1 stack elements at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) ... skipped 2 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) ... skipped 4 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:373) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192) at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176) at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099) Thanks for your help. Envoyé depuis iCloud ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.ag This email sent to m...@selbstdenker.ag ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com This email sent to sam...@samkar.com smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Rép : Re: ec.SaveChanges and relationship
Are they in the same database? If so, the connection information for the two models must be absolutely identical. Chuck On 2013-06-18, at 8:01 AM, Raymond NANEON wrote: Oupppsss, I forgot something, EOIndividuUlr and EOPersonnel are in differents models. Envoyé depuis iCloud Le 18 jun 2013 à 07:59, Raymond NANEON rnan...@me.com a écrit : Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerException java.lang.NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) at com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401) at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814) at com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535) at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357) at com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084) at er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634) at com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923) at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265) at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245) at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77) at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39) at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99) at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460) at com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904) at er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223) at utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122) at com.webobjects.eocontrol.EOCustomObject.addObjectToPropertyWithKey(EOCustomObject.java:940) at com.webobjects.eocontrol.EOCustomObject.addObjectToBothSidesOfRelationshipWithKey(EOCustomObject.java:1055) at
Re: ec.SaveChanges and relationship
Strange, it seems EOF failed to create a global id for a result. I think the stack indicate EOF is fetching toMany named personnels in the EOIndividuUlr entity. I would check the SQL issued by EOF on the console, you may find the row that cause this, check for primary and foreign key problems. Samuel Le 2013-06-18 à 10:59, Raymond NANEON rnan...@me.com a écrit : Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerException java.lang.NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) at com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401) at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814) at com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535) at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357) at com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084) at er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634) at com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923) at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265) at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245) at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77) at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39) at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99) at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460) at com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904) at er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223) at utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122) at com.webobjects.eocontrol.EOCustomObject.addObjectToPropertyWithKey(EOCustomObject.java:940) at com.webobjects.eocontrol.EOCustomObject.addObjectToBothSidesOfRelationshipWithKey(EOCustomObject.java:1055) at
Re: ec.SaveChanges and relationship
Yep Samuel in the stack it tries to fetch personnels in EOIndividuUlr but the problem personnel.setIndividuRelationship(individu) is a new entity so, there is no primary key ? I am not at my office, may be tomorrow for SQL expression. Thanks Le 18 juin 2013 à 18:30, Samuel Pelletier sam...@samkar.com a écrit : Strange, it seems EOF failed to create a global id for a result. I think the stack indicate EOF is fetching toMany named personnels in the EOIndividuUlr entity. I would check the SQL issued by EOF on the console, you may find the row that cause this, check for primary and foreign key problems. Samuel Le 2013-06-18 à 10:59, Raymond NANEON rnan...@me.com a écrit : Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerException java.lang.NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) at com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401) at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814) at com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535) at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357) at com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084) at er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634) at com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923) at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265) at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245) at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77) at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39) at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99) at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460) at com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904) at er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223) at utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
Re: ec.SaveChanges and relationship
Models are on the same database. I have set relationship two entities in the same model and there is no problem but with another model it fails. I use dbConnectServerGLOBAL, dbConnectUserGLOBAL, dbConnectPasswordGLOBAL for models and there is no connection problem. Thanks Chuck Le 18 juin 2013 à 18:05, Chuck Hill ch...@global-village.net a écrit : Are they in the same database? If so, the connection information for the two models must be absolutely identical. Chuck On 2013-06-18, at 8:01 AM, Raymond NANEON wrote: Oupppsss, I forgot something, EOIndividuUlr and EOPersonnel are in differents models. Envoyé depuis iCloud Le 18 jun 2013 à 07:59, Raymond NANEON rnan...@me.com a écrit : Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerException java.lang.NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) at com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401) at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814) at com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535) at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357) at com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084) at er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634) at com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923) at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265) at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245) at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77) at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39) at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99) at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460) at com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904) at er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223) at utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at