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 <ch...@christopherschultz.net>: >> 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: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- 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: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org