You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2005/10/24 17:35:35 UTC

DO NOT REPLY [Bug 37224] New: - NPE after session timeout.

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

           Summary: NPE after session timeout.
           Product: Lenya
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: Access Control
        AssignedTo: dev@lenya.apache.org
        ReportedBy: felix.roethenbacher@wyona.com


A NullPointerExceptin is thrown after a session timeout occurs:

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

(See the attachment for a full stacktrace)

It seems that the origin of the NPE lies in Jetty
(org.mortbay.http.HttpRequest.isConfidential).

-- 
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org