In Reporter Node Settings, If the login used to connect Reporter to the UVMS has no role, there will be an error in the console while checking the UVMS connection in the Reporter settings.
In the Console:
java.util.ArrayList cannot be cast to com.orsyp.reppub.common.parameterobject.SimpleMessage
In the UVC log:
|2012-10-19 12:01:54,985|ERROR||BackgroundWorker-84|com.orsyp.kmeleon.document.nodesettings.view.ValidateUVMSDialog|java.util.ArrayList cannot be cast to com.orsyp.reppub.common.parameterobject.SimpleMessage
java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.orsyp.reppub.common.parameterobject.SimpleMessage
at com.orsyp.reppub.client.ReporterAPI.checkConnectionToUVMS(ReporterAPI.java:1358)
at com.orsyp.kmeleon.business.RepBusiness.checkConnectionToUVMS(RepBusiness.java:931)
at com.orsyp.kmeleon.document.nodesettings.view.ValidateUVMSDialog.startValidating(ValidateUVMSDialog.java:173)
at com.orsyp.kmeleon.document.nodesettings.controller.ReporterNodeSettingsController$1.run(ReporterNodeSettingsController.java:502)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cause type: Defect
Root Cause: The case of login with no roles was not handled correctly.