Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Divya Lakshmi
ConvertPermissionAlgorithm throws UnsupportedOperationException
November 9, 2012 12:44 AM
Answer

Divya Lakshmi

Rank: New Member

Posts: 4

Join Date: November 8, 2012

Recent Posts

ConvertPermissionAlgorithm throws UnsupportedOperationException for read-only list:

Executing ConvertPermissionAlgorithm causes:

11:25:32,019 FATAL [ConvertProcessMessageListener:35]
com.liferay.portal.convert.ConvertException: java.lang.UnsupportedOperationException: Please make a copy of this read-only list before modifying it.

Please help me in solving this issue....

Thanks in advance!!!
Oliver Bayer
RE: ConvertPermissionAlgorithm throws UnsupportedOperationException
November 9, 2012 1:56 AM
Answer

Oliver Bayer

Rank: Liferay Master

Posts: 875

Join Date: February 18, 2009

Recent Posts

Hi,

you should create a jira ticket because this seems to be definetely a bug. If you want to fix it on your own look out for a unmodifiable list object from which an element is removed or added. Copy the object to an ArrayList object first to modify it.

HTH Oli
Divya Lakshmi
RE: ConvertPermissionAlgorithm throws UnsupportedOperationException
November 14, 2012 10:32 PM
Answer

Divya Lakshmi

Rank: New Member

Posts: 4

Join Date: November 8, 2012

Recent Posts

Thank you for this useful information..... emoticon