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=gevityinc....@lists.apple.com> on behalf of Ricardo Parada <rpar...@mac.com> Date: Saturday, March 17, 2018 at 5:34 PM To: Michael Kondratov <mich...@aspireauctions.com> Cc: WebObjects-Dev <webobjects-dev@lists.apple.com> 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 <mich...@aspireauctions.com<mailto:mich...@aspireauctions.com>> 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 (Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com This email sent to rpar...@mac.com<mailto:rpar...@mac.com>
_______________________________________________ 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