I am  trying to go from webobjets 5.1 to 5.2 but i am in big trouble.

Every time I try to save an object with EOEditingcontext saveChanges the program goes in to a loop.

I have tried with objects that are completely free (no relations to others) but everything makes this recursive loop.
In fact the object is created in the database.

It says:

[2006-01-23 14:15:43 CET] <WorkerThread0> <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request: com.webobjects.foundation.NSForwardException [java.lang.StackOverflowError] null [2006-01-23 14:15:43 CET] <WorkerThread0> com.webobjects.foundation.NSForwardException for java.lang.StackOverflowError
        at java.lang.ref.Reference.<init>(Reference.java:206)
        at java.lang.ref.WeakReference.<init>(WeakReference.java:40)
at com.webobjects.foundation.NSRecursiveLock.tryLock (NSRecursiveLock.java:103) at com.webobjects.eocontrol.EOEditingContext.tryLock (EOEditingContext.java:4636) at com.webobjects.eocontrol.EOEditingContext._sendOrEnqueueNotification (EOEditingContext.java:4714) at com.webobjects.eocontrol.EOEditingContext._globalIDChanged (EOEditingContext.java:1963)
        at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects.foundation.NSSelector._safeInvokeMethod (NSSelector.java:120) at com.webobjects.foundation.NSNotificationCenter $_Entry.invokeMethod(NSNotificationCenter.java:598) at com.webobjects.foundation.NSNotificationCenter.postNotification (NSNotificationCenter.java:542) at com.webobjects.foundation.NSNotificationCenter.postNotification (NSNotificationCenter.java:572) at com.webobjects.eocontrol.EOEditingContext._processGlobalIDChanges (EOEditingContext.java:1959)
        at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)

etc etc etc

Can anybody help me

thanks morten erlandsen

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to