Re: Strange error
Re: Strange error
- Subject: Re: Strange error
- From: Chuck Hill <email@hidden>
- Date: Sun, 18 Mar 2018 03:00:14 +0000
- Thread-topic: Strange error
That method gets called for all entities, not just read only ones. The check
for being read-only is inside the method.
Some state inside EOF is messed up. Are you doing anything with database
operations in your app? Or it could be concurrency and unlocked EOF access
that is scrambling the state. What changed before this started?
You probably need to figure out what is on line 4700, and what might be null
and work back from there.
Chuck
From: Webobjects-dev
<webobjects-dev-bounces+chill=email@hidden> on behalf of
Ricardo Parada <email@hidden>
Date: Saturday, March 17, 2018 at 5:34 PM
To: Michael Kondratov <email@hidden>
Cc: WebObjects-Dev <email@hidden>
Subject: Re: Strange error
Hi Michael,
It appears one of the objects being saved is for a read only entity. Can you
tell if that is what is going on?
Ricardo
On Mar 17, 2018, at 11:34 AM, Michael Kondratov
<email@hidden<mailto:email@hidden>> wrote:
Hello!
I am getting a new strange error in our new WO application:
java.lang.NullPointerException
at
com.webobjects.eoaccess.EODatabaseContext._verifyNoChangesToReadonlyEntity(EODatabaseContext.java:4700)
at
com.webobjects.eoaccess.EODatabaseContext.performChanges(EODatabaseContext.java:6187)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:376)
at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1178)
at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)
Would any one know what is causing it?
Thank you!
Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden<mailto:email@hidden>
_______________________________________________
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