After deploying a custom endpoint using Connector XPress, the Account Template from Provisioning Manager is created successfully but from the Identity Manager UI the following error is shown in the Identity Manager log file
ERROR [im.provisioning] (Thread-136 (HornetQ-client-global-threads-876994094)) java.lang.String cannot be cast to java.util.Collection
Identity Manager 14.x
Check if the endpoint is managing email address, for some reason, it can generate this casting error
Do the following to fix it:
1. Open the project
2. From Account attributes, remove the email attribute
3. Create the email attribute again
4. Deploy the new connector
5. Stop Identity Manager service
6. Update the JAR file in the Identity Manager lib
7. Start the Identity Manager service