aboodh95 / SolutionLayerRemoval

XrmToolBox tool to remove the active layer from the components in bulk action
MIT License
6 stars 4 forks source link

Object reference error while loading unmanaged components #1

Closed v22arvind closed 4 years ago

v22arvind commented 4 years ago

** Exception Text ** System.NullReferenceException: Object reference not set to an instance of an object. at SolutionLayerRemoval.SolutionLayerRemovalControl.<>c.b4_0(RetrieveMultipleResponse x) at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at SolutionLayerRemoval.SolutionLayerRemovalControl.LoadComponentsDefinitions(RunWorkerCompletedEventArgs resultArgs) at XrmToolBox.Extensibility.Worker.<>c__DisplayClass4_0.b0(Object s, RunWorkerCompletedEventArgs e) at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)

aboodh95 commented 4 years ago

@v22arvind ,

Can I know the version of the Environment you are working on it

v22arvind commented 4 years ago

CRM 2016, 8.2 - on premise setup. Any other info you need?

aboodh95 commented 4 years ago

No, thanks for the details, uniformity the API calls that made in the tool is only supported for V9 and up as the features of removing the layers was only introduced in the latest version