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 6604] New: - Request.getRemoteUser() throwing NullPointerException
Date Thu, 21 Feb 2002 06:45:20 GMT
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=6604>.
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=6604

Request.getRemoteUser() throwing NullPointerException

           Summary: Request.getRemoteUser() throwing NullPointerException
           Product: Tomcat 3
           Version: 3.3.1 Beta 1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connectors
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jswap@yahoo.com


When I watch the standard out of my Tomcat process, I am seeing 
NullPointerExceptions once in a while coming from Request.getRemoteUser().  
This exception does NOT propagate to my errorpage.jsp; if I wasn't watching the 
standard out, I'd never know it happened.  Here's a stack trace:

Exception in R( /) - java.lang.NullPointerException:
        at org.apache.tomcat.core.Request.getRemoteUser(Unknown Source)
        at org.apache.tomcat.modules.loggers.AccessLogInterceptor.beforeCommit(U
nknown Source)
        at org.apache.tomcat.core.OutputBuffer.realWriteBytes(Unknown Source)
        at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(Unknown Source)
        at org.apache.tomcat.core.OutputBuffer.flush(Unknown Source)
        at org.apache.tomcat.core.OutputBuffer.close(Unknown Source)
        at org.apache.tomcat.core.Response.finish(Unknown Source)
        at org.apache.tomcat.core.ContextManager.service(Unknown Source)
        at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(
Unknown Source)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
 Source)
        at java.lang.Thread.run(Thread.java:484)

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


Mime
View raw message