Missing ("No Events") Contextual Events From Component Properties in WebCenter Portal. "ERROR_RETRIEVING_EVENTS" Error In Logs
(Doc ID 1617847.1)
Last updated on JULY 05, 2024
Applies to:
Oracle WebCenter Portal - Version 11.1.1.7.0 to 11.1.1.8.2 [Release 11g]Information in this document applies to any platform.
Symptoms
BPM Task List components can be added to a new page in WebCenter that has been extended with BPM spaces template.
When editing a task list and going to the event tab the contextual events are missing and shows "No Events".
Unable to access portlet's events from component properties in WebCenter
In middleware 11.1.1.6, each Task List component has pre-defined events "HWFSelectTasks". However, in 11.1.1.7 and 11.1.1.8, those events are missing.
Steps To Reproduce:
- Login to WebCenter as weblogic
- Go to Administration
- Under Spaces tab, select Create
- Specify space name, select Public as access level, select Team Site as the template, and click on Create
- Click on Close on the popup window to go back the Spaces list
- Click on the space that was just created to open it
- Select Actions -> Create -> Page to create a new page under the newly created space
- Enter a page name, select Blank as the Page Style, and click on Create
- On the Editing Page, click on +Add Content button
- On the Add Content popup window, select Process Workspace Resources
- On the Process Workspace Resources sub-list, click on the +Add button next to the Task List line. This should add a standard BPM task list to the new page
- Click on Close button to close the popup window
- Click on the Edit icon on the Task List line
- This will bring up Component Properties: Task List popup window
- Click on events tab, on 11.1.1.6 server, there are two contextual events displayed in the Events field, but on 11.1.1.7 server, it says No events
Or just simple like this:
- Create a Portal
- Add parameters portlets (Parameter Form & Display Parameter) - WC_Portlets
- Choose to edit each of these portlets, navigate to "Events" tab. "No events" is displayed
The following error is also thrown in diagnostic log file:
[<TIMESTAMP>] [<MANAGED_SERVER>] [ERROR] [] [oracle.adfinternal.view.page.editor.bean.ContextualWiringBean] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERNAME>] [ecid: <ECID>] [APP: webcenter#11.1.1.4.0] [DSID: <DSID>] [[
java.lang.ClassCastException: oracle.adfinternal.controller.metadata.model.xml.ViewXmlImpl
at oracle.adfinternal.view.page.editor.contextual.event.ContextualResolver.findPageNames(ContextualResolver.java:376)
at oracle.adfinternal.view.page.editor.contextual.event.ContextualResolver.findPageDefinitions(ContextualResolver.java:335)
at oracle.adfinternal.view.page.editor.contextual.event.ContextualResolver.getAllEvents(ContextualResolver.java:178)
at oracle.adfinternal.view.page.editor.bean.ContextualWiringBean.isEventsAvailable(ContextualWiringBean.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:293)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1353)
Changes
This problem appears starting in Webcenter Portal Version 11.1.1.7.0. It does not occur in version 11.1.1.6.x.
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 |