Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-11597

IllegalArgumentException updating external account if trace is enabled


    • Target Version/s:
    • Verified Version/s:
    • Story Points:
    • Sprint:
      OpenIDM Sprint 6.5-8
    • Support Ticket IDs:


      IDM 6.0.0 or

      An exception is thrown in the below test case if log level is set to FINEST.

      • mapping from managed user to DS 6.0.0.
      • create a managed assignment, that sets attribute "description" to "assignment1".
      • create a managed role, and add the assignment to the role.
      • create a managed user.
      • set log ".level" to "FINEST".
      • add the role to the managed user.

      => The role is added to the managed user, but the user entry in DS has no "description".

      openidm0.log.0 :

      Aug 28, 2018 10:40:19 AM org.forgerock.openidm.audit.impl.AuditServiceImpl handleCreate
      FINE: Audit create called for sync with {transactionId=8a5fd148-e8fa-4146-93a5-1068bab0ac85-579, timestamp=2018-08-28T02:40:19.843Z, eventName=sync, userId=openidm-admin, action=UPDATE, exception=org.forgerock.openidm.sync.SynchronizationException: The Attribute set must contain a 'Uid'.
       at org.forgerock.openidm.sync.impl.SyncOperation.updateTargetObject(SyncOperation.java:921)
       at org.forgerock.openidm.sync.impl.SyncOperation.performAction(SyncOperation.java:540)
       at org.forgerock.openidm.sync.impl.SourceSyncOperation.sync(SourceSyncOperation.java:78)
      Caused by: java.lang.IllegalArgumentException: The Attribute set must contain a 'Uid'.
              at org.identityconnectors.framework.common.objects.ConnectorObject.<init>(ConnectorObject.java:65)
              at org.identityconnectors.framework.common.objects.ConnectorObjectBuilder.build(ConnectorObjectBuilder.java:210)
              at org.forgerock.openidm.provisioner.openicf.commons.ObjectClassInfoHelper.getUpdateAttributes(ObjectClassInfoHelper.java:327)
              at org.forgerock.openidm.provisioner.openicf.impl.ObjectClassResourceProvider.handleUpdate(ObjectClassResourceProvider.java:595)
              ... 269 more
      , linkQualifier=default, mapping=managedUser_systemLdapAccounts, message=The Attribute set must contain a 'Uid'., messageDetail={code=500, reason=Internal Server Error, message=The Attribute set must contain a 'Uid'.}, situation=CONFIRMED, sourceObjectId=managed/user/fa55639e-5c45-4b71-9abe-9ea5877d9638, status=FAILURE, targetObjectId=86ed8850-e673-4de2-9e3a-614e78b76f69}
      Aug 28, 2018 10:40:19 AM org.forgerock.audit.AuditServiceImpl handleCreate
      • repeat the above test, but with log .level set to "INFO" (say):
        • create a new managed user, add the role to the managed user.
        • the user entry in DS has "description" set as expected.


          Issue Links



              • Assignee:
                cgdrake Chris Drake
                wei-yee.lum Wei-Yee Lum
              • Votes:
                0 Vote for this issue
                4 Start watching this issue


                • Created: