• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IllegalStateException: "...EOEditingContext has already been disposed"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IllegalStateException: "...EOEditingContext has already been disposed"


  • Subject: Re: IllegalStateException: "...EOEditingContext has already been disposed"
  • From: Ricardo Parada <email@hidden>
  • Date: Sat, 01 Oct 2016 11:44:52 -0400

Hi Paul,

I don’t know if this is what is going on in your case but I once had a problem where an EO was inserted into an editing context, then the editing context was reverted, i.e. ec.revert().  Then the app has a variable holding on to a reference to the EO.  However, that EO’s editing context became null, i.e. eo.editingContext() == null after the revert and it was causing a problem.  



On Sep 30, 2016, at 9:49 PM, Paul Hoadley <email@hidden> wrote:

On 29 Sep 2016, at 11:25 PM, Chuck Hill <email@hidden> wrote:

Backtracking?

I can’t seem to reproduce it in development using backtracking, but _who knows_ what the users are doing in real life.

Amen brother! Is The object in question ever deleted?

Potentially, but can’t be deleted by the user that’s seeing this error. So it could have been deleted by _someone else_ quite definitely, though in another EC.

Bingo!  If the EC on the Page is getting unlocked and locked again then this is probably what it is

I can’t seem to reproduce it, though I’m happy enough to tentatively blame backtracking and concurrent modification for now.


-- 
Paul Hoadley
http://logicsquad.net/


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
  • Prev by Date: Restarting wotaskd without shutting down app instances
  • Next by Date: Re: Changes
  • Previous by thread: Restarting wotaskd without shutting down app instances
  • Next by thread: Re: Changes
  • Index(es):
    • Date
    • Thread