I cannot seem to get the exception handling working even with the basic catch all in the pages.xml
| <exception> | <end-conversation/> | <redirect view-id="/error.html"> | <message>Catch-all exception</message> | </redirect> | </exception> | Before I add this I get the usual 500 tomcat page with the thrown exception stack printed. After adding this I get the following javax.servlet.ServletException: Stack must not be null | org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:103) | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73) | halvor.filter.TimerFilter.doFilter(TimerFilter.java:46) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | root cause | | java.lang.IllegalArgumentException: Stack must not be null | org.jboss.seam.core.ConversationEntry.<init>(ConversationEntry.java:40) | org.jboss.seam.core.ConversationEntries.createConversationEntry(ConversationEntries.java:50) | org.jboss.seam.core.Manager.createConversationEntry(Manager.java:685) | org.jboss.seam.core.Manager.beforeRedirect(Manager.java:834) | org.jboss.seam.core.Manager.beforeRedirect(Manager.java:852) | org.jboss.seam.core.Manager.redirect(Manager.java:1067) | org.jboss.seam.core.Navigator.redirect(Navigator.java:45) | org.jboss.seam.exceptions.RedirectHandler.handle(RedirectHandler.java:45) | org.jboss.seam.core.Exceptions.handle(Exceptions.java:79) | org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:91) | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:73) | halvor.filter.TimerFilter.doFilter(TimerFilter.java:46) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | The error page is just a bit of very basic html so nothing fancy to trip it up on there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073034#4073034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073034 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
