Ya got the problem.. The problem was response.getWriter() object was declared as global in servlet, so it became common to all threads. and if one thread closes it, it used to give NullPtrException in other threads.
Konstantin Kolinko wrote: > > 2010/2/19 Christopher Schultz <[email protected]>: >> Konstantin, >> >> On 2/19/2010 2:22 PM, Konstantin Kolinko wrote: >>> 1. The OP (chinmaytotekar) never mentioned what Tomcat version (s)he was >>> using. >>> What a disgrace. >> >> The thread subject seems to contradict this statement. >> > > Ah, sorry. I missed that. > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/Calling-flushBuffer%28%29-in-TOMCAT-6.0.20-returning-NullPointerException.-tp27652584p27699460.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
