William Au wrote:
>
> Thanks for the reply. But I am sure the NullPointerException is coming
> from within Tomcat. I got them while accessing a static page with
> no JSP code. So how do I test if pointers with "x.equals(null)"???
> The exceptions do not show up when I access the page manually
> through a browser. They come when I run a load test and multiple
> clients issuing requests at the same time.
>
> Bill
>
x.equals( null ) will in fact cause a NullPointerException
You must use if( x == null ) to test.
WBB
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]