0
Fixed

HPE Content Manager import all fails with Object reference not set to an instance of an object

Carol Wapshere 1 month ago in UNIFYBroker/Micro Focus Content Manager • updated by Beau Harrison 4 weeks ago 3

Getting the following error when running a full import from HPE Content Manager.

Change detection engine import all items failed.
Change detection engine import all items for connector CM Persons failed with reason Object reference not set to an instance of an object.. Duration: 00:00:04.3124780
Error details:
System.NullReferenceException: Object reference not set to an instance of an object.
at Unify.Product.IdentityBroker.HPTrimV9WebCommunicator.<>c.<RestWorkaround>b__43_0(RestLocationResult result)
at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
at Unify.Product.IdentityBroker.HPTrimV9WebCommunicator.RestWorkaround(IWebServiceCommunicatorInformation information, IEnumerable`1 fields, Boolean includeAccessControls, String searchQuery, Int32 pageSize)
at Unify.Product.IdentityBroker.HPTrimV9WebCommunicator.<InnerGetLocations>d__30.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at Unify.Framework.Collections.EnumerableExtensions.<ActionOnLast>d__10`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Unify.Product.IdentityBroker.AuditReadingConnectorDecorator.GetAllEntities(IStoredValueCollection storedValues, CancellationToken cancellationToken)
at Unify.Product.IdentityBroker.EventNotifierReadingConnectorDecoratorBase`1.GetAllEntities(IStoredValueCollection storedValues, CancellationToken cancellationToken)
at Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.ImportAllChangeProcess()
at Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.RunBase()
at Unify.Framework.DefinedScopeJobAuditTrailJobDecorator.Run()
at Unify.Product.IdentityBroker.ConnectorJobExecutor.<>c__DisplayClass30_0.<Run>b__0()
at Unify.Framework.AsynchronousJobExecutor.PerformJobCallback(Object state)

I’ve tried clearing the connector and running the import again, but get the same thing.

Affected Versions:
Fixed by Version:

Answer

Answer
Fixed

Hi Carol

Here is a patch for you to try. Please install and rerun the failing operation. It should replace the patch Curtis provided last week.

Unify.IdentityBroker.Communicator.HPTrim.We....dll

This is weird – I went through and deleted all the locations I created in CM, in case there was something wrong with them – but still get the import error. Nothing has changed in IdB since the import worked last Thursday. I ran my powershell test and it is only returning the expected 5 locations, which were successfully imported before.

Actually, I did make one change, I changed the Adapter DN template from “UID=@IdBID” to “CN=@IdBID” – but that could cause any problems could it? I cleared the adapter after making that change.

Answer
Fixed

Hi Carol

Here is a patch for you to try. Please install and rerun the failing operation. It should replace the patch Curtis provided last week.

Unify.IdentityBroker.Communicator.HPTrim.We....dll

Thanks, the import ran after applying the patch.