• 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
Unable to release locks held by deallocated EOEditingContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to release locks held by deallocated EOEditingContext


  • Subject: Unable to release locks held by deallocated EOEditingContext
  • From: Joe Moreno <email@hidden>
  • Date: Fri, 25 Jul 2008 22:41:19 -0400

WebObjects 5.3.3 on:

ProductName: Mac OS X Server
ProductVersion: 10.4.11
BuildVersion: 8S2169

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
Java HotSpot(TM) Server VM (build 1.5.0_13-121, mixed mode)



In the WO app instance logs I'm getting seemingly random "Unable to release locks held by deallocated EOEditingContext." exceptions.

I'm not quite sure what is causing these exceptions which I cannot consistently reproduce.

The following is a sample app instance logs with both EOAdaptorDebugEnabled & WODebuggingEnabled set to true right after the app instance was launched.



[2008-07-22 14:46:29 PDT] <main> The URL for webserver connect is:
http://www.example.com/WebObjects/MyApp.woa/-21001
[2008-07-22 14:46:29 PDT] <main> null
[2008-07-22 14:46:29 PDT] <main> Waiting for requests...
[2008-07-22 14:47:10 PDT] <Finalizer> Unable to release locks held by a deallocated EOEditingContext.
[2008-07-22 14:47:10 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 com.webobjects.eocontrol.EOEditingContext._dispose(EOEditingContext.java:1158)
at com.webobjects.eocontrol.EOEditingContext.finalize(EOEditingContext.java:1178)
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)

[2008-07-22 14:47:10 PDT] <WorkerThread5>  === Begin Internal Transaction
[2008-07-22 14:47:10 PDT] <WorkerThread5>  evaluateExpression: <"SELECT t0.ACCOUNT_BALANCE, t0.CITY, t0.COMPANY_NAME, t0.COUNTRY, t0.CREATION_TIMESTAMP, t0.EMAIL_ADDRESS, t0.FAX_NUMBER, t0.FIRST_NAME, t0.IS_ACTIVE_INTEGER, t0.LAST_LOGIN_TIMESTAMP, t0.LAST_NAME, t0.LOGIN_COUNT, t0.OID, t0.PARTNER_ID, t0.PASSWORD, t0.PHONE_NUMBER, t0.STATE, t0.STREET_ADDRESS_1, t0.STREET_ADDRESS_2, t0.ZIP FROM USER t0 WHERE (t0.IS_ACTIVE_INTEGER = ? AND t0.EMAIL_ADDRESS like ? AND t0.PASSWORD = ?)" withBindings: 1:1(isActiveInteger), 2:"email@hidden"(emailAddress), 3:"lauren"(password)>
[2008-07-22 14:47:10 PDT] <WorkerThread5> 0 row(s) processed
[2008-07-22 14:47:10 PDT] <WorkerThread5>  === Commit Internal Transaction
[2008-07-22 14:47:17 PDT] <WorkerThread6>  === Begin Internal Transaction


I'm not sure where to begin looking for the cause of this exception.

Can anyone point me in the right direction?

Thanks,
Joe

 _______________________________________________
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: Unable to release locks held by deallocated EOEditingContext
      • From: Art Isbell <email@hidden>
References: 
 >OpenbasePKPlugin: NEWID FOR null ID (From: Shelley Eitzen <email@hidden>)

  • Prev by Date: Re: Generics and 5.3.3
  • Next by Date: Re: Unable to release locks held by deallocated EOEditingContext
  • Previous by thread: OpenbasePKPlugin: NEWID FOR null ID
  • Next by thread: Re: Unable to release locks held by deallocated EOEditingContext
  • Index(es):
    • Date
    • Thread