History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SIM-125
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Assignee: Scott Farquhar
Reporter: Joost Baaij
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
SiteMesh

Internal Tomcat CGI throws NullPointerException

Created: 15/Aug/04 10:38 AM   Updated: 19/Aug/04 04:59 PM
Fix Version/s: 2.2

Environment: Tomcat 4.1.24, Java 1.4


 Description  « Hide
Maybe I'm doing something wrong, but I could not find any mention of this in the documentation.

When using the internal cgi-bin engine of Tomcat 4 (org.apache.catalina.servlets.CGIServlet), the SiteMesh filter throws a NullPointerException.

This happens when requesting anything from the cgi-bin directory (not nesessarily the actual cgi script, any request to the dir produces the error below).

java.lang.NullPointerException
        at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.getPage(PageResponseWrapper.java:263)
        at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:147)
        at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)

 All   Comments   Change History      Sort Order:
Joost Baaij - [15/Aug/04 10:43 AM ]
SiteMesh version is actually 2.1