tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Calling flushBuffer() in TOMCAT 6.0.20 returning NullPointerException.
Date Fri, 19 Feb 2010 19:40:18 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

> 2. For example of similar stack traces:
> (searching for "Tomcat NullPointerException MimeHeaders" will give more hits)
> 
> http://old.nabble.com/NullPointerException-in-MimeHeaders-tp27419583p27419583.html
> http://old.nabble.com/NullPointerException---org.apache.tomcat.util.http.MimeHeaders.clear%28MimeHeaders.java%3A130%29-tp24950113p24950113.html
> https://issues.apache.org/bugzilla/show_bug.cgi?id=47655
> 
> (Not so much.. I thought there will be more of those)
> 
> 
> 3. Starting with 6.0.24 setHeader() calls with null name or null value
> are silently ignored.
> Here is that change:
> http://svn.apache.org/viewvc?view=revision&revision=832206

I tried calling response.setHeader("Not Null", null) and
response.setHeader(null, "Not null") and the second one throws an
exception during that call, not during the building of the response.

Something else is going on, here.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt+6SIACgkQ9CaO5/Lv0PBssgCcCXqW6iVjqm/ClN9Ns5hkAi15
an0An26HekNVYVwU2UqKS7yWwgXxV2YH
=IuWI
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message