Foros de discusión

ConvertPermissionAlgorithm throws UnsupportedOperationException

Divya Lakshmi, modificado hace 11 años.

ConvertPermissionAlgorithm throws UnsupportedOperationException

New Member Mensajes: 3 Fecha de incorporación: 9/11/12 Mensajes recientes
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, modificado hace 11 años.

RE: ConvertPermissionAlgorithm throws UnsupportedOperationException

Liferay Master Mensajes: 894 Fecha de incorporación: 18/02/09 Mensajes recientes
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, modificado hace 11 años.

RE: ConvertPermissionAlgorithm throws UnsupportedOperationException

New Member Mensajes: 3 Fecha de incorporación: 9/11/12 Mensajes recientes
Thank you for this useful information..... emoticon