My Oracle Support Banner

Remote Portlet Error Editing a Page With a Portlet / Internal Error When Attempting To Open Content Style Properties For a Portlet in WebCenter Portal (Doc ID 2273221.1)

Last updated on FEBRUARY 01, 2022

Applies to:

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

Symptoms


When attempting to Edit a Page with a Portlet, the following error occurs in the Portlet area:


ERROR

Remote Portlet Error

 

Trying to edit the Portlet Style results on the following error:

Internal Error

 

After that, the page will always return Internal Error.
Only way to recover is by deleting the page draft.


The WC_Portal-diagnostic.log shows the following error:

[WC_Portal] [ERROR] [] [oracle.webcenter.webcenterapp.internal.view.webapp] [tid: [ACTIVE].ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: [<USER>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [[
java.io.IOException: javax.el.ELException: /oracle/adfinternal/pageeditor/panels/inlinestyle.jspx @71,495 rendered="#{backingBeanScope.styleEditor.styleClassRendered || (backingBeanScope.styleEditor.styleClassEL and !piBean.allowELBuilder)}": java.lang.NullPointerException
    at oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer.encodeAll(PageCustomizableRenderer.java:827)
...

Caused by: javax.el.ELException: /oracle/adfinternal/pageeditor/panels/inlinestyle.jspx @71,495 rendered="#{backingBeanScope.styleEditor.styleClassRendered || (backingBeanScope.styleEditor.styleClassEL and !piBean.allowELBuilder)}": java.lang.NullPointerException
    at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)
    at org.apache.myfaces.trinidad.component.UIXFacesBeanImpl.getBoundProperty(UIXFacesBeanImpl.java:203)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:69)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.getBooleanProperty(UIXComponentBase.java:1938)
...

Caused by: javax.el.ELException: java.lang.NullPointerException
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:367)
    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:139)
...

Caused by: java.lang.NullPointerException
    at oracle.adfinternal.view.page.editor.extensions.style.custompanel.StyleEditor.getStyleClass(StyleEditor.java:1316)
    at oracle.adfinternal.view.page.editor.extensions.style.custompanel.StyleEditor.isStyleClassEL(StyleEditor.java:1332)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...

]]
[WC_Portal] [WARNING] [] [oracle.webcenter.webcenterapp.internal.view.backing.PublicPageBean] [tid: [ACTIVE].ExecuteThread: '39' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USER>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] Internal Error (WCS#<TIMESTAMP>)

[WC_Portal] [WARNING] [] [oracle.webcenter.webcenterapp.internal.view.backing.PublicPageBean] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USER>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] Internal Error (WCS#<TIMESTAMP>)




STEPS

The issue can be reproduced at will with the following steps:

  1. Add the portlet to a page.

  2. Publish the page draft.

  3. View the page and confirm the portlet looks fine.

  4. Edit the page.
    Here you will see the following error:

    Remote Portlet Error


  5. Select the Portlet in the page.
    Then from the Portlet View Actions Menu select: Content Style

    This will return the Internal Error

    After this, the page will always return Internal Error until you delete the page draft.

 

Changes

 

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!


In this Document
Symptoms
Changes
Cause
Solution
References


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