Portlet From JSF Portlet Bridge Timeouts After Some Time of Inactivity: ADF_FACES-60101 / ADF_FACES-60096: Server Exception during PPR #3
(Doc ID 2277266.1)
Last updated on AUGUST 01, 2024
Applies to:
Oracle WebCenter Portal - Version 12.2.1.0.0 and laterOracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 and later
Information in this document applies to any platform.
Symptoms
When attempting to interact with a Portlet after leaving it inactive for some time, the following error occurs:
ADF_FACES-60101: For more information, please see the portlets error log for an entry beginning with: ADF_FACES-60096: Server Exception during PPR, #3
The WC_Portlet-diagnostic log shows the following errors:
[<TIMESTAMP>] [WC_Portlet1] [WARNING] [] [oracle.adfinternal.view.faces.context.RichExceptionHandler] [tid: [ACTIVE].ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: <ECID>] [APP: <APPNAME>] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [J2EE_APP.name: <APPNAME>] [J2EE_MODULE.name: <J2EE_NAME>] [WEBSERVICE.name: WSRP_v2_Service] [WEBSERVICE_PORT.name: WSRP_v2_Markup_Service] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1[[
java.lang.NullPointerException
at oracle.portlet.bridge.adf.lifecycle.ADFBridgePhaseListener.afterPhase(ADFBridgePhaseListener.java:75)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeAfterPhaseLogic(LifecycleImpl.java:459)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:381)
...
[<TIMESTAMP>] [WC_Portlet1] [ERROR] [] [oracle.adfinternal.view.faces.context.RichExceptionHandler] [tid: [ACTIVE].ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: <ECID>] [APP: <APPNAME>] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [J2EE_APP.name: <APPNAME>] [J2EE_MODULE.name: <J2EE_NAME>] [WEBSERVICE.name: WSRP_v2_Service] [WEBSERVICE_PORT.name: WSRP_v2_Markup_Service] ADF_FACES-30200:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.[[
java.lang.NullPointerException
at oracle.portlet.bridge.adf.lifecycle.ADFBridgePhaseListener.afterPhase(ADFBridgePhaseListener.java:75)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeAfterPhaseLogic(LifecycleImpl.java:459)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:381)
...
[<TIMESTAMP>] [WC_Portlet1] [WARNING] [] [oracle.adfinternal.view.faces.context.RichExceptionHandler] [tid: [ACTIVE].ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: <ECID>] [APP: <APPNAME>] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [J2EE_APP.name: <APPNAME>] [J2EE_MODULE.name: <J2EE_NAME>] [WEBSERVICE.name: WSRP_v2_Service] [WEBSERVICE_PORT.name: WSRP_v2_Markup_Service] [[
java.io.IOException: 500: ADF_FACES-30200:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.
at org.apache.myfaces.portlet.faces.context.PortletExternalContextImpl.responseSendError(PortletExternalContextImpl.java:1789)
at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:916)
at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:916)
...
[<TIMESTAMP>] [WC_Portlet1] [ERROR] [] [org.apache.myfaces.portlet.faces.bridge.logger.BridgeLoggerImpl] [tid: [ACTIVE].ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: <ECID>] [APP: <APPNAME>] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [J2EE_APP.name: <APPNAME>] [J2EE_MODULE.name: <J2EE_NAME>] [WEBSERVICE.name: WSRP_v2_Service] [WEBSERVICE_PORT.name: WSRP_v2_Markup_Service] Exception thrown in doFacesRequest:resource[[
java.lang.NullPointerException
at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.saveView(StateManagerImpl.java:185)
at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.getViewState(StateManagerImpl.java:147)
at org.apache.myfaces.portlet.faces.bridge.controller.BridgeControllerImpl.saveFacesViewState(BridgeControllerImpl.java:1394)
...
[<TIMESTAMP>] [WC_Portlet1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.PortletErrorHandler] [tid: [ACTIVE].ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: <ECID>] [APP: <APPNAME>] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [J2EE_APP.name: <APPNAME> [J2EE_MODULE.name: <J2EE_NAME>] [WEBSERVICE.name: WSRP_v2_Service] [WEBSERVICE_PORT.name: WSRP_v2_Markup_Service] ADF_FACES-60096:Server Exception during PPR, #3[[
java.lang.NullPointerException
at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.saveView(StateManagerImpl.java:185)
at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.getViewState(StateManagerImpl.java:147)
at org.apache.myfaces.portlet.faces.bridge.controller.BridgeControllerImpl.saveFacesViewState(BridgeControllerImpl.java:1394)
at org.apache.myfaces.portlet.faces.bridge.controller.BridgeControllerImpl.encodeMarkupResponse(BridgeControllerImpl.java:1118)
...
STEPS
The issue can be reproduced at will with the following steps:
- Navigate to the page with the portlet.
- Interact with the Portlet.
Here you can see all works fine. - Leave the page open for some time (e.g. 5 minutes).
- Attempt to interact with the portlet again.
Here you will get the ADF_FACES-60101 error.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |