[jboss-user] [JBoss Seam] - Exceptions handling - strange behaviour of SeamFilter

przemjaskier do-not-reply at jboss.com
Sun Jun 10 12:02:49 EDT 2007


After adding SeamFilter to my web.xml I'm getting error shown on stacktrace below. Problem appears in case of any application exception that appears after ajax4jsf's call that I'm performing with <a4j:commandLink/>.
 



  | Jun 10, 2007 5:54:03 PM org.apache.catalina.core.StandardWrapperValve invoke
  | SEVERE: Servlet.service() for servlet Faces Servlet threw exception
  | java.lang.IllegalArgumentException: Stack must not be null
  | 	at org.jboss.seam.core.ConversationEntry.<init>(ConversationEntry.java:40)
  | 	at org.jboss.seam.core.ConversationEntries.createConversationEntry(ConversationEntries.java:50)
  | 	at org.jboss.seam.core.Manager.createConversationEntry(Manager.java:685)
  | 	at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:834)
  | 	at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:852)
  | 	at org.jboss.seam.core.Manager.appendConversationIdFromRedirectFilter(Manager.java:1104)
  | 	at org.jboss.seam.web.RedirectFilter$1.sendRedirect(RedirectFilter.java:66)
  | 	at com.sun.faces.context.ExternalContextImpl.redirect(ExternalContextImpl.java:419)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewHandler.restoreView(AjaxViewHandler.java:180)
  | 	at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:310)
  | 	at org.ajax4jsf.framework.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewHandler.restoreView(AjaxViewHandler.java:150)
  | 	at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:141)
  | 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 	at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:264)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:60)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:55)
  | 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:47)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:55)
  | 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:81)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:55)
  | 	at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:126)
  | 	at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:248)
  | 	at org.jboss.seam.web.AbstractAjax4jsfFilter.doFilter(AbstractAjax4jsfFilter.java:35)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:55)
  | 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:126)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 	at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:75)
  | 	at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:92)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
  | 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
  | 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | 	at java.lang.Thread.run(Thread.java:619)
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052914#4052914

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052914



More information about the jboss-user mailing list