Dennis Kieselhorst created TOBAGO-1445:
------------------------------------------

             Summary: Avoid error logging of ViewExpiredException in 
AjaxNavigationState
                 Key: TOBAGO-1445
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1445
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.6
            Reporter: Dennis Kieselhorst
            Priority: Minor


In case of a ViewExpiredException a redirect is performed in catch clause. As 
the ViewExpiredException is properly handled there is no need to log this with 
level ERROR:

{noformat}
 ERROR o.a.m.t.i.a.AjaxNavigationState - Caught: /jsp/welcome.xhtml - No saved 
view state could be found for the view identifier: /jsp/welcome.xhtml
javax.faces.application.ViewExpiredException: /jsp/welcome.xhtml - No saved 
view state could be found for the view identifier: /jsp/welcome.xhtml
        at 
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:183)
        at 
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:196)
        at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:143)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to