0 Replies Latest reply on Dec 8, 2007 3:59 PM by Matthias Gladt

    RENDER_RESPONSE phase exception

    Matthias Gladt Newbie

      Hi,
      I get the following Warning:

      21:46:47,281 WARN [lifecycle] phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@88dd83) threw exception: java.lang.NullPointerException null
      org.ajax4jsf.context.AjaxContextImpl.saveViewState(AjaxContextImpl.java:497)
      org.ajax4jsf.event.AjaxPhaseListener.afterPhase(AjaxPhaseListener.java:81)
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      java.lang.Thread.run(Unknown Source)
      

      and the ajax log says:
      debug[21:46:46,937]: QueryString: AJAXREQUEST=_viewRoot&j_id102%3Aj_id104%3A0%3Aj_id107=closed&
      j_id102%3Aj_id141%3A0%3Aj_id144=closed&j_id102%3Aj_id141%3A1%3Aj_id144=closed&
      j_id102%3Aj_id141%3A2%3Aj_id144=closed&j_id102%3Aj_id141%3A3%3Aj_id144=closed&
      j_id102%3Aj_id141%3A4%3Aj_id144=closed&j_id102%3Aj_id141%3A5%3Aj_id144=closed&
      j_id102%3Aj_id141%3A6%3Aj_id144=closed&j_id102%3Aj_id141%3A7%3Aj_id144=closed&
      j_id102%3Aj_id141%3A8%3Aj_id144=closed&j_id102%3Aj_id141%3A9%3Aj_id144=closed&
      j_id102%3Aj_id141%3A10%3Aj_id144=closed&j_id102%3Aj_id141%3A11%3Aj_id144=closed&
      j_id102%3Aj_id178%3A0%3Aj_id181=closed&j_id102%3Aj_id178%3A1%3Aj_id181=closed&
      j_id102%3Aj_id178%3A2%3Aj_id181=closed&j_id102%3Aj_id178%3A3%3Aj_id181=closed&
      j_id102%3Aj_id178%3A4%3Aj_id181=closed&j_id102%3Aj_id178%3A5%3Aj_id181=closed&
      j_id102%3Aj_id178%3A6%3Aj_id181=closed&j_id102%3Aj_id178%3A7%3Aj_id181=details&
      j_id102%3Aj_id178%3A8%3Aj_id181=closed&j_id102%3Aj_id215%3A0%3Aj_id218=closed&
      j_id102%3Aj_id215%3A1%3Aj_id218=closed&j_id102%3Aj_id215%3A2%3Aj_id218=closed&
      j_id102%3Aj_id215%3A3%3Aj_id218=closed&j_id102%3Aj_id215%3A4%3Aj_id218=closed&
      j_id102%3Aj_id215%3A5%3Aj_id218=closed&j_id102%3Aj_id215%3A6%3Aj_id218=closed&
      j_id102%3Aj_id215%3A7%3Aj_id218=closed&j_id102%3Aj_id215%3A8%3Aj_id218=closed&
      j_id102%3Aj_id215%3A9%3Aj_id218=closed&j_id102%3Aj_id215%3A10%3Aj_id218=closed&
      j_id102%3Aj_id215%3A11%3Aj_id218=closed&j_id102%3Aj_id215%3A12%3Aj_id218=closed&
      j_id102%3Aj_id215%3A13%3Aj_id218=closed&j_id102%3Aj_id252%3A0%3Aj_id255=closed&
      j_id102%3Aj_id252%3A1%3Aj_id255=closed&j_id102%3Aj_id252%3A2%3Aj_id255=closed&
      j_id102%3Aj_id252%3A3%3Aj_id255=closed&j_id102%3Aj_id252%3A4%3Aj_id255=closed&
      j_id102%3Aj_id252%3A5%3Aj_id255=closed&j_id102%3Aj_id252%3A6%3Aj_id255=closed&
      j_id102%3Aj_id252%3A7%3Aj_id255=closed&j_id102%3Aj_id252%3A8%3Aj_id255=closed&
      j_id102%3Aj_id252%3A9%3Aj_id255=closed&j_id102%3Aj_id252%3A10%3Aj_id255=closed&
      j_id102%3Aj_id289%3A0%3Aj_id292=closed&j_id102%3Aj_id326%3A0%3Aj_id329=closed&
      j_id102=j_id102&j_id102=j_id102&autoScroll=&j_id102%3A_link_hidden_=&
      j_id102%3A_idcl=j_id102%3Aj_id178%3A7%3Aj_id204&javax.faces.ViewState=_id2&
      debug[21:46:46,937]: Reqest state : 1
      debug[21:46:47,296]: Reqest state : 2
      debug[21:46:47,296]: Reqest state : 3
      debug[21:46:47,296]: Reqest state : 4
      debug[21:46:47,296]: Reqest end with state 4
      debug[21:46:47,296]: Response with content-type: text/xml;charset=UTF-8
      debug[21:46:47,296]: Full response content: <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml">
      <head><meta name="Ajax-Response" content="redirect" /><meta name="Location" content="/terminhib/admin/schedule.seam?cid=3" /></head></html>
      debug[21:46:47,296]: Header Ajax-Expired not found, search in <meta>
      debug[21:46:47,296]: search for elements by name 'meta' in element #document
      debug[21:46:47,296]: getElementsByTagName found 2
      debug[21:46:47,296]: Find <meta name='Ajax-Response' content='redirect'>
      debug[21:46:47,296]: Find <meta name='Location' content='/terminhib/admin/schedule.seam?cid=3'>
      warn[21:46:47,296]: No ajax response header
      debug[21:46:47,296]: call getElementById for id= org.ajax4jsf.oncomplete
      


      It does not have any negative effect on the output in the browser but looks suspicous.
      Has anybody had a similar problem already?