cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lothar Krenzien <>
Subject NullPointerException in LRUMap.reuseMapping (was DataRowStore.processUpdatedSnapshots)
Date Fri, 09 Jun 2006 11:26:48 GMT
Hi there ,

I'm using the recent Cayenne version with Tomcat 5.5 and Java 5. Since a few days I get very
often a NullPointerException from cayenne. Analysing the stack trace it seems that the exception
is thrown by Apache's commons collection class LRUMap. I've found a possible solution at BugZilla:

There it is saied that it could be a synchronising problem. And I'm getting the exeption only
after a while the server is running and lots of users are connected. Would it be possible
to try the suggestions from BugZilla? There's another post of the same excption in this group
a few days ago. So it seems to be a very serious problem.

What I've just realized that cayenne comes with it's own copy of common collections packed
in the cayenne.jar. For me that seems not be very usefull. Instead of it I would prefer a
link on the cayenne download page. That way I could independently update cayenne and/ or commons

Here's the full stack trace:
at org.objectstyle.cayenne.access.DataRowStore.processUpdatedSnapshots(
at org.objectstyle.cayenne.access.DataRowStore.processSnapshotChanges(
at org.objectstyle.cayenne.access.DataRowStore.snapshotsUpdatedForObjects(
at org.objectstyle.cayenne.access.ObjectResolver.objectsFromDataRows(
at org.objectstyle.cayenne.access.ObjectResolver.synchronizedObjectsFromDataRows(
at org.objectstyle.cayenne.access.DataDomainQueryAction.interceptObjectConversion(
at org.objectstyle.cayenne.access.DataDomainQueryAction.execute(
at org.objectstyle.cayenne.access.DataDomain.onQuery(
at org.objectstyle.cayenne.util.ObjectContextQueryAction.runQuery(
at org.objectstyle.cayenne.access.DataContextQueryAction.execute(
at org.objectstyle.cayenne.access.DataContext.onQuery(
at org.objectstyle.cayenne.access.DataContext.performQuery(
at com.sunreader.sr2.back.dao.ProductDAO.isLoggerAlreadyAvailable(Unknown Source)

Thanks for any help.

Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail:

View raw message