<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -21,7 +21,7 @@ public class HtmlValidationResponseFilter implements IResponseFilter {
 		Page responsePage = RequestCycle.get().getResponsePage();
 		
 		// when the responsepage is an error page, don't filter the page
-		if (responsePage.isErrorPage()) {
+		if (responsePage == null || responsePage.isErrorPage()) {
 			return responseBuffer;
 		}
 </diff>
      <filename>src/main/java/org/wicketstuff/htmlvalidator/HtmlValidationResponseFilter.java</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2fde10f957a943266e3aff143aef381ad10b994a</id>
    </parent>
  </parents>
  <author>
    <name>Martijn Dashorst</name>
    <email>dashorst@apache.org</email>
  </author>
  <url>http://github.com/dashorst/wicket-stuff-markup-validator/commit/3e391437638090bc38b7de81aec8139b91c6dcd2</url>
  <id>3e391437638090bc38b7de81aec8139b91c6dcd2</id>
  <committed-date>2009-06-09T02:14:24-07:00</committed-date>
  <authored-date>2009-06-09T02:14:24-07:00</authored-date>
  <message>Fixed NPE when response page is null (Ajax anyone?)</message>
  <tree>ca2d6ef792528fd5ca8e076cdf7b481c3f510ee3</tree>
  <committer>
    <name>Martijn Dashorst</name>
    <email>dashorst@apache.org</email>
  </committer>
</commit>
