Re: clearThreadLocalMap and NullPointerException

2010-11-24 Thread Blair Zajac
On Nov 24, 2010, at 12:41 AM, Mark Thomas wrote: > On 24/11/2010 01:28, Blair Zajac wrote: >> On Nov 23, 2010, at 4:49 PM, Blair Zajac wrote: >>> On Nov 23, 2010, at 2:24 AM, Mark Thomas wrote: >>>> Do let us know what the problem was when you find it. >>>

Re: the memory puzzle me....

2010-11-23 Thread Blair Zajac
You should check out jvisualvm which comes with any recent HotSpot JVM. I don't have a copy available on the laptop I'm on right now, but by looking at the screenshots, it looks like it shows the permanent generation: http://wiki.oracle.com/page/How+to+use+JConsole,+JVisualVM+or+VisualVM+w

Re: clearThreadLocalMap and NullPointerException

2010-11-23 Thread Blair Zajac
On Nov 23, 2010, at 4:49 PM, Blair Zajac wrote: > > On Nov 23, 2010, at 2:24 AM, Mark Thomas wrote: > >> On 23/11/2010 02:19, Blair Zajac wrote: >> >>> Any suggestions in tracking this down? Would a custom Tomcat build that >>> gets each key a

Re: clearThreadLocalMap and NullPointerException

2010-11-23 Thread Blair Zajac
On Nov 23, 2010, at 2:24 AM, Mark Thomas wrote: > On 23/11/2010 02:19, Blair Zajac wrote: > >> Any suggestions in tracking this down? Would a custom Tomcat build that >> gets each key and value in a try/catch block be useful? > > Almost certainly. As far as I can tel

clearThreadLocalMap and NullPointerException

2010-11-22 Thread Blair Zajac
With Tomcat 6.0.29 and Java 6u22, when I'm stopping Tomcat I'm getting the attached log, which at the end is a NullPointerException thrown from AbstractCollection#toString() which is called from clearThreadLocalMap(). java.lang.NullPointerException at java.util.AbstractCollection.toStri