On May 27, 2009, at 12:02 PM, Frank Stock wrote:

Hi,

In my Entity, one of my Attributes has mutableArray as prototype.

See Commandment 7:
http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF-The+EOF+Commandments

See page 32 of Practical WebObjects.

You want to be really, really sure you know what you are doing if you use mutable values. Get it wrong, and EOF will have its revenge.


So if is set that Attribute and do saveChanges, the I get the error. It was working in the past, so I think it might have something to do with an update (nightly wolips?, wonder?)
I really don't now where to look.

Check for changes in ERXGenericRecord. Maybe something created an infinte loop if you use mutable values:

27 18:08:08 chemlabVerkoop[53722] (ERXDatabaseContextDelegate.java: 160) INFO er.transaction.adaptor.Exceptions - Database Exception occured: com.webobjects.foundation.NSForwardException [java.lang.StackOverflowError] null



Chuck


Op 27-mei-09, om 19:51 heeft Chuck Hill het volgende geschreven:


On May 27, 2009, at 9:15 AM, Frank Stock wrote:

Hi,

When setting a ERXMutableArray to a ERXGenericRecord,

What do you mean by "setting a ERXMutableArray to a ERXGenericRecord"?


Chuck

I suddenly get the following error:
Where can I find what is going wrong, it used to work.

27 18:08:08 chemlabVerkoop[53722] (ERXDatabaseContextDelegate.java: 160) INFO er.transaction.adaptor.Exceptions - Database Exception occured: com.webobjects.foundation.NSForwardException [java.lang.StackOverflowError] null mei 27 18:08:08 chemlabVerkoop[53722] (ERXNSLogLog4jBridge.java: 46) DEBUG NSLog - === Rollback Internal Transaction mei 27 18:08:08 chemlabVerkoop[53722] (ERXNSLogLog4jBridge.java: 43) WARN NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
com.webobjects.eoaccess.EOGeneralAdaptorException
[2009-05-27 18:08:08 CEST] <WorkerThread5> com.webobjects.eoaccess.EOGeneralAdaptorException at com .webobjects .eoaccess .EODatabaseContext ._exceptionWithDatabaseContextInformationAdded (EODatabaseContext.java:4685) at com .webobjects .eoaccess.EODatabaseContext.performChanges(EODatabaseContext.java: 6393) at com .webobjects .eocontrol .EOObjectStoreCoordinator .saveChangesInEditingContext(EOObjectStoreCoordinator.java:415) at com .webobjects .eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3226)
        at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:981)
        at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:903)
        at pdf.PDF_paklijst.maak_pdf(PDF_paklijst.java:371)
at Component .VerzendingComponent.uitprintenPacklijst(VerzendingComponent.java: 76)
        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)

Thanks
Frank Stock
_______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net

--
Chuck Hill             Senior Consultant / VP Development

Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/





--
Chuck Hill             Senior Consultant / VP Development

Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/

_______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to