My Oracle Support Banner

Internal Error Editing Style for Portlet Component (Doc ID 2262598.1)

Last updated on DECEMBER 09, 2021

Applies to:

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

Symptoms

On 12.2.1.2.0 WebCenter Portal

Create a new Portal or Portal page, add a UI Component =>Portlets components, modify the component by using the top-right dropdown arrow and select "Style". An Internal Error (WCS#<TIMESTAMP>) occurs.

The WC_Portal.out shows:

<TIMESTAMP> <Error><oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer>
<BEA-000000> <Composer has caught an exception>
<TIMESTAMP> <Debug><oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer>
<BEA-000000> <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)
...
...
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)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Reproduce Steps :

1. Start the WC_Portlet managed server through WebLogic Console.

2. Navigate to Deployments -> wsrp-tool -> start wsrp-tool-> Testing
Access to info: http://<HOST>:<PORT>/wsrp-tools/info
WSDL URL : http://<HOST>:<PORT>/wsrp-tools/portlets/wsrp2?WSDL
3. Register Portlet producer
start WC_Portal Server
Access to http://<HOST>:<PORT>/webcenter
Navigate to Administration -> Tools and Services -> Portlet Producers -> Register Portlet Producer
Producer Name: <WSRP_PORTLET_NAME>
Producer Type: WSRP Producer
WSDL URL: http://<HOST>:<PORT>/wsrp-tools/portlets/wsrp2?WSDL
Test Connection successful.
Click OK to finish register the producer.

4. Create Portal <PORTAL_1>
Edit Page
UI Components -> Portlets -> <WSRP_PORTLET_NAME> -> Parameter Form Portlet then Parameter Display Portlet
Click Style
Style:portlet Window popup without error.
Go to Home then to <WSRP_PORTLET>, edit page click style , issue reproduce.

5. Create Portal <PORTAL_2>
Add Parameter Display Portlet then click on style.
Style:portlet Window popup without error.

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.