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 m

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

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? >> >> Al

Re: clearThreadLocalMap and NullPointerException

2010-11-23 Thread Blair Zajac
sun.jna.Structure$2.StructureSet. I'm using JNA 3.2.7 in my app. Nov 23, 2010 4:42: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

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

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

Re: clearThreadLocalMap

2010-05-19 Thread Mark Thomas
, 2010 7:51:01 PM 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

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