Hey guys,

I've been using Draco with the Vault client for a few months now on a
clean box that hasn't been touched or modified. Though, in the last 24
hours I had a nasty bug rear it's head. The following exception was
getting thrown:


Failed to process build 'Lego'.  The following exception occurred:
System.InvalidOperationException: Specified IComparer threw an
exception. ---> System.NullReferenceException: Object reference not
set to an instance of an object.
   at Draco.Core.Scc.Modification.CompareTo(Object obj)
   at System.Collections.Comparer.Compare(Object a, Object b)
   at System.SorterObjectArray.QuickSort(Int32 left, Int32 right)
   --- End of inner exception stack trace ---
   at System.SorterObjectArray.QuickSort(Int32 left, Int32 right)
   at System.SorterObjectArray.QuickSort(Int32 left, Int32 right)
   at System.SorterObjectArray.QuickSort(Int32 left, Int32 right)
   at System.Array.Sort(Array keys, Array items, Int32 index, Int32
length, IComparer comparer)
   at System.Array.Sort(Array array)
   at Draco.Core.Runtime.BuildRunner.GetModifications(DateTime
earliestModificationTime)
   at Draco.Core.Runtime.BuildRunner.CheckForChanges(BuildType
buildType, Boolean& changesSinceLastBuild)
   at Draco.Core.Runtime.BuildRunner.Start(BuildType buildType)


Unfortunately, I didn't have time to debug it fully to find out the
real cause of the problem, but putting null checks in
Modification.CompareTo worked as a temporary stop-gap for me.

But, I wanted to give you guys a heads up in case you want to
investigate it further.

Please let me know if I can provide any further information.


Thanks,
-Jason


-- 
------

Jason Alexander
ASP.NET MVP, ASPInsider
President, Plano .NET User Group


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users

Reply via email to