0
Answered

No groups in GoogleApps causes 'Value cannot be nul'

Rizwan Ahmed 10 years ago in UNIFYBroker/Google Apps updated by anonymous 8 years ago 3

Monash has deleted all the Groups from Google, now when they run an Import All they are getting following error

20141009,22:56:48,UNIFY Identity Broker,Connector Processor,Information,"Connector processing success.
0 entites in cumulative total. Current processing of page 1 for connector gappsOUConnector processed 4 entities, finding 0 differences. Duration: 00:00:00.2675610. ",Normal
20141009,22:56:49,UNIFY Identity Broker,Change detection engine,Information,"Change detection engine import all items completed.
Change detection engine import all items for connector gappsOUConnector completed. Duration: 00:00:07.3081260",Normal
20141009,22:56:49,UNIFY Identity Broker,Change detection engine,Information,"Started processing changes register items.
Started processing changes register items for connector gappsUserConnector.",Normal
20141009,22:56:50,UNIFY Identity Broker,Change detection engine,Information,"Changes register item processing completed.
Changes register item processing on connector gappsUserConnector completed. Duration: 00:00:01.0477845",Normal
20141009,22:57:53,UNIFY Identity Broker,Change detection engine,Information,"Change detection engine import all items started.
Change detection engine import all items for connector gappsGroupConnector started.",Normal
20141009,22:57:53,UNIFY Identity Broker,Connector,Information,"Request to import all entities from connector.
Request to import all entities from connector gappsGroupConnector.",Normal
20141009,22:57:55,UNIFY Identity Broker,Connector,Warning,"Import all entities from connector failed.
Import all entities from connector gappsGroupConnector failed with reason Value cannot be null.
Parameter name: source. Duration: 00:00:01.6551675
Error details:
System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.AnyTSource(IEnumerable`1 source)
at Unify.Product.IdentityBroker.GoogleAgent.<GroupGetPages>d__16.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.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.Framework.Visitor.VisitEvaluateOnThreadPoolT(IEnumerable`1 visitCollection, Action`2 visitor, Int32 maxThreads)
at Unify.Framework.Visitor.VisitEvaluateOnThreadPoolT(IEnumerable`1 visitCollection, Action`1 visitor, Int32 maxThreads)
at Unify.Product.IdentityBroker.RepositoryChangeDetectionWorkerBase.PerformChangeDetection(IEnumerable`1 connectorEntities)
at Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.ImportAllChangeProcess()
at Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.RunBase()
at Unify.Framework.JobBase.Run()
at Unify.Framework.DefinedScopeJobAuditTrailJobDecorator.Run()
at Unify.Product.IdentityBroker.ConnectorJobExecutor.<>c_DisplayClass29.<Run>b_27()
at Unify.Framework.ActionJob.RunBase()
at Unify.Framework.JobBase.Run()
at Unify.Framework.AsynchronousJobExecutor.PerformJobCallback(Object state)",Normal
20141009,22:57:55,UNIFY Identity Broker,Change detection engine,Error,"Change detection engine import all items failed.

Another Google bug. Worked around in the next release.

Just wanted to mention that this issue was experienced with all the object types not only with Groups. Please confirm if its fixed for Users, Groups, OUs, Calendar and Shared Contacts?

Thanks Rizwan Ahmed, yes, I had added the workaround to all places that do paged retrievals.