Icefaces, Null Pointer caused by DOMResponseWriter
I was using Icefaces 1.7.2 with Jsf 1.2_04
javax.faces.FacesException: Problem in renderResponse: /WEB-INF/facelets/template.xhtml Not Found in ExternalContext as a Resource Error code 500
When I took off the template.xhtml, I got this.
javax.faces.FacesException: Problem in renderResponse: null
INFO: 08:19:37,173 ERROR D2DFaceletViewHandler:292 - Problem in renderResponse: null <pre>java.lang.NullPointerException at com.icesoft.faces.context.DOMResponseWriter.enhanceAndFixDocument(DOMResponseWriter.java:270) at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:159)
Upgraded to JSF 1.2_07 and Facelets 1.1.14. Did not help.
Solution: I was missing filepath. Instead of /WEB-INF/facelets/template.xhtml, I had to add ../WEB-INF/facelets/template.xhtml and it worked.
Thanks to Arran from Icefaces.com for his support.
No comments yet.
Leave a comment
-
Archives
- November 2009 (1)
- July 2009 (1)
- June 2009 (5)
- May 2009 (2)
- April 2009 (4)
- March 2009 (2)
- January 2009 (3)
- December 2008 (1)
- November 2008 (2)
- October 2008 (1)
- September 2008 (3)
- August 2008 (2)
-
Categories
-
RSS
Entries RSS
Comments RSS