Error in Reporter Node Settings if the login used to connect Reporter to the UVMS has no role.

Document ID : KB000085470
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
there will be an exception in the console:

In the Console:
##########################
 java.util.ArrayList cannot be cast to com.orsyp.reppub.common.parameterobject.SimpleMessage 
##########################

In the UVC log:
##########################
at java.lang.Thread.run(Unknown Source) 
|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) 
##########################

Patch level detected:Univiewer Console 4.0.00
Product Version: Dollar.Universe 6.0.0

Description :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.
Environment:
OS: All
OS Version: All
Cause:
Cause type:
Defect
Root Cause: The case of login with no roles, was not handled correctly.
Resolution:
With UVC 4.0.14, a possible workaround is to associate a Role to the Login (through the Group)

Fix Status: Released

Fix Version(s):
Component: Univiewer.Console
Version: Dollar.Universe 6.0.0
Additional Information:
Workaround :
N/A