Removing a data class added to the Filter Criteria List causes filters to display "An error has occurred that prevents the data displaying. Check server logs for details"

book

Article ID: 173623

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Removing a data class added to the Filter Criteria List causes filters to display "An error has occurred that prevents the data displaying. Check server logs for details"

The issue is limited to user accounts which have added the data class to their filter criteria list.

The middle pane will display "An error has occurred that prevents the data displaying. Check server logs for details"

The Symantec Management Platform (SMP) logs will have entries similar to the entries below.

Failed to run filter.

Object reference not set to an instance of an object.
   [System.NullReferenceException @ Altiris.NS.Services.CoreServices]
   at Altiris.NS.Services.CoreServices.HelperClasses.FilterHelper.GetMembers(RunFilterData runData, Boolean respectDeltaMembershipSchedule)
   at Altiris.NS.Services.CoreServices.Providers.ComputerFilterDataProvider.GetDataWithScoping(Boolean& bHasMixedResources)
   at Altiris.NS.Services.CoreServices.Providers.FilterDataView.GetData(IFilterDataProvider dataProvider)
   at Altiris.NS.Services.CoreServices.ResourceService.EvaluateFilter(RunFilterData runData)
   at Altiris.NS.Services.CoreServices.ResourceService.RunFilter(RunFilterData runData)

Failed to get saved search:

Unable to load the specified item: b6c85eac-aa25-43fa-97d4-1b59cb0065b2
   [Altiris.NS.Exceptions.AeXException @ Altiris.NS]
   at Altiris.NS.ItemManagement.Item.Load(Guid itemGuid)
   at Altiris.NS.ItemManagement.Item.GetItemInternal(Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags, Boolean& cacheHit)
   at Altiris.NS.ItemManagement.Item.GetItemInternal(Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags)
   at Altiris.NS.Services.CoreServices.Providers.SavedSearchHelperProvider.GetSavedSearch(Guid savedSearchGuid, Guid baseSearchGuid)

 

Cause

The references to the data class in the filter criteria list do not get removed when the data class is deleted.

Resolution

The reference to the removed data class will need to be removed manually.

Please contact Symantec Support for further assistance.