If exception is thrown during render response (JSF app) then ExceptionHandler (seam3) is notified after conversation context has been deactivated. If such exception handler wants to redirect to error page using following code:
NavigationHandler navHandler = context.getApplication().getNavigationHandler();
navHandler.handleNavigation(context, "", viewId+"?faces-redirect=true");
then ConversationAwareViewHandler will get called on getActionURL(FacesContext facesContext, String viewId)
which doesn't check if conversation context is active and calls conversation.isTransient, which in turn throws exception (context inactive).
I'd say there should be no call to conversation if context is inactive.
|