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
Locks, Locks, Locks
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Locks, Locks, Locks
Subject
:
Locks, Locks, Locks
From:
email@hidden
(Anjo Krank)
Date: Thu, 5 Dec 2002 16:21:09 +0100
All,
I have an Asset in the default EC that has associated images. I filter these images via ERXArrayUtilities.filteredArrayWithEntityFetchSpecification which fires a fault in turn. I get *no* message indicating that the EC has no lock, but tons of messages that the EODatabaseContext isn't locked.
Can someone explain to me if we are now expected to lock the database context too in our code?
Cheers, Anjo
DEBUG 11:10:01 er.extensions.ERXNSLogLog4jBridge:40 - *** EODatabaseContext: access without lock!
[2002-12-05 11:10:00 CET] <WorkerThread0> java.lang.Exception: This is not a real exception, just a stack trace of the location of the missing lock:
at com.webobjects.eoaccess.EODatabaseContext._EOAssertSafeMultiThreadedAcce ss(EODatabaseContext.java:4423)
at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseCont ext.java:4376)
at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitialization OfObject(EOAccessArrayFaultHandler.java:63)
at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyM utableArray.java:37)
at com.webobjects.eocontrol._EOCheapCopyMutableArray.objectsNoCopy(_EOCheap CopyMutableArray.java:86)
at com.webobjects.foundation.NSArray.<init>(NSArray.java:393)
at er.extensions.ERXArrayUtilities.filteredArrayWithEntityFetchSpecificatio n(ERXArrayUtilities.java:483)
at ag.kcmedia._File$_FileClazz.filterPossiblePreview(_File.java:22)
at ag.kcmedia.Image.possiblePreview(Image.java:29)
at ag.kcmedia.Image.previewUrl(Image.java:35)
at ag.kcmedia.PRAssetTable.previewUrl(PRAssetTable.java:98)
at java.lang.reflect.Method.invoke(Native Method)
at ag.kcmedia.KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingPro tectedAccessor.java:24)
[snip WO trace]
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
Prev by Date:
Re: While The Database Searches...
Next by Date:
TIME_WAIT and setReuseAddress (Java1.4)
Previous by thread:
RE: While The Database Searches...
Next by thread:
TIME_WAIT and setReuseAddress (Java1.4)
Index(es):
Date
Thread