cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik" <>
Subject Re: weird stacktrace
Date Wed, 10 May 2006 16:07:27 GMT
No idea, but keep in mind that transaction stuff has been significantly
reworked since M11, so it may not be relevant anymore. It took a while to
figure out the right behavior of the new thread-based transactions, so
this may be related to some of the bugs in the early implementation.


> I haven't started debugging this fully yet, but on a production system
> that is taking a couple thousand hits a day (which all hit the
> DB/Cayenne stack), and which has been deployed for months now, we all
> of sudden started receiving this exception on just about every write
> operation:
> exception: [v.1.2M11 February 13 2006]
> java.lang.IllegalArgumentException: DataDomain can only work with
> DataContext. Unsupported context type: null
> org.objectstyle.cayenne.access.Transaction.onQuery(
> org.objectstyle.cayenne.access.DataDomain.onQuery(
> org.objectstyle.cayenne.access.DataRowStore.getSnapshot(
> org.objectstyle.cayenne.access.ObjectStore.getSnapshot(
> org.objectstyle.cayenne.access.ObjectStore.resolveHollow(
> org.objectstyle.cayenne.access.DataContext.prepareForAccess(
> org.objectstyle.cayenne.CayenneDataObject.readProperty(
> Restarting the app server magically fixed the problem :)
> Any idea what might have happened to trigger this for writes (while
> reads are fine) across all DataContexts?

View raw message