Bugs item #555026, was opened at 2002-05-12 06:13
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=555026&group_id=22866
Category: JBossServer
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeff Schnitzer (lhoriman)
>Assigned to: Sacha Labourey (slaboure)
Summary: LRUCachePolicy throws NPE if Trace on
Initial Comment:
LRUEnterpriseContextCachePolicy.remove() will always throw
NPE if trace deubg level is enabled. The ContextLRUList
entryRemoved() hook does a toString() on the entry, which calls
hashCode() on m_object. Of course, by this point in the remove,
m_object has been set to null...
Probably
LRUCacheEntry.toString() should check m_object for
null.
This stack trace pretty much explains it all:
Caused
by: java.lang.NullPointerException
at
org.jboss.util.LRUCachePolicy$LRUCacheEntry.toString(LRUCachePolicy.java:453)
at
java.lang.String.valueOf(String.java:2173)
at
java.lang.StringBuffer.append(StringBuffer.java:369)
at
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$ContextLRUList.entryRemoved(LRUEnterpriseContextCachePolicy.java:457)
at
org.jboss.util.LRUCachePolicy$LRUList.remove(LRUCachePolicy.java:389)
at
org.jboss.util.LRUCachePolicy.remove(LRUCachePolicy.java:178)
at
org.jboss.ejb.plugins.AbstractInstanceCache.remove(AbstractInstanceCache.java:257)
...
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=555026&group_id=22866
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development