Trying to change directory attribute mapping getting Error "Connector communication failed because of invalid data: Index: 0, Size: 0"
search cancel

Trying to change directory attribute mapping getting Error "Connector communication failed because of invalid data: Index: 0, Size: 0"

book

Article ID: 387060

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:

  • after changing an attribute, in "Sync Settings > Mapped Attributes" for the configured directory, when trying to save the directory the below banner is seen
  • In /opt/vmware/horizon/workspace/logs/connector.log the following IndexOutOfBoundsException can be seen
    <TIMESTAMP> ERROR (Thread-X) [TENANT-ID;configadmin@TENANT-ID;000.000.000.8;] com.vmware.horizon.connector.mvc.C2ExceptionResolver - Exception caught in C2ExceptionResolver. (java.lang.IndexOutOfBoundsException )
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
            at java.util.ArrayList.rangeCheck(ArrayList.java:659) ~[?:1.8.0_352]
            at java.util.ArrayList.get(ArrayList.java:435) ~[?:1.8.0_352]
            at com.vmware.horizon.connector.admin.RestHorizonServiceImpl.convert(RestHorizonServiceImpl.java:319) ~[connector-service-api-0.1.jar:000.000.000.21 Build 21173100]
            at com.vmware.horizon.connector.admin.RestHorizonServiceImpl.createSyncUser(RestHorizonServiceImpl.java:298) ~[connector-service-api-0.1.jar:000.000.000.21 Build 21173100]
            at com.vmware.horizon.connector.admin.controller.DirectoryController.createAdminUserAndPromoteAsAdmin(DirectoryController.java:567) ~[classes/:000.000.000.21 Build 21173100]
            ...

Environment

VMware Identity Manager 3.3.7

Resolution

The configured account for the directory sync has no access to read from the newly configured property.

Please review the permissions of the account and allow access to read from this property.