cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: NPE in DataRowStore (solved)
Date Wed, 28 Jun 2006 07:48:32 GMT


On Jun 27, 2006, at 4:24 PM, Lothar Krenzien wrote:

> Hi ,
>
> after hours of searching we found out the reason for the above  
> exception. In our servlet(s) we created a new DataContext for each  
> request and assigned this object to a static variable, so that the  
> further methods worked with an inconsitent context. After  
> 'converting' it to a local variable it works fine.
>
>
> Lothar

Good to know that this is no longer a problem. Not entirely sure how  
a corrpt DataContext could affect the LRUMap, but I guess this was  
due to ObjectStore in invalid state writing garbage to the  
DataRowStore. I'll close CAY-565, we can reopen it later if somebody  
else stumbles on the issue.

Andrus

Mime
View raw message