voyent
Seam+Icefaces: Persistent Faces Servlet threw NullPointerException  XML
Forum Index -> JBoss Seam Integration
Author Message
littlewing

Joined: 16/Nov/2006 00:00:00
Messages: 5
Offline


Hello,
I juste have deployed the sample seam-icefaces and I have the following error when I d like to go to /debug.seam
Code:
 pe Exception report
 
 message
 
 description The server encountered an internal error () that prevented it from fulfilling this request.
 
 exception
 
 javax.servlet.ServletException
 org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:61)
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 
 root cause
 
 javax.servlet.ServletException
 com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:437)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 
 root cause
 
 java.lang.NullPointerException
 com.icesoft.faces.context.DOMResponseWriter.enhanceAndFixDocument(DOMResponseWriter.java:394)
 com.icesoft.faces.context.DOMResponseWriter.writeDOM(DOMResponseWriter.java:312)
 com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)
 org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
 com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:394)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 
 note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.


Thanks in advance

Regards,
Alexandre
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi Alexandre,

Thanks for reporting this. I've forwarded the issue to the Seam-integration dev team. I assume it's due to the following line in DomResponseWriter.enhanceAndFixDocument():
html = "html".equals(html.getTagName()) ? html : fixHtml();
...
where the Html element might be null.

Philip

.
 
Forum Index -> JBoss Seam Integration
Go to:   
Powered by JForum 2.1.7ice © JForum Team