Script Finder throws an unhandled exception

Topics: Bug
Feb 3, 2015 at 1:50 PM
Trying the Script Finder plugin, v1.2015.1.17 and after I press "Find scripts", I'm getting an unhandled exception ...

Other plugins are working fine

This is against a CRM 2013 Online instance, using Toolbox v1.2015.1.19
************** Exception Text **************
System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at MsCrmTools.ScriptsFinder.ScriptsManager.LoadScripts(EntityMetadata emd)
   at MsCrmTools.ScriptsFinder.ScriptsManager.Find()
   at MsCrmTools.ScriptsFinder.ScriptsFinder.<FindScripts>b__0(DoWorkEventArgs e)
   at XrmToolBox.Worker.<>c__DisplayClass2.<WorkAsync>b__0(Object s, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Feb 3, 2015 at 1:58 PM
I can reproduced the problem

I will fix this asap
Feb 3, 2015 at 5:11 PM
tanguy92 wrote:
I can reproduced the problem

I will fix this asap
Feb 4, 2015 at 8:53 PM
ok, it seems that the problem occurs when a script is referenced on a non existent attribute...

That will be fixed in the next release