DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37224>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37224 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Additional Comments From [EMAIL PROTECTED] 2005-11-03 11:13 ------- It seems that we are fighting with the same problem as in bug 36494. Here is the answer of Greg Wilkins <gregw at mortbay.com> to my question on the jetty-discuss mailing list re this bug: Greg Wilkins wrote: > Felix, > > to tell you really what is happening I need to see the 37 more lines of > the stack trace. > > I suspect that somebody is holding onto a request object and calling methods > on it outside of the scope of a call to Servlet.service. This is illegal and > will always cause problems. > > Can you confirm if this exception is cause by an incoming request or does it > just happen when the session times out? > > cheers > > NB. I'll probably put NPE protection in, but would like to know why first.... > > > Felix Röthenbacher wrote: > >>Hi >> >>What does the following stacktrace mean? >> >>Caused by: java.lang.NullPointerException >> at >>org.mortbay.http.HttpRequest.isConfidential(HttpRequest.java:431) >> at >>org.mortbay.jetty.servlet.ServletHttpRequest.isSecure(ServletHttpRequest.java:260) >> >> at >>org.mortbay.jetty.servlet.ServletHttpRequest.getSession(ServletHttpRequest.java:509) >> >> at >>org.apache.cocoon.environment.http.HttpRequest.getSession(HttpRequest.java:230) >> >> at >>org.apache.cocoon.environment.http.HttpRequest.getSession(HttpRequest.java:250) >> >> at >>org.apache.lenya.cms.repository.RepositoryUtil.getSession(RepositoryUtil.java:29) >> >> at >>org.apache.lenya.cms.ac.DocumentPolicyManagerWrapper.getPolicyURL(DocumentPolicyManagerWrapper.java:84) >> >> ... 37 more >> >> >>It seems that either the _connection object is null or that there is no >>listener object in >> >> >> /* ------------------------------------------------------------ */ >> /** >> * @return True if this request came over an integral channel such >>as SSL >> */ >> public boolean isIntegral() >> { >> return _connection.getListener().isIntegral(_connection); >> } >> >> >>The exception seems to be thrown after a session timeout only. >> >>Any help appreciated. >> >>- Felix >> > > *** This bug has been marked as a duplicate of 36494 *** -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
