Describe the bug
When I try to open the crafts window I get an error:
System.InvalidOperationException: Failed to compare two elements in the array.
---> System.ArgumentException: At least one object must implement IComparable.
at System.Collections.Generic.ObjectComparer1.Compare(T x, T y) at System.Linq.Enumerable.EnumerableSorter2.CompareAnyKeys(Int32 index1, Int32 index2)
at System.Collections.Generic.ArraySortHelper1.IntroSort(Span1 keys, Int32 depthLimit, Comparison1 comparer) at System.Collections.Generic.ArraySortHelper1.IntroSort(Span1 keys, Int32 depthLimit, Comparison1 comparer)
at System.Collections.Generic.ArraySortHelper1.IntroSort(Span1 keys, Int32 depthLimit, Comparison1 comparer) at System.Collections.Generic.ArraySortHelper1.Sort(Span1 keys, Comparison1 comparer)
--- End of inner exception stack trace ---
at System.Collections.Generic.ArraySortHelper1.Sort(Span1 keys, Comparison1 comparer) at System.Linq.Enumerable.EnumerableSorter2.QuickSort(Int32[] keys, Int32 lo, Int32 hi)
at System.Linq.Enumerable.OrderedIterator`1.ToList()
at InventoryTools.Groupers.MissingRequirementsGrouper.GetMissingRequirements(CraftList craftList) in /work/repo/InventoryTools/Groupers/MissingRequirementsGrouper.cs:line 65
at InventoryTools.Ui.CraftsWindow.DrawCraftPanel(FilterConfiguration filterConfiguration) in /work/repo/InventoryTools/Ui/Windows/CraftsWindow.cs:line 2403
at InventoryTools.Ui.CraftsWindow.DrawMainWindow() in /work/repo/InventoryTools/Ui/Windows/CraftsWindow.cs:line 1943
at InventoryTools.Ui.CraftsWindow.DrawTabBar() in /work/repo/InventoryTools/Ui/Windows/CraftsWindow.cs:line 1850
at InventoryTools.Ui.CraftsWindow.DrawWindow() in /work/repo/InventoryTools/Ui/Windows/CraftsWindow.cs:line 1775
at InventoryTools.Ui.Window.Draw() in /work/repo/InventoryTools/Ui/Windows/Window.cs:line 55
at Dalamud.Interface.Windowing.WindowHost.DrawInternal(WindowDrawParameters internalDrawParams, WindowSystemPersistence persistence) in /_/Dalamud/Interface/Windowing/WindowHost.cs:line 351
To Reproduce
Steps to reproduce the behavior:
- Try go to 'craft's window' from the widget list view button
- See error
Expected behavior
Should open the crafts window that contains the crafting lists
Describe the bug
When I try to open the crafts window I get an error:
System.InvalidOperationException: Failed to compare two elements in the array.
---> System.ArgumentException: At least one object must implement IComparable.
at System.Collections.Generic.ObjectComparer
1.Compare(T x, T y) at System.Linq.Enumerable.EnumerableSorter2.CompareAnyKeys(Int32 index1, Int32 index2)at System.Collections.Generic.ArraySortHelper
1.IntroSort(Span1 keys, Int32 depthLimit, Comparison1 comparer) at System.Collections.Generic.ArraySortHelper1.IntroSort(Span1 keys, Int32 depthLimit, Comparison1 comparer)at System.Collections.Generic.ArraySortHelper
1.IntroSort(Span1 keys, Int32 depthLimit, Comparison1 comparer) at System.Collections.Generic.ArraySortHelper1.Sort(Span1 keys, Comparison1 comparer)--- End of inner exception stack trace ---
at System.Collections.Generic.ArraySortHelper
1.Sort(Span1 keys, Comparison1 comparer) at System.Linq.Enumerable.EnumerableSorter2.QuickSort(Int32[] keys, Int32 lo, Int32 hi)at System.Linq.Enumerable.OrderedIterator`1.ToList()
at InventoryTools.Groupers.MissingRequirementsGrouper.GetMissingRequirements(CraftList craftList) in /work/repo/InventoryTools/Groupers/MissingRequirementsGrouper.cs:line 65
at InventoryTools.Ui.CraftsWindow.DrawCraftPanel(FilterConfiguration filterConfiguration) in /work/repo/InventoryTools/Ui/Windows/CraftsWindow.cs:line 2403
at InventoryTools.Ui.CraftsWindow.DrawMainWindow() in /work/repo/InventoryTools/Ui/Windows/CraftsWindow.cs:line 1943
at InventoryTools.Ui.CraftsWindow.DrawTabBar() in /work/repo/InventoryTools/Ui/Windows/CraftsWindow.cs:line 1850
at InventoryTools.Ui.CraftsWindow.DrawWindow() in /work/repo/InventoryTools/Ui/Windows/CraftsWindow.cs:line 1775
at InventoryTools.Ui.Window.Draw() in /work/repo/InventoryTools/Ui/Windows/Window.cs:line 55
at Dalamud.Interface.Windowing.WindowHost.DrawInternal(WindowDrawParameters internalDrawParams, WindowSystemPersistence persistence) in /_/Dalamud/Interface/Windowing/WindowHost.cs:line 351
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should open the crafts window that contains the crafting lists