cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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)

Other information

Master issue ID: IOK-884762

Also known as: FNML-76622

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 20, 2023 01:32 PM
Updated by:
Knowledge base article header content