• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Vexing Update Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Vexing Update Problem


  • Subject: Vexing Update Problem
  • From: Cornelius Jaeger <email@hidden>
  • Date: Wed, 9 May 2007 11:28:49 +0200

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
 _______________________________________________
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

  • Follow-Ups:
    • Re: Vexing Update Problem
      • From: Chuck Hill <email@hidden>
  • Prev by Date: MSIE is not the postman
  • Next by Date: NSTimer replacement?
  • Previous by thread: Re: MSIE is not the postman
  • Next by thread: Re: Vexing Update Problem
  • Index(es):
    • Date
    • Thread