Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-306

Problem with sync action AddUserAction...

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8 (Hyperion)
    • Fix Version/s: 1.8 (Hyperion)
    • Component/s: Model
    • Labels:
      None

      Description

      do not apply changes back to the system from witch the change came..

      com.evolveum.midpoint.schema.exception.CommunicationException: org.identityconnectors.framework.common.exceptions.ConnectorException: javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Entry cn=a,ou=People,dc=example,dc=com cannot be modified because it would have resulted in one or more duplicate values for attribute l: middle of nowhere]; remaining name 'cn=a,ou=People,dc=example,dc=com'
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.modifyObject_aroundBody30(ProvisioningServiceImpl.java:501)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl$AjcClosure31.run(ProvisioningServiceImpl.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.aspect.ProfilingAspect.profile(ProfilingAspect.java:56)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.modifyObject_aroundBody32(ProvisioningServiceImpl.java:453)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl$AjcClosure33.run(ProvisioningServiceImpl.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.aspect.LoggingAspect.logMethodExecution(LoggingAspect.java:119)
      at com.evolveum.midpoint.aspect.LoggingAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_aspect_LoggingAspect$com_evolveum_midpoint_aspect_LoggingAspect$logMethodExecution(LoggingAspect.java:1)
      at com.evolveum.midpoint.aspect.LoggingAspect.logProvisioningExecution(LoggingAspect.java:65)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.modifyObject_aroundBody34(ProvisioningServiceImpl.java:453)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl$AjcClosure35.run(ProvisioningServiceImpl.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.aspect.NdcAspect.markSubsystem(NdcAspect.java:70)
      at com.evolveum.midpoint.aspect.NdcAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_aspect_NdcAspect$com_evolveum_midpoint_aspect_NdcAspect$markSubsystem(NdcAspect.java:1)
      at com.evolveum.midpoint.aspect.NdcAspect.processProvisioningNdc(NdcAspect.java:48)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.modifyObject(ProvisioningServiceImpl.java:453)
      at com.evolveum.midpoint.model.controller.ModelControllerImpl.modifyRepositoryObjectWithExclusion(ModelControllerImpl.java:1052)
      at com.evolveum.midpoint.model.controller.ModelControllerImpl.modifyObjectWithExclusion(ModelControllerImpl.java:390)
      at com.evolveum.midpoint.model.controller.ModelControllerImpl.modifyObject(ModelControllerImpl.java:362)
      at com.evolveum.midpoint.model.sync.action.LinkAccountAction.executeChanges(LinkAccountAction.java:86)
      at com.evolveum.midpoint.model.sync.SynchronizationService.notifyChange(SynchronizationService.java:366)
      at com.evolveum.midpoint.model.sync.SynchronizationService.notifyChange(SynchronizationService.java:151)
      at com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl.notifyChange_aroundBody0(ChangeNotificationDispatcherImpl.java:84)
      at com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl$AjcClosure1.run(ChangeNotificationDispatcherImpl.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.aspect.ProfilingAspect.profile(ProfilingAspect.java:56)
      at com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl.notifyChange_aroundBody2(ChangeNotificationDispatcherImpl.java:76)
      at com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl$AjcClosure3.run(ChangeNotificationDispatcherImpl.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.aspect.LoggingAspect.logMethodExecution(LoggingAspect.java:119)
      at com.evolveum.midpoint.aspect.LoggingAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_aspect_LoggingAspect$com_evolveum_midpoint_aspect_LoggingAspect$logMethodExecution(LoggingAspect.java:1)
      at com.evolveum.midpoint.aspect.LoggingAspect.logResourceObjectChangeListenerExecution(LoggingAspect.java:75)
      at com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl.notifyChange_aroundBody4(ChangeNotificationDispatcherImpl.java:76)
      at com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl$AjcClosure5.run(ChangeNotificationDispatcherImpl.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.aspect.NdcAspect.markSubsystem(NdcAspect.java:70)
      at com.evolveum.midpoint.aspect.NdcAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_aspect_NdcAspect$com_evolveum_midpoint_aspect_NdcAspect$markSubsystem(NdcAspect.java:1)
      at com.evolveum.midpoint.aspect.NdcAspect.processResourceObjectChangeListenerNdc(NdcAspect.java:53)
      at com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl.notifyChange(ChangeNotificationDispatcherImpl.java:76)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.notifyResourceObjectChangeListeners(ProvisioningServiceImpl.java:724)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.synchronize_aroundBody12(ProvisioningServiceImpl.java:334)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl$AjcClosure13.run(ProvisioningServiceImpl.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.aspect.ProfilingAspect.profile(ProfilingAspect.java:56)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.synchronize_aroundBody14(ProvisioningServiceImpl.java:273)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl$AjcClosure15.run(ProvisioningServiceImpl.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.aspect.LoggingAspect.logMethodExecution(LoggingAspect.java:119)
      at com.evolveum.midpoint.aspect.LoggingAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_aspect_LoggingAspect$com_evolveum_midpoint_aspect_LoggingAspect$logMethodExecution(LoggingAspect.java:1)
      at com.evolveum.midpoint.aspect.LoggingAspect.logProvisioningExecution(LoggingAspect.java:65)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.synchronize_aroundBody16(ProvisioningServiceImpl.java:273)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl$AjcClosure17.run(ProvisioningServiceImpl.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.aspect.NdcAspect.markSubsystem(NdcAspect.java:70)
      at com.evolveum.midpoint.aspect.NdcAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_aspect_NdcAspect$com_evolveum_midpoint_aspect_NdcAspect$markSubsystem(NdcAspect.java:1)
      at com.evolveum.midpoint.aspect.NdcAspect.processProvisioningNdc(NdcAspect.java:48)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.synchronize(ProvisioningServiceImpl.java:273)
      at com.evolveum.midpoint.model.sync.LiveSyncTaskHandler.run(LiveSyncTaskHandler.java:96)
      at com.evolveum.midpoint.task.impl.CycleRunner.run(CycleRunner.java:78)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: com.evolveum.midpoint.provisioning.ucf.api.GenericFrameworkException: org.identityconnectors.framework.common.exceptions.ConnectorException: javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Entry cn=a,ou=People,dc=example,dc=com cannot be modified because it would have resulted in one or more duplicate values for attribute l: middle of nowhere]; remaining name 'cn=a,ou=People,dc=example,dc=com'
      at com.evolveum.midpoint.provisioning.ucf.impl.ConnectorInstanceIcfImpl.processIcfException(ConnectorInstanceIcfImpl.java:1339)
      at com.evolveum.midpoint.provisioning.ucf.impl.ConnectorInstanceIcfImpl.modifyObject(ConnectorInstanceIcfImpl.java:637)
      at com.evolveum.midpoint.provisioning.impl.ShadowCache.modifyShadow(ShadowCache.java:624)
      at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.modifyObject_aroundBody30(ProvisioningServiceImpl.java:489)
      ... 60 more
      Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Entry cn=a,ou=People,dc=example,dc=com cannot be modified because it would have resulted in one or more duplicate values for attribute l: middle of nowhere]; remaining name 'cn=a,ou=People,dc=example,dc=com'
      at org.identityconnectors.ldap.modify.LdapUpdate.modifyAttributes(LdapUpdate.java:285)
      at org.identityconnectors.ldap.modify.LdapUpdate.modifyAttributes(LdapUpdate.java:277)
      at org.identityconnectors.ldap.modify.LdapUpdate.addAttributeValues(LdapUpdate.java:168)
      at org.identityconnectors.ldap.LdapConnector.addAttributeValues(LdapConnector.java:130)
      at org.identityconnectors.framework.impl.api.local.operations.UpdateImpl.addAttributeValues(UpdateImpl.java:118)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)
      at $Proxy69.addAttributeValues(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:107)
      at $Proxy69.addAttributeValues(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:107)
      at $Proxy69.addAttributeValues(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.identityconnectors.framework.impl.api.LoggingProxy.invoke(LoggingProxy.java:76)
      at $Proxy69.addAttributeValues(Unknown Source)
      at org.identityconnectors.framework.impl.api.AbstractConnectorFacade.addAttributeValues(AbstractConnectorFacade.java:166)
      at com.evolveum.midpoint.provisioning.ucf.impl.ConnectorInstanceIcfImpl.modifyObject(ConnectorInstanceIcfImpl.java:634)
      ... 62 more
      Caused by: javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Entry cn=a,ou=People,dc=example,dc=com cannot be modified because it would have resulted in one or more duplicate values for attribute l: middle of nowhere]; remaining name 'cn=a,ou=People,dc=example,dc=com'
      at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3025)
      at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
      at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
      at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1455)
      at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:255)
      at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:172)
      at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:161)
      at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:148)
      at org.identityconnectors.ldap.modify.LdapUpdate.modifyAttributes(LdapUpdate.java:283)
      ... 92 more

        Attachments

          Activity

            People

            Assignee:
            katkav Katka Bolemant
            Reporter:
            katkav Katka Bolemant
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: