UnsupportedOperationException is Thrown in getCookies Method of HttpCookieBag While Using WSRP Portlets in Clustered WLP Servers (Doc ID 1210823.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle WebLogic Portal - Version 10.3.0 and later
Information in this document applies to any platform.

Symptoms

In Federated Portal environment, the following exception is thrown while using WSRP portlets in a clustered domain.

java.lang.UnsupportedOperationException
at java.util.AbstractList.add(AbstractList.java:131)
at java.util.AbstractList.add(AbstractList.java:91)
at java.util.AbstractCollection.addAll(AbstractCollection.java:305)
at com.bea.wsrp.cookie.util.HttpCookieBag.getCookies(HttpCookieBag.java:138)
at com.bea.wsrp.cookie.util.HttpCookieBag.getCookies(HttpCookieBag.java:173)
at com.bea.wsrp.cookie.util.HttpCookieBag.getCookieRequestHeaderForms(HttpCookieBag.java:269)
at com.bea.wsrp.consumer.markup.CookieContext.getCookies(CookieContext.java:57)
at com.bea.wsrp.consumer.markup.CookieManager.addCookiesToRequest(CookieManager.java:170)
at com.bea.wsrp.consumer.markup.AbstractMarkupService.addCookiesToRequest(AbstractMarkupService.java:458)
at com.bea.wsrp.consumer.markup.AbstractMarkupService.preProcess0(AbstractMarkupService.java:226)
at com.bea.wsrp.consumer.markup.AbstractMarkupService.preProcess(AbstractMarkupService.java:216)
at com.bea.wsrp.consumer.markup.AbstractMarkupService.invoke(AbstractMarkupService.java:75)
at com.bea.wsrp.consumer.markup.AbstractMarkupService.invoke(AbstractMarkupService.java:69)
at com.bea.wsrp.consumer.markup.MarkupServicesFacade.invoke(MarkupServicesFacade.java:44)
at com.bea.wsrp.consumer.controls.ProxyPortletContent.invokeGetMarkup(ProxyPortletContent.java:726)
at com.bea.wsrp.consumer.controls.ProxyPortletContent.beginRender(ProxyPortletContent.java:327)
at com.bea.netuix.servlets.controls.application.laf.ContentControlRenderer.beginRender(ContentControlRenderer.java:48)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)

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