My Oracle Support Banner

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:

  1. Login to WebCenter as weblogic
  2. Go to Administration
  3. Under Spaces tab, select Create
  4. Specify space name,  select Public as access level, select Team Site as the template, and click on Create
  5. Click on Close on the popup window to go back the Spaces list
  6. Click on the space that was just created to open it
  7. Select Actions -> Create -> Page to create a new page under the newly created space
  8. Enter a page name, select Blank as the Page Style, and click on Create
  9. On the Editing Page, click on +Add Content button
  10. On the Add Content popup window, select Process Workspace Resources
  11. 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
  12. Click on Close button to close the popup window
  13. Click on the Edit icon on the Task List line
  14. This will bring up Component Properties: Task List popup window
  15. 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:

  1. Create a Portal
  2. Add parameters portlets (Parameter Form & Display Parameter) - WC_Portlets
  3. 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>] ERROR_RETRIEVING_EVENTS
[<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


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