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 <[email protected]> on behalf of Ricardo Parada <[email protected]> Date: Saturday, March 17, 2018 at 5:34 PM To: Michael Kondratov <[email protected]> Cc: WebObjects-Dev <[email protected]> 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 protected]<mailto:[email protected]>> 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 protected]<mailto:[email protected]>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com This email sent to [email protected]<mailto:[email protected]>
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
