You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steve A Drake <sa...@comet.ucar.edu> on 2002/02/28 19:19:16 UTC
invalid https url generates NullPointerException
Hello. I just downloaded and installed Tomcat 4.0.2 and jsse1.0.2 on my
RH 7.2 box. I configured SSL under Tomcat so that the test URLs:
http://localhost:8080/ and https://localhost:8443/ work fine.
The problem that I am having is that, if I accidentally enter:
https://localhost:8080/ Tomcat bogs down and throws the following
NullPointerException in catalina.out. I know that this address is invalid
but I'm surprised to see this behavior. Did I miss some configuration detail?
TIA for your advice.
java.lang.NullPointerException
at
org.apache.catalina.connector.http.HttpResponseStream.checkHead(HttpResponseStream.java:253)
at
org.apache.catalina.connector.http.HttpResponseStream.<init>(HttpResponseStream.java:104)
at
org.apache.catalina.connector.http.HttpResponseImpl.createOutputStream(HttpResponseImpl.java:220)
at
org.apache.catalina.connector.ResponseBase.getOutputStream(ResponseBase.java:725)
at
org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBase.java:469)
at
org.apache.catalina.connector.HttpResponseBase.finishResponse(HttpResponseBase.java:236)
at
org.apache.catalina.connector.http.HttpResponseImpl.finishResponse(HttpResponseImpl.java:288)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1039)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:484)
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>