[midPoint] Office 365 Connector returning ArrayIndexOutOfBoundsException: 1

Martin Marchese mmarchese at identicum.com
Thu May 12 14:27:21 CEST 2016


Hi all,

We are testing the o365 connector and we were able to setup the
configuration and test connection succesfully.

For now, we have no mappings set up.

When we try to assign the resource to a user, we are receiving the
following error.

com.evolveum.midpoint.util.exception.SystemException:
java.lang.ArrayIndexOutOfBoundsException: 1

And the user is not created.

Attached is the full error stack. Any clues on what could be happening?

Thanks in Advance

*Ing. Martín Marchese*
Identicum S.A.
Anchorena 1357 PB
Tel: +54 (11) 3526.5509
mmarchese at identicum.com
www.identicum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160512/b45df2e4/attachment.htm>
-------------- next part --------------
java.lang.ArrayIndexOutOfBoundsException: 1
at org.identityconnectors.office365.Office365Connection.isUserInAFederatedDomain(Office365Connection.java:508)
at org.identityconnectors.office365.Office365UserOps.createUser(Office365UserOps.java:83)
at org.identityconnectors.office365.Office365Connector.create(Office365Connector.java:152)
at org.identityconnectors.framework.impl.api.local.operations.CreateImpl.create(CreateImpl.java:107)
at sun.reflect.GeneratedMethodAccessor966.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:98)
at com.sun.proxy.$Proxy184.create(Unknown Source)
at sun.reflect.GeneratedMethodAccessor966.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:96)
at com.sun.proxy.$Proxy184.create(Unknown Source)
at sun.reflect.GeneratedMethodAccessor966.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:99)
at com.sun.proxy.$Proxy184.create(Unknown Source)
at sun.reflect.GeneratedMethodAccessor966.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.identityconnectors.framework.impl.api.LoggingProxy.invoke(LoggingProxy.java:83)
at com.sun.proxy.$Proxy184.create(Unknown Source)
at org.identityconnectors.framework.impl.api.AbstractConnectorFacade.create(AbstractConnectorFacade.java:156)
at com.evolveum.midpoint.provisioning.ucf.impl.ConnectorInstanceIcfImpl.addObject_aroundBody12(ConnectorInstanceIcfImpl.java:1411)
at com.evolveum.midpoint.provisioning.ucf.impl.ConnectorInstanceIcfImpl$AjcClosure13.run(ConnectorInstanceIcfImpl.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:178)
at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$wrapSubsystem(MidpointAspect.java:1)
at com.evolveum.midpoint.util.aspect.MidpointAspect.processUcfNdc(MidpointAspect.java:78)
at com.evolveum.midpoint.provisioning.ucf.impl.ConnectorInstanceIcfImpl.addObject(ConnectorInstanceIcfImpl.java:1303)
at com.evolveum.midpoint.provisioning.impl.ResourceObjectConverter.addResourceObject(ResourceObjectConverter.java:306)
at com.evolveum.midpoint.provisioning.impl.ShadowCache.addShadow(ShadowCache.java:365)
at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.addObject_aroundBody2(ProvisioningServiceImpl.java:341)
at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl$AjcClosure3.run(ProvisioningServiceImpl.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:178)
at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$wrapSubsystem(MidpointAspect.java:1)
at com.evolveum.midpoint.util.aspect.MidpointAspect.processProvisioningNdc(MidpointAspect.java:68)
at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.addObject(ProvisioningServiceImpl.java:321)
at com.evolveum.midpoint.model.impl.lens.ChangeExecutor.addProvisioningObject(ChangeExecutor.java:1227)
at com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeAddition(ChangeExecutor.java:1010)
at com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeDelta(ChangeExecutor.java:696)
at com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeChanges(ChangeExecutor.java:289)
at com.evolveum.midpoint.model.impl.lens.Clockwork.processSecondary(Clockwork.java:501)
at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:331)
at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:209)
at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges_aroundBody4(ModelController.java:616)
at com.evolveum.midpoint.model.impl.controller.ModelController$AjcClosure5.run(ModelController.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:178)
at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$wrapSubsystem(MidpointAspect.java:1)
at com.evolveum.midpoint.util.aspect.MidpointAspect.processModelNdc(MidpointAspect.java:63)
at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:432)
at sun.reflect.GeneratedMethodAccessor999.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:480)
at com.sun.proxy.$Proxy163.executeChanges(Unknown Source)
at com.evolveum.midpoint.web.component.progress.ProgressReporter$1.run(ProgressReporter.java:184)
at java.lang.Thread.run(Thread.java:745)


More information about the midPoint mailing list