Hi Markus,

The root cause was that the user did something (most likely, though a rare code 
bug is also a possibility) so that they were working with an EO that was not 
registered in an EC.  The messages below come from the code reporting this.

Mostly I have seen this happen by the user back-tracking in the browser.  Eg. 
Start a New operation, Cancel it (ec.revert()), then back track and enter data 
in the new EO and Save.  Or delete and then backtrack.  Other logic errors can 
result in this too.

Chuck

From: Webobjects-dev 
<webobjects-dev-bounces+chill=gevityinc....@lists.apple.com> on behalf of 
Markus Ruggiero <mailingli...@kataputt.com>
Date: Wednesday, June 21, 2017 at 2:52 AM
To: "webobjects-dev@lists.apple.com" <webobjects-dev@lists.apple.com>
Subject: Strange error

A customer just reported a problem in a functionality that has not been touched 
for at least 3 years.



Error:

java.lang.IllegalStateException: Found null delegate. You can disable this 
check by setting er.extensions.ERXRaiseOnMissingEditingContextDelegate=false in 
your WebObjects.properties

Reason:

Found null delegate. You can disable this check by setting 
er.extensions.ERXRaiseOnMissingEditingContextDelegate=false in your 
WebObjects.properties


Setting er.extensions.ERXRaiseOnMissingEditingContextDelegate=false in the 
Properties File results in:

Error:

java.lang.IllegalStateException: Attempt to access an EO that has either not 
been inserted into any EOEditingContext or its EOEditingContext has already 
been disposed

Reason:

Attempt to access an EO that has either not been inserted into any 
EOEditingContext or its EOEditingContext has already been disposed



We are trying to reproduce this and get some more info about what the user has 
done and whether there is something in the log files. In the mean time I dare 
asking here :-)

Anyone got an idea what this could be?

Thanks
---markus---


 _______________________________________________
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

Reply via email to