Portlet From JSF Portlet Bridge Time Outs after Some Time of Inactivity : ADF_FACES-60101 / ADF_FACES-60096: Server Exception during PPR (Doc ID 2277266.1)

Last updated on JUNE 16, 2017

Applies to:

Oracle WebCenter Portal - Version 12.2.1.0.0 to 12.2.1.2.0
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:

[2017-05-25T11:30:32.636-04:00] [WC_Portlet1] [WARNING] [] [oracle.adfinternal.view.faces.context.RichExceptionHandler] [tid: [ACTIVE].ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 1491619c-e8bc-46ae-95ae-c323ca596fac-0000013c,0:1:1] [APP: HCRMB] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000Ll0Ej2H1j^H1avq2Va1P9jOK000003] [J2EE_APP.name: HCRMB] [J2EE_MODULE.name: brokercommission] [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)
...

[2017-05-25T11:30:32.637-04:00] [WC_Portlet1] [ERROR] [] [oracle.adfinternal.view.faces.context.RichExceptionHandler] [tid: [ACTIVE].ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 1491619c-e8bc-46ae-95ae-c323ca596fac-0000013c,0:1:1] [APP: HCRMB] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000Ll0Ej2H1j^H1avq2Va1P9jOK000003] [J2EE_APP.name: HCRMB] [J2EE_MODULE.name: brokercommission] [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)
...

[2017-05-25T11:30:32.637-04:00] [WC_Portlet1] [WARNING] [] [oracle.adfinternal.view.faces.context.RichExceptionHandler] [tid: [ACTIVE].ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 1491619c-e8bc-46ae-95ae-c323ca596fac-0000013c,0:1:1] [APP: HCRMB] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000Ll0Ej2H1j^H1avq2Va1P9jOK000003] [J2EE_APP.name: HCRMB] [J2EE_MODULE.name: brokercommission] [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)
...

[2017-05-25T11:30:32.638-04:00] [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: 1491619c-e8bc-46ae-95ae-c323ca596fac-0000013c,0:1:1] [APP: HCRMB] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000Ll0Ej2H1j^H1avq2Va1P9jOK000003] [J2EE_APP.name: HCRMB] [J2EE_MODULE.name: brokercommission] [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)
...

[2017-05-25T11:30:32.640-04:00] [WC_Portlet1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.PortletErrorHandler] [tid: [ACTIVE].ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 1491619c-e8bc-46ae-95ae-c323ca596fac-0000013c,0:1:1] [APP: HCRMB] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000Ll0Ej2H1j^H1avq2Va1P9jOK000003] [J2EE_APP.name: HCRMB] [J2EE_MODULE.name: brokercommission] [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:

 

  1. Navigate to the page with the portlet.

  2. Interact with the Portlet.
    Here you can see all works fine.

  3. Leave the page open for some time (e.g. 5 minutes).

  4. Attempt to interact with the portlet again.
    Here you will get the ADF_FACES-60101 error.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms