Hi All
i've been working on this one for almost two days now and i can't seem to fix it. while adding a 1..n i get an exception:
java.lang.ArrayIndexOutOfBoundsException: 128 at com.webobjects.foundation._NSCollectionEnumerator.nextElement(_NSCollectionEnumerator.java:34) at com.webobjects.eocontrol.EOEditingContext.validateTable(EOEditingContext.java:2245) at com.webobjects.eocontrol.EOEditingContext.validateChangesForSave(EOEditingContext.java:3042) at com.webobjects.eocontrol.EOEditingContext._prepareForPushChanges(EOEditingContext.java:3283) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3213) at screenfood.utility.VFScreamerEditingContext.saveChanges(VFScreamerEditingContext.java:43) at screenfood.utility.ParticipatingEditingContext.saveChanges(ParticipatingEditingContext.java:151)
the array index out of bounds is the weirdest. i'm doing a normal addObjectToBothSides, the objects are in the editing context and not faults. this has me completely stumped, i'm not propagating pk's, basically being a good citizen.
here are the model extracts:
{ destination = VFAsset; isToMany = N; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = assetID; sourceAttribute = assetID; }); name = asset; }
{ destination = VFDynamicContent; isToMany = Y; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = assetID; sourceAttribute = assetID; }); name = dynamicContents; }
i used to manage this manually but wanted the eomodel to handle it for me.
any ideas, or information i should disseminate please let me know
cheers
Cornelius |