CustomPortal- Activity Stream - Quick View: Spaces Event Details Not Loaded (Doc ID 1567887.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

Clicking on an Event link in the Activity Stream or the Activity Stream - Quick View task flow in a custom Portal returns the following popup error:

failure to retrieve space event detail

 

The following exception is logged in the WC_CustomPortal-diagnostic.log in the same time:

[2012-09-26T10:44:54.534+00:00] [WC_CustomPortal] [WARNING] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000Jc2BUdZAHReLLa^Aye1GO6BM0000rc,0] [APP:MySpacesApp_application1#V2.0] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1[[
javax.el.ELException: java.lang.NullPointerException
  at com.sun.el.parser.AstValue.invoke(AstValue.java:191)
  at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
  at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)
  at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:162)
...
  at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.NullPointerException
  at oracle.webcenter.collab.calendar.views.CalendarFormBean.checkEventExisting(CalendarFormBean.java:2225)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:601)
  at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
  ... 78 more

]]


The same link opens the Event details from Spaces.


Steps to Reproduce
==================
1. Create a new Starter custom Portal

2. Configure WebCenter Portal with WebCenter Spaces as per the following documentation:

7.2.2 Setting Up a Database Connection
of
Oracle Fusion Middleware Developer's Guide for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
Part Number E10148-18


The connection name should be webcenter/CustomPortal and it should point to the Spaces schema i.e. dev_webcenter

3. Add the out-of-the-box Activity Stream - Quick View task fLow to your page as a region

4. Create a space with Events service enabled

5. Make sure the Events page is shown

6. Create a new event on that space

7. Run your custom Portal

8. Login as weblogic

9. At this stage the activities from Spaces should show up. If they don't try the following:

9.1. Click on the Edit Pencil and make sure the following is set:
Show Me and My COnnections
Show All Spaces
All Services should be checked under Service Categories

9.2. Click on the refresh icon on thw task flow

9.3. Click on Administration then click on Back to Portal

10. Click the event link on the Task Flow and notice the error.

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