My Oracle Support Banner

"Remote Portlet Error" When Pressing F5 in Browser Creating a Portlet From a Task Flow (Doc ID 2103326.1)

Last updated on MAY 25, 2023

Applies to:

Oracle WebCenter Portal - Version and later
Information in this document applies to any platform.


Creating a Portlet from a JSF page, on the JSF page there has a table and 2 command buttons. Portlet is added into portal page. When press F5 to refresh window in browser, portlet region shows:

"Remote Portlet Error".

If ever clicked any command button before press F5 key, the issue will not occur.

Steps To Reproduce:

  1. In JDeveloper, create new Fusion Web Application(ADF).
  2. In the Application Navigator, right click ViewController project, select menu item "New->Web Tier -> JSF -> ADF Task Flow", Click "OK" then on "Create Task Flow' dialog window deselect the check box "Create with Page Fragments". It means that .jspx used by default when you add view into task flow. Click "OK" to create a task flow.
  3. Drag and drop a view into task flow from Component Palette. Double click the View icon to open "Create JSF page" dialog window, leave default "view1.jspx", Click "OK" to create new view1.jspx.
  4. Edit view1.jspx, adding a read only table onto it. You can drag and drop a Placeholder Data Control onto view page to generate table.
  5. In the Application Navigator, right-click the task flow and choose "Create Portlet Entry". go ahead with all default options. Click Save All.
  6. Deploy application onto server WC_Portlet.
  7. Login onto em console, register this portlet producer.
  8. Login onto /webcenter, create new page and add portlet into page.
  9. Save & view the page.
  10. In browser press F5 key. It will show "Remote Portlet Error" in portlet region.

The WC_Portlet_diagnotic.log shows following exception:

[2015-12-08T18:03:21.276-05:00] [WC_Portlet] [ERROR] [ADFC-50016] [oracle.adfinternal.controller.application.AdfcExceptionHandler] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: [ECID]] [APP: TaskFlowPortlet_application1] [ TaskFlowPortlet_application1] [ TaskFlowPortlet-ViewController-context-root] [ WSRP_v2_Service] [ WSRP_v2_Markup_Service] [DSID: <ID>] ADFc: While handling an exception the application's exception handler threw a new exception.[[java.lang.NullPointerException
at oracle.portlet.bridge.adf.lifecycle.ADFBridgePhaseListener.afterPhase(
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(
at javax.portlet.faces.GenericFacesPortlet.doView(
at javax.portlet.GenericPortlet.doDispatch(
at javax.portlet.faces.GenericFacesPortlet.doDispatch(
at javax.portlet.GenericPortlet.render(
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(
at weblogic.servlet.internal.FilterChainImpl.doFilter(
at oracle.dms.servlet.DMSServletFilter.doFilter(
at weblogic.servlet.internal.FilterChainImpl.doFilter(
at weblogic.servlet.internal.RequestEventsFilter.doFilter(
at weblogic.servlet.internal.FilterChainImpl.doFilter(
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(
at weblogic.servlet.internal.WebAppServletContext$
at weblogic.servlet.internal.WebAppServletContext.securedExecute(
at weblogic.servlet.internal.WebAppServletContext.execute(





To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.