Fórumok

ConvertPermissionAlgorithm throws UnsupportedOperationException for read-on

Dhinesh dhinesh, módosítva 11 év-val korábban

ConvertPermissionAlgorithm throws UnsupportedOperationException for read-on

New Member Bejegyzések: 2 Csatlakozás dátuma: 2012.10.05. Legújabb bejegyzések
Executing ConvertPermissionAlgorithm causes:

11:25:32,019 FATAL [ConvertProcessMessageListener:35] Unable to process message {destinationName=liferay/convert_process, response=null, responseDestinationName=null, responseId=null, payload=com.liferay.portal.convert.ConvertPermissionAlgorithm, values=null}
com.liferay.portal.convert.ConvertException: java.lang.UnsupportedOperationException: Please make a copy of this read-only list before modifying it.
at com.liferay.portal.convert.ConvertProcess.convert(ConvertProcess.java:53)
at com.liferay.portal.convert.messaging.ConvertProcessMessageListener.doReceive(ConvertProcessMessageListener.java:47)
at com.liferay.portal.convert.messaging.ConvertProcessMessageListener.receive(ConvertProcessMessageListener.java:32)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:59)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:665)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:579)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.UnsupportedOperationException: Please make a copy of this read-only list before modifying it.
at com.liferay.portal.kernel.util.UnmodifiableList$2.set(UnmodifiableList.java:158)
at java.util.Collections.sort(Collections.java:121)
at com.liferay.portal.convert.ConvertPermissionAlgorithm.convertRoles(ConvertPermissionAlgorithm.java:508)
at com.liferay.portal.convert.ConvertPermissionAlgorithm.convertPermissions(ConvertPermissionAlgorithm.java:323)
at com.liferay.portal.convert.ConvertPermissionAlgorithm.convertToRBAC(ConvertPermissionAlgorithm.java:222)
at com.liferay.portal.convert.ConvertPermissionAlgorithm.doConvert(ConvertPermissionAlgorithm.java:661)
at com.liferay.portal.convert.ConvertProcess.convert(ConvertProcess.java:44)

Can any one help me in solving this issue?........
thumbnail
Manish Yadav, módosítva 10 év-val korábban

RE: ConvertPermissionAlgorithm throws UnsupportedOperationException for rea

Expert Bejegyzések: 493 Csatlakozás dátuma: 2012.05.26. Legújabb bejegyzések
Dhinesh dhinesh:
Executing ConvertPermissionAlgorithm causes:

11:25:32,019 FATAL [ConvertProcessMessageListener:35] Unable to process message {destinationName=liferay/convert_process, response=null, responseDestinationName=null, responseId=null, payload=com.liferay.portal.convert.ConvertPermissionAlgorithm, values=null}
com.liferay.portal.convert.ConvertException: java.lang.UnsupportedOperationException: Please make a copy of this read-only list before modifying it.
at com.liferay.portal.convert.ConvertProcess.convert(ConvertProcess.java:53)
at com.liferay.portal.convert.messaging.ConvertProcessMessageListener.doReceive(ConvertProcessMessageListener.java:47)
at com.liferay.portal.convert.messaging.ConvertProcessMessageListener.receive(ConvertProcessMessageListener.java:32)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:59)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:665)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:579)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.UnsupportedOperationException: Please make a copy of this read-only list before modifying it.
at com.liferay.portal.kernel.util.UnmodifiableList$2.set(UnmodifiableList.java:158)
at java.util.Collections.sort(Collections.java:121)
at com.liferay.portal.convert.ConvertPermissionAlgorithm.convertRoles(ConvertPermissionAlgorithm.java:508)
at com.liferay.portal.convert.ConvertPermissionAlgorithm.convertPermissions(ConvertPermissionAlgorithm.java:323)
at com.liferay.portal.convert.ConvertPermissionAlgorithm.convertToRBAC(ConvertPermissionAlgorithm.java:222)
at com.liferay.portal.convert.ConvertPermissionAlgorithm.doConvert(ConvertPermissionAlgorithm.java:661)
at com.liferay.portal.convert.ConvertProcess.convert(ConvertProcess.java:44)

Can any one help me in solving this issue?........



Hello Dinesh ....I am also facing same problem....could you get solution of above probelm..If yes please share