History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1942
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Gary Roybal
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
uPortal

IllegalStateException in CPortletAdapter when a user has multiple portlets in layout and logs out

Created: 07/Feb/08 06:34 PM   Updated: 07/Feb/08 06:38 PM
Component/s: Framework
Affects Version/s: 2.6.1, 2.6.0 GA
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Generic Relation
This issue relates to:
UP-1590 Portlet / Servlet session sharing Major Closed
 


 Description  « Hide
The fix for UP-1590 that was applied for the 2.6.0 release results in an IllegalStateException in CPortletAdapter.receiveEvent(PortalEvent) for a SESSION_DONE event. This occurs when a user has viewed more than one portlet (more than one CPortletAdapter) and logs out. The IllegalStateException is caught and the stack trace is logged. When a user views n portlets (where n >1), then the IllegalStateException stack trace gets logged n-1 times.

It should be noted that the UP-1590 fix applied for 2.6.0 differs from the patches attached to the UP-1590 JIRA issue. The patch applied for 2.6.0 includes a PortletSession field being added to CPortletAdapter.java. The patches attached to the JIRA issue instead include the addition of a Map to hold PortletSession instances wrapped in WeakReference instances.

One approach to fixing this issue would be to replace the "PortletSession portletSession" field in CPortletAdapter with "WeakReference portletSessionRef" and to adjust the code accordingly.

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.