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 JUNE 07, 2017

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:

2017-05-24T00:04:17.415+00:00] [WC_Portal] [ERROR] [] [oracle.webcenter.webcenterapp.internal.view.webapp] [tid: [ACTIVE].ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 076d9377-4c26-499e-891a-6e75b86325b8-00000552,0] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000Lkr^TUcFw000jzwkno1P9BnD000002] [[
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)
...

]]
[2017-05-24T00:04:17.602+00:00] [WC_Portal] [WARNING] [] [oracle.webcenter.webcenterapp.internal.view.backing.PublicPageBean] [tid: [ACTIVE].ExecuteThread: '39' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 076d9377-4c26-499e-891a-6e75b86325b8-00000553,0] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000Lkr^TUcFw000jzwkno1P9BnD000002] Internal Error (WCS#2017.05.24.00.04.17)

[2017-05-24T00:04:17.722+00:00] [WC_Portal] [WARNING] [] [oracle.webcenter.webcenterapp.internal.view.backing.PublicPageBean] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 076d9377-4c26-499e-891a-6e75b86325b8-00000554,0] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000Lkr^TUcFw000jzwkno1P9BnD000002] Internal Error (WCS#2017.05.24.00.04.17)




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.

 

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