Known Issue: Citrix XenApp agent may fail with error when delivery group has no users: "Object reference not set to an instance of an object" (IOJ-2228355)
Known Issue: Citrix XenApp agent may fail with error when delivery group has no users: "Object reference not set to an instance of an object" (IOJ-2228355)
Summary
If an application is assigned in Citrix XenApp to a delivery group that has no users, the XenApp agent may fail with an error.
Details
Logging from the XenApp agent appears as follows when this issue occurs:
2021-06-15 9:13:35.100 : Informational : Fetching users for application 'Mozilla Firefox_1'
2021-06-15 9:13:35.131 : Error : Object reference not set to an instance of an object.
at Flexera.Compliance.Importer.XenAppAgent.DataProviders.XenAppDataProvider.GetApplicationUsers(Application app, IList`1 allUsers, Dictionary`2 AppGroupUsersIndexed, Dictionary`2 DeliveryGroupUsersIndexed, IList`1 allDesktopGroup)
at Flexera.Compliance.Importer.XenAppAgent.DataProviders.XenAppDataProvider.GetXenAppApplications(String adminAddress, String siteName, IList`1 xaDesktopGroups)
at Flexera.Compliance.Importer.XenAppAgent.DataProviders.XenAppDataProvider.GetAclApplications()
at Flexera.Compliance.Importer.XenAppAgent.AclImporter.GenerateXenAppXml()
at Flexera.Compliance.Importer.XenAppAgent.Program.Main(String[] args)
Fix status
This issue is still open but not currently scheduled to be addressed.
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.