• 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
Locking/Unlocking-Problem with EditingContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Locking/Unlocking-Problem with EditingContext


  • Subject: Locking/Unlocking-Problem with EditingContext
  • From: Helge Staedtler <email@hidden>
  • Date: Mon, 05 Dec 2005 17:51:02 +0100

Hi all Debugging Experts on EditingContexts,

I have some weird locking-problem which on an irregular basis leads to
following exception:

ERROR #1:
[2005-12-05 10:14:18 CET] <Finalizer> Unable to release locks held by a
deallocated EOEditingContext.
[2005-12-05 10:14:18 CET] <Finalizer> java.lang.IllegalStateException:
Illegal Lock usage: unlock() called without a lock().
    at
com.webobjects.foundation.NSRecursiveLock.unlock(NSRecursiveLock.java:210)
    at
com.webobjects.eocontrol.EOEditingContext.unlock(EOEditingContext.java:4660)
    at
com.webobjects.eocontrol.EOEditingContext.unlock(EOEditingContext.java:4658)
    at
com.webobjects.eocontrol.EOEditingContext._dispose(EOEditingContext.java:109
5)
    at
com.webobjects.eocontrol.EOEditingContext.finalize(EOEditingContext.java:111
3)
    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)

ERROR #2:
[2005-12-05 12:09:02 CET] <Finalizer> Unable to release locks held by a
deallocated EOEditingContext.
[2005-12-05 12:09:02 CET] <Finalizer> java.lang.IllegalStateException:
Illegal Lock usage: unlock() called without a lock().
    at
com.webobjects.foundation.NSRecursiveLock.unlock(NSRecursiveLock.java:210)
    at
com.webobjects.eocontrol.EOEditingContext.unlock(EOEditingContext.java:4660)
    at
com.webobjects.eocontrol.EOEditingContext.unlock(EOEditingContext.java:4658)
    at
com.webobjects.eocontrol.EOEditingContext._dispose(EOEditingContext.java:109
5)
    at
com.webobjects.eocontrol.EOEditingContext.finalize(EOEditingContext.java:111
3)
    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)

Does anyone know which error might be behind this obscure message? I did not
see any reference to my code in the stacktraces. Anyone experienced
something similar?

Some backgroundinfo: This is a WO-app with usually about 10000 requests per
day. Several users (up to 60 in parallel) are using the app which is running
with one instance in concurrent request handling mode.

regards,
Helge

--
Momo was there and joined in, that was all, but for some reason her mere
presence put bright ideas into their heads. -- from Michael Ende's "Momo"

Expect and Respect.


 _______________________________________________
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: Locking/Unlocking-Problem with EditingContext
      • From: Chuck Hill <email@hidden>
References: 
 >Re: How to manage long running tasks (From: Helge Staedtler <email@hidden>)

  • Prev by Date: Re: How to manage long running tasks
  • Next by Date: Re: Stale data in EC
  • Previous by thread: Re: How to manage long running tasks
  • Next by thread: Re: Locking/Unlocking-Problem with EditingContext
  • Index(es):
    • Date
    • Thread