Troubleshooting
Problem
When you attempt to pass a URL parameter, a JavaServer Faces (JSF) page fails.
Symptom
When this issue occurs, you might see error messages that are similar to the following text in your log files:
0000002b lifecycle E
JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: "")
Exception thrown during phase execution:
javax.faces.event.PhaseEvent[source=
com.sun.faces.lifecycle.LifecycleImpl@6bd36bd3]
0000002b servlet
E com.ibm.ws.webcontainer.servlet.ServletWrapper service
SRVE0068E: Uncaught exception created in one of
the service methods of the servlet Faces Servlet in
application application_name.
Exception created: javax.servlet.ServletException: viewId:/
updater.faces - View /updater.faces could not be restored.
Cause
The behavior of the RestoreView method has changed from the Sun Microsystems JavaServer Faces reference implementation Version 1.1 to 1.2.
Resolving The Problem
Add the following context parameter to your application:
<context-param>
<param-name>com.sun.faces.enableRestoreView11Compatibility
</param-name>
<param-value>true
</param-value>
</context-param>
Related Information
Was this topic helpful?
Document Information
Modified date:
06 June 2019
UID
swg21318188