Adam Jenkins wrote:
> Hi All,
> I'be been tearing my hair out for a couple of weeks over this one and would 
> appreciate any assistance anyone could give.  It's a bit of a unique 
> scenario, so it'll take me a little while to explain:
> We have a legacy struts app, forwarding to a jsf app (details of how below) 
> running on tomcat 5.5.17.  99.9% of the time everythign works great, but 
> every now and then (which in users speak translates to 'I keep on getting', 
> hence we can't ignore it) a NullPointerException gets thrown from 
> org.apache.catalina.connector.Request.setAttribute.

Looks like a threading issue. There is a problem with RequestDispatcher
that *might* be affecting you in 5.5.17 that is fixed in 5.5.21 - it only
occurs if you reuse the same request dispatcher object for multiple requests.

It that isn't it, look for cases in your code where you store the request
object for later re-use.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to