Known Issue: Import writers may fail at step "Create new AutoSynchronized licenses" due to duplicate SKU entries published in the SKU library (IOK-884762)
Known Issue: Import writers may fail at step "Create new AutoSynchronized licenses" due to duplicate SKU entries published in the SKU library (IOK-884762)
Summary
Import may fail at the “Create new AutoSynchronized licenses” step if duplicate SKUs are present in SKU library.
Details
If a SKU value appears multiple times in the SKU library published by Flexera, then inventory import processes may fail.
When this issue occurs, logging from an import process will terminate with an error similar to the following:
2022-07-27 17:04:05,123 [INFO ] Create new AutoSynchronized licenses
2022-07-27 17:04:05,341 [ERROR] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The result collection contains duplicate objects.
at DevExpress.Xpo.Helpers.ObjectCollectionLoader.EndLoadObjects(LoadObjectsContext loadObjectsContext, ICollection[] objs, Boolean proceesStubs)
at DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
at ManageSoft.Database.Xpo.XpoSession.XpoObjectLayer.DevExpress.Xpo.IObjectLayer.LoadObjects(Session p_Session, ObjectsQuery[] p_Queries)
at DevExpress.Xpo.Logger.LogManager.Log[T](String category, LogHandler`1 handler, MessageHandler`1 createMessageHandler)
at DevExpress.Xpo.Session.GetObjects(ObjectsQuery query)
at DevExpress.Xpo.XPQueryBase.GetObjects()
at DevExpress.Xpo.XPQuery`1.GetEnumerator()
at ManageSoft.Compliance.Logic.Core.Impl.ProcessingEngines.LicenseUpdateEngine.CreateNewAutoSynchronizedLicenses()
at ManageSoft.Compliance.Importer.Procedures.ManageSoft.LicenseUpdateEngine.CreateNewAutoSynchronizedLicenses()
Fix status
This issue has been fixed in the following FlexNet Manager Suite releases: 2022 R1.6 / Sep 2022 (Cloud), 2022 R2 (On Premises)
Tip: If you have been impacted by this issue, please click the KUDOS button above. This helps to track the relative significance and importance of issues. Clicking on an option against "Was this article helpful?" also helps assess and improve the usefulness of content.