Re: clearThreadLocalMap and NullPointerException

2010-11-24 Thread Mark Thomas
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. Does JNA provide its own clean up methods that I could run at shutdown? I haven't looked yet to see.

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. Does JNA provide its own clean up methods that I

Re: clearThreadLocalMap and NullPointerException

2010-11-23 Thread Mark Thomas
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 tell there is a collections object in a thread local that is non-null yet returns null for

Re: clearThreadLocalMap and NullPointerException

2010-11-23 Thread Blair Zajac
:51 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: Calling toString on a com.sun.jna.Structure$2.StructureSet threw a NullPointerException. java.lang.NullPointerException at java.util.AbstractCollection.toString(AbstractCollection.java:415

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 and value in a try/catch block be useful? Almost certainly.

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

clearThreadLocalMap

2010-05-19 Thread Leo Donahue - PLANDEVX
These show up in my Catalina logs, not very often - maybe half a dozen per day. Does this mean I didn't clean up my variables correctly in my webapp? May 18, 2010 7:51:01 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal

Re: clearThreadLocalMap

2010-05-19 Thread Mark Thomas
org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [javax.faces.context.facescontex...@724356]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped