Getting "javax.faces.FacesException: Unable to restore view" error after navigating to pages.

Solution Verified - Updated -

Issue

  • We are facing issues for 2 applications ,the deployment is successful however after loading the URL it works for 3-4 navigation on the screens ,later throws "javax.faces.FacesException: Unable to restore view" .

  • Getting following error:

16:26:16,393 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to : javax.servlet.ServletException: Unable to restore view 
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:683) [jboss-jsf-api_2.3_spec-2.3.5.SP2-redhat-00003.jar:2.3.5.SP2-redhat-00003]
    at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-2.0.30.SP2-redhat-00001.jar:2.0.30.SP2-redhat-00001]
    at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-2.0.30.SP2-redhat-00001.jar:2.0.30.SP2-redhat-00001]
    at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) [undertow-servlet-2.0.30.SP2-redhat-00001.jar:2.0.30.SP2-redhat-00001]
    at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-2.0.30.SP2-redhat-00001.jar:2.0.30.SP2-redhat-00001]
    at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 7.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content