0
Fixed

Import all entitiesfrom connector Workday Employee failed with reason Value cannot be null.

André van der Westhuizen 4 years ago in UNIFYBroker/Workday • updated by anonymous 3 years ago 4

The Workday Employee IdB connector fail with error: Import all entities
from connector Workday Employee failed with reason Value cannot be null.

The error in the log file is as follow:

Import all entities from connector failed.
Import all entities from connector Workday Employee failed with reason Value cannot be null.
Parameter name: value. Duration: 00:01:51.2800000
Error details:
System.ArgumentNullException: Value cannot be null.
Parameter name: value
at System.Xml.Linq.XAttribute..ctor(XName name, Object value)
at Unify.Product.IdentityBroker.OrganizationMembershipToXElementAdapter.Transform(WorkdayOrganizationMembership
sourceValue)
at
Unify.Product.IdentityBroker.MultiValueTypedAdapter`1.<Transform>b__0(TValue
v)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Unify.Product.IdentityBroker.MultiValueStringAdapter.Transform(IEnumerable`1
sourceValue)
at
Unify.Product.IdentityBroker.WorkdayExtensions.SetValue[TEntity,TValue](IConnectorEntity
entity, IEntitySchema schema, HashSet`1 effectiveThroughOffsetFields, HashSet`1
subsequentFields, GroupedNameValueCollectionKey fieldName, TEntity baseEntity,
TEntity offsetEntity, TEntity subsequentEntity, Func`2 hasValue, Func`2
getValue)
at
Unify.Product.IdentityBroker.WorkdayWorkerToEntityAdapter.Transform(WorkdayWorker
sourceValue, WorkdayWorker offsetWorker, WorkdayWorker subsequentWorker)
at
Unify.Product.IdentityBroker.WorkdayWorkerConnector.<GetWorkers>d__c.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at Unify.Framework.Collections.ActionOnExceptionEnumerator`1.MoveNext()
at Unify.Framework.Collections.EnumerableExtensions.<ActionOnLast>d__19`1.MoveNext()
at
Unify.Framework.Collections.EnumerableExtensions.<ProduceAutoPages>d__a`1.MoveNext()
at Unify.Framework.Visitor.ThreadsafeVisitorEvaluator`1.Visit()
at Unify.Product.IdentityBroker.RepositoryChangeDetectionWorkerBase.PerformChangeDetection(IEnumerable`1
connectorEntities)
at
Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.ImportAllChangeProcess()
at Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.RunBase()
at Unify.Framework.DefinedScopeJobAuditTrailJobDecorator.Run()
at
Unify.Product.IdentityBroker.ConnectorJobExecutor.<>c__DisplayClass29.<Run>b__27()
at Unify.Framework.AsynchronousJobExecutor.PerformJobCallback(Object state) 

 

Change detection engine import all items failed.
Change detection engine import all items for connector Workday Employee failed
with reason Value cannot be null.
Parameter name: value. Duration: 00:01:51.3070000
Error details:
System.ArgumentNullException: Value cannot be null.
Parameter name: value
at System.Xml.Linq.XAttribute..ctor(XName name, Object value)
at
Unify.Product.IdentityBroker.OrganizationMembershipToXElementAdapter.Transform(WorkdayOrganizationMembership
sourceValue)
at Unify.Product.IdentityBroker.MultiValueTypedAdapter`1.<Transform>b__0(TValue
v)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Unify.Product.IdentityBroker.MultiValueStringAdapter.Transform(IEnumerable`1
sourceValue)
at
Unify.Product.IdentityBroker.WorkdayExtensions.SetValue[TEntity,TValue](IConnectorEntity
entity, IEntitySchema schema, HashSet`1 effectiveThroughOffsetFields, HashSet`1
subsequentFields, GroupedNameValueCollectionKey fieldName, TEntity baseEntity,
TEntity offsetEntity, TEntity subsequentEntity, Func`2 hasValue, Func`2
getValue)
at Unify.Product.IdentityBroker.WorkdayWorkerToEntityAdapter.Transform(WorkdayWorker
sourceValue, WorkdayWorker offsetWorker, WorkdayWorker subsequentWorker)
at
Unify.Product.IdentityBroker.WorkdayWorkerConnector.<GetWorkers>d__c.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at Unify.Framework.Collections.ActionOnExceptionEnumerator`1.MoveNext()
at
Unify.Framework.Collections.EnumerableExtensions.<ActionOnLast>d__19`1.MoveNext()
at
Unify.Framework.Collections.EnumerableExtensions.<ProduceAutoPages>d__a`1.MoveNext()
at Unify.Framework.Visitor.ThreadsafeVisitorEvaluator`1.Visit()
at
Unify.Product.IdentityBroker.RepositoryChangeDetectionWorkerBase.PerformChangeDetection(IEnumerable`1
connectorEntities)
at
Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.ImportAllChangeProcess()
at Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.RunBase()
at Unify.Framework.DefinedScopeJobAuditTrailJobDecorator.Run()
at
Unify.Product.IdentityBroker.ConnectorJobExecutor.<>c__DisplayClass29.<Run>b__27()
at Unify.Framework.AsynchronousJobExecutor.PerformJobCallback(Object state)
Affected Versions:
Fixed by Version:

Issue created as discussed, please assist.

We had a similar issue in UAT, but that was a few test accounts without WorkerID. NewsLTD have checked Prod and they can't find any objects which does not have a WorkerID

Made the xml adapters resilient to missing information. You might want to double check those fields to make sure Workday hasn't started missing information.

Thanks.

Install the new update and could start a Full Import on the Workday Employee Connector

Import successful and changes is synchronized with FIM