Re: Strange error
Re: Strange error
- Subject: Re: Strange error
- From: Chuck Hill <email@hidden>
- Date: Wed, 21 Jun 2017 14:11:40 +0000
- Thread-topic: Strange error
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=email@hidden> on behalf of
Markus Ruggiero <email@hidden>
Date: Wednesday, June 21, 2017 at 2:52 AM
To: "email@hidden" <email@hidden>
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Strange error (From: Markus Ruggiero <email@hidden>) |