DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8039>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8039

connector.http.HttpResponseStream.checkHead NullPointerException

           Summary: connector.http.HttpResponseStream.checkHead
                    NullPointerException
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Note: This bug does not seem to happen under Linux, only the Windows version, 
when I've tested it.

The following exception occurrs:

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)

The page does not load.  No exception is reported, and it seems to be ignoring 
my code.

Basically, the problem happens when the following code is executed on a server 
that does not have HTTPS.  However, it's a very odd way for the server to crash 
and might be an indication of bigger problems?

This is the entire code on that page:
<%
response.sendRedirect("https://"+request.getServerName()
+":"+request.getServerPort());
%>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to