• 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: Chuck Hill <email@hidden>
  • Date: Thu, 29 Sep 2016 10:01:40 +0000
  • Thread-topic: IllegalStateException: "...EOEditingContext has already been disposed"


On Sep 29, 2016, at 11:47 AM, Paul Hoadley <email@hidden> wrote:

Hi Chuck,

On 29 Sep 2016, at 6:27 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? It could be somebody backtracking to before a deletion and then doing something else. I don't see how else it could have a null editing context. Or perhaps an inserted object and it gets reverted and then they backtrack over that?


When do you dispose of the EC?

I don’t formally dispose of it. I just let it eventually fall out of scope and get GC’d. Is that a bad idea?

No but seems the right thing to do. I was just trying to understand how it was getting a null editing context


-- 
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

  • Follow-Ups:
    • Re: IllegalStateException: "...EOEditingContext has already been disposed"
      • From: Paul Hoadley <email@hidden>
References: 
 >IllegalStateException: "...EOEditingContext has already been disposed" (From: Paul Hoadley <email@hidden>)
 >Re: IllegalStateException: "...EOEditingContext has already been disposed" (From: Chuck Hill <email@hidden>)
 >Re: IllegalStateException: "...EOEditingContext has already been disposed" (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: IllegalStateException: "...EOEditingContext has already been disposed"
  • Next by Date: Re: IllegalStateException: "...EOEditingContext has already been disposed"
  • Previous by thread: Re: IllegalStateException: "...EOEditingContext has already been disposed"
  • Next by thread: Re: IllegalStateException: "...EOEditingContext has already been disposed"
  • Index(es):
    • Date
    • Thread