tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jolly, Gautam" <>
Subject CoyoteRequestFacade raises a NullPointerException
Date Fri, 02 May 2003 00:59:48 GMT
We still haven't received any response to the initial email. Heres some more

We are trying to load test our web-application using HttpUnit tests against
Tomcat-4.1.24. To do so, we create dozens of threads, each thread firing off
random HttpUnit tests. We have come across intermittent
NullPointerExceptions, while invoking operations on the request stream
inside the web application. On closer inspection, it seems like the the
clear() method of the CoyoteRequestFacade object (this is the tomcat
specific object implementing the HttpServletRequest interface) is being
fired, even while the request stream is in use. The clear() method is being
invoked by the CoyoteRequest.recycle() method. 

Has anyone come across this problem?



-----Original Message-----
From: Dixit, Mahesh [] 
Sent: Monday, April 28, 2003 11:22 AM
Subject: NullPointerException running Multiple Threads

I am running a utility for Load testing which executes the test with
Multiple threads under tomcat 4.1.18 ... I have tried for upto 5 threads and
running about 20 tests concurrently which works fine.... 
But when i run 20 threads and  20 tests per thread it gives the
NullPointerException in some cases .....
Caused by: java.lang.NullPointerException

It seems that somehow the request is null ... 
Did anyone come across this type of error.....
Thanks in advance...

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message