Hi Joe,
The problem is lock on EC is held by one thread let's say main thread and
without EC being unlocked another thread i.e., GC thread deallocated the EC.
As Chuck is saying, the said EC is not properly unlocked.
ERXEC ExceptionFriday, April 10, 2009 12:59 AMFrom:"Joe Moreno"
<[email protected]>To:"WebObjects-Dev List List Mailing"
<[email protected]>Hi All,
I'm not familiar with the details of ERXEC and I was wondering, when using
it, if I should ever see the following exception? (Perhaps I have a buggy
version - 5.0.0.8093?)
Thanks,
Joe
[2009-04-09 12:24:57 PDT] <Finalizer> Unable to release locks held by a
deallocated EOEditingContext.
[2009-04-09 12:24:56 PDT] <Finalizer> java.lang.IllegalStateException: Illegal
Lock usage: unlocking thread not owner.
at
com.webobjects.foundation.NSRecursiveLock.unlock(NSRecursiveLock.java:207)
at
com.webobjects.eocontrol.EOEditingContext.unlock(EOEditingContext.java:4720)
at er.extensions.eof.ERXEC.unlock(ERXEC.java:498)
at
com.webobjects.eocontrol.EOEditingContext._dispose(EOEditingContext.java:1158)
at
com.webobjects.eocontrol.EOEditingContext.finalize(EOEditingContext.java:1178)
at er.extensions.eof.ERXEC.finalize(ERXEC.java:619)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]