https://issues.apache.org/bugzilla/show_bug.cgi?id=53000

             Bug #: 53000
           Summary: Null-pointer exception catalina
           Product: Tomcat 6
           Version: 6.0.35
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: h...@mckesson.nl
    Classification: Unclassified


Catalina will generate a null-pointer exception in the
Response.java class.

org\apache\catalina\connector\Response.java

Line 1488:

    protected boolean isEncodeable(final String location) {
          if (getContext().isDisableURLRewriting())  <--- getContext() == null
            return (false);
        if (location == null)
            return (false);

The getContext call seems null, this is since version 6.0.30, the code
above seems to be introduced in that version.

Is difficult to make an reproducable case, because it happens in a portal
application we use.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to