tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49770] After graceful restart using mod_proxy_ajp, NPE in org.apache.coyote.ajp.AjpMessage
Date Wed, 18 Aug 2010 14:47:02 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49770

--- Comment #3 from Konstantin Kolinko <knst.kolinko@gmail.com> 2010-08-18 10:46:58
EDT ---
If you would look at the following lines:
> AjpMessage.appendString(AjpMessage.java:239)
> AjpAprProcessor.prepareResponse(AjpAprProcessor.java:1005)

you will see that that is where AjpAprProcessor sends HTTP response headers.
Some of those headers have value of null, which is illegal. You cannot pass
null to response.addHeader() or setHeader() methods.

By the way, AjpMessage.appendString() recovers from this gracefully, by writing
out an empty string instead of the null, but logs the error that you are
seeing.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message