My two cents worth... CAY-565 was closed because (as it says) we
couldn't reproduce it. It never happened to me again. The other
reporter got sidetracked by other problems that were later fixed, and
also never saw this particular exception again AFAIK. I wasn't
convinced that the bug was entirely resolved but who knows... If you
could reproduce it (especially on the 1.2 release) or shed some light on
any unusual conditions that accompanied it, that'd be great.
I notice that the line number in your exception is different; mine was
LRUMap.java:272. You must be using a different version of
commons.collections than 3.1.
Tore Halset wrote:
> Hello.
>
> I just got a exception from LRUMap.reuseMapping using cayenne-1.2B3.
> I remember this discussion earlier this summer, but is it fixed in
> 1.2 final? CAY-565 are resolved with resolution "Cannot Reproduce"..
>
> java.lang.NullPointerException
> at org.apache.commons.collections.map.LRUMap.reuseMapping
> (LRUMap.java:235)
> at
> org.apache.commons.collections.map.LRUMap.addMapping(LRUMap.java: 211)
> at org.apache.commons.collections.map.AbstractHashedMap.put
> (AbstractHashedMap.java:314)
> at
> org.objectstyle.cayenne.access.DataDomainQueryAction.interceptOIDQuery
> (DataDomainQueryAction.java:187)
> at org.objectstyle.cayenne.access.DataDomainQueryAction.execute
> (DataDomainQueryAction.java:142)
> at
> org.objectstyle.cayenne.access.DataDomain.onQuery(DataDomain.java: 765)
> at org.objectstyle.cayenne.util.ObjectContextQueryAction.runQuery
> (ObjectContextQueryAction.java:253)
> at org.objectstyle.cayenne.access.DataContextQueryAction.execute
> (DataContextQueryAction.java:90)
> at org.objectstyle.cayenne.access.DataContext.onQuery
> (DataContext.java:1422)
> at org.objectstyle.cayenne.access.DataContext.performQuery
> (DataContext.java:1411)
> at org.objectstyle.cayenne.DataObjectUtils.objectForQuery
> (DataObjectUtils.java:290)
> at org.objectstyle.cayenne.DataObjectUtils.objectForPK
> (DataObjectUtils.java:276)
> at org.objectstyle.cayenne.DataObjectUtils.objectForPK
> (DataObjectUtils.java:185)
>
> - Tore.
>
This archive was generated by hypermail 2.0.0 : Thu Jul 27 2006 - 09:12:26 EDT