You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Kieselhorst (JIRA)" <de...@myfaces.apache.org> on 2015/02/27 12:37:04 UTC

[jira] [Created] (TOBAGO-1445) Avoid error logging of ViewExpiredException in AjaxNavigationState

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)