Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Crash when trying to open targetbox combobox #2610

Closed
1 of 2 tasks
WeylonSantana opened this issue Feb 21, 2025 · 0 comments · Fixed by #2618
Closed
1 of 2 tasks

bug: Crash when trying to open targetbox combobox #2610

WeylonSantana opened this issue Feb 21, 2025 · 0 comments · Fixed by #2618
Labels
bug Something isn't working help wanted Issues/features that are available to be worked on by anyone verified Issue has been verified as valid/existing.

Comments

@WeylonSantana
Copy link
Contributor

Description

1740150701_Intersect_Client.mp4

Steps to Reproduce

above

Version with bug

v0.8.0.413-beta+c8c78ba27fcd3f98468664156635adde6309a95a

Last version that worked well

Unknown

Affected platforms

Windows 10

Is this bug platform-specific?

  • Yes this is platform-specific issue

Did you find any workaround?

No response

Relevant log output

2025-02-21 12:09:43.951 -03:00 [INF] Starting Intersect Client v0.8.0.413-beta+c8c78ba27fcd3f98468664156635adde6309a95a
2025-02-21 12:10:03.592 -03:00 [FTL] Game is crashing due to an exception
System.InvalidOperationException: Failed to compare two elements in the array.
 ---> System.ArgumentException: At least one object must implement IComparable.
   at System.Collections.Comparer.Compare(Object a, Object b)
   at System.Collections.Generic.ArraySortHelper`1.InternalBinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   --- End of inner exception stack trace ---
   at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   at System.Collections.Generic.List`1.BinarySearch(T item)
   at Intersect.Client.Framework.Gwen.Control.Base.Remove(Base this, Base node) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 2167
   at Intersect.Framework.Threading.ActionQueue`2.Enqueue[TState0,TState1](Action`2 action, TState0 state0, TState1 state1) in D:\a\Intersect-Engine\Intersect-Engine\Framework\Intersect.Framework\Threading\ActionQueue.State`2.cs:line 9
   at Intersect.Client.Framework.Gwen.Control.Base.Remove(Base node) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 2163
   at Intersect.Client.Interface.Game.TargetContextMenu.TryShowTargetButton(Boolean shouldShow) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\TargetContextMenu.cs:line 157
   at Intersect.Client.Interface.Game.TargetContextMenu.ToggleHidden(Object target) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\TargetContextMenu.cs:line 125
   at Intersect.Client.Interface.Game.EntityPanel.EntityBox.<.ctor>b__38_0(Base _, MouseButtonState _) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\EntityPanel\EntityBox.cs:line 176
   at Intersect.Client.Framework.Gwen.Control.Base.InputMouseButtonState(MouseButton mouseButton, Point mousePosition, Boolean pressed, Boolean userAction) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 3380
   at Intersect.Client.Framework.Gwen.Input.InputHandler.OnMouseButtonStateChanged(Base canvas, MouseButton mouseButton, Boolean pressed) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Input\InputHandler.cs:line 421
   at Intersect.Client.Framework.Gwen.Control.Canvas.Input_MouseButton(MouseButton button, Boolean down) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Canvas.cs:line 334
   at Intersect.Client.MonoGame.Input.MonoInput.Update(TimeSpan elapsed) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\Input\MonoInput.cs:line 375
   at Intersect.Client.Core.Main.Update(TimeSpan deltaTime) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Core\Main.cs:line 98
   at Intersect.Client.MonoGame.IntersectGame.Update(GameTime gameTime) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\IntersectGame.cs:line 274
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Microsoft.Xna.Framework.Game.Run()
   at Intersect.Client.MonoGame.IntersectGame.MonoGameRunner.Start(IClientContext context, Action postStartupAction) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\IntersectGame.cs:line 617
2025-02-21 12:10:03.631 -03:00 [ERR] Failed to start application context
System.InvalidOperationException: Failed to compare two elements in the array.
 ---> System.ArgumentException: At least one object must implement IComparable.
   at System.Collections.Comparer.Compare(Object a, Object b)
   at System.Collections.Generic.ArraySortHelper`1.InternalBinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   --- End of inner exception stack trace ---
   at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   at System.Collections.Generic.List`1.BinarySearch(T item)
   at Intersect.Client.Framework.Gwen.Control.Base.Remove(Base this, Base node) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 2167
   at Intersect.Framework.Threading.ActionQueue`2.Enqueue[TState0,TState1](Action`2 action, TState0 state0, TState1 state1) in D:\a\Intersect-Engine\Intersect-Engine\Framework\Intersect.Framework\Threading\ActionQueue.State`2.cs:line 9
   at Intersect.Client.Framework.Gwen.Control.Base.Remove(Base node) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 2163
   at Intersect.Client.Interface.Game.TargetContextMenu.TryShowTargetButton(Boolean shouldShow) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\TargetContextMenu.cs:line 157
   at Intersect.Client.Interface.Game.TargetContextMenu.ToggleHidden(Object target) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\TargetContextMenu.cs:line 125
   at Intersect.Client.Interface.Game.EntityPanel.EntityBox.<.ctor>b__38_0(Base _, MouseButtonState _) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\EntityPanel\EntityBox.cs:line 176
   at Intersect.Client.Framework.Gwen.Control.Base.InputMouseButtonState(MouseButton mouseButton, Point mousePosition, Boolean pressed, Boolean userAction) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 3380
   at Intersect.Client.Framework.Gwen.Input.InputHandler.OnMouseButtonStateChanged(Base canvas, MouseButton mouseButton, Boolean pressed) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Input\InputHandler.cs:line 421
   at Intersect.Client.Framework.Gwen.Control.Canvas.Input_MouseButton(MouseButton button, Boolean down) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Canvas.cs:line 334
   at Intersect.Client.MonoGame.Input.MonoInput.Update(TimeSpan elapsed) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\Input\MonoInput.cs:line 375
   at Intersect.Client.Core.Main.Update(TimeSpan deltaTime) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Core\Main.cs:line 98
   at Intersect.Client.MonoGame.IntersectGame.Update(GameTime gameTime) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\IntersectGame.cs:line 274
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Microsoft.Xna.Framework.Game.Run()
   at Intersect.Client.MonoGame.IntersectGame.MonoGameRunner.Start(IClientContext context, Action postStartupAction) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\IntersectGame.cs:line 617
   at Intersect.Client.Core.ClientContext.InternalStart() in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Core\ClientContext.cs:line 74
   at Intersect.Core.ApplicationContext`2.Start(Boolean lockUntilShutdown) in D:\a\Intersect-Engine\Intersect-Engine\Intersect (Core)\Core\ApplicationContext`2.cs:line 241
2025-02-21 12:11:36.567 -03:00 [INF] Starting Intersect Client v0.8.0.413-beta+c8c78ba27fcd3f98468664156635adde6309a95a
2025-02-21 12:11:49.821 -03:00 [FTL] Game is crashing due to an exception
System.InvalidOperationException: Failed to compare two elements in the array.
 ---> System.ArgumentException: At least one object must implement IComparable.
   at System.Collections.Comparer.Compare(Object a, Object b)
   at System.Collections.Generic.ArraySortHelper`1.InternalBinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   --- End of inner exception stack trace ---
   at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   at System.Collections.Generic.List`1.BinarySearch(T item)
   at Intersect.Client.Framework.Gwen.Control.Base.Remove(Base this, Base node) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 2167
   at Intersect.Framework.Threading.ActionQueue`2.Enqueue[TState0,TState1](Action`2 action, TState0 state0, TState1 state1) in D:\a\Intersect-Engine\Intersect-Engine\Framework\Intersect.Framework\Threading\ActionQueue.State`2.cs:line 9
   at Intersect.Client.Framework.Gwen.Control.Base.Remove(Base node) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 2163
   at Intersect.Client.Interface.Game.TargetContextMenu.TryShowTargetButton(Boolean shouldShow) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\TargetContextMenu.cs:line 157
   at Intersect.Client.Interface.Game.TargetContextMenu.ToggleHidden(Object target) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\TargetContextMenu.cs:line 125
   at Intersect.Client.Interface.Game.EntityPanel.EntityBox.<.ctor>b__38_0(Base _, MouseButtonState _) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\EntityPanel\EntityBox.cs:line 176
   at Intersect.Client.Framework.Gwen.Control.Base.InputMouseButtonState(MouseButton mouseButton, Point mousePosition, Boolean pressed, Boolean userAction) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 3356
   at Intersect.Client.Framework.Gwen.Input.InputHandler.OnMouseButtonStateChanged(Base canvas, MouseButton mouseButton, Boolean pressed) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Input\InputHandler.cs:line 421
   at Intersect.Client.MonoGame.Input.MonoInput.Update(TimeSpan elapsed) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\Input\MonoInput.cs:line 259
   at Intersect.Client.Core.Main.Update(TimeSpan deltaTime) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Core\Main.cs:line 98
   at Intersect.Client.MonoGame.IntersectGame.Update(GameTime gameTime) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\IntersectGame.cs:line 274
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Microsoft.Xna.Framework.Game.Run()
   at Intersect.Client.MonoGame.IntersectGame.MonoGameRunner.Start(IClientContext context, Action postStartupAction) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\IntersectGame.cs:line 617
2025-02-21 12:11:49.864 -03:00 [ERR] Failed to start application context
System.InvalidOperationException: Failed to compare two elements in the array.
 ---> System.ArgumentException: At least one object must implement IComparable.
   at System.Collections.Comparer.Compare(Object a, Object b)
   at System.Collections.Generic.ArraySortHelper`1.InternalBinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   --- End of inner exception stack trace ---
   at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
   at System.Collections.Generic.List`1.BinarySearch(T item)
   at Intersect.Client.Framework.Gwen.Control.Base.Remove(Base this, Base node) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 2167
   at Intersect.Framework.Threading.ActionQueue`2.Enqueue[TState0,TState1](Action`2 action, TState0 state0, TState1 state1) in D:\a\Intersect-Engine\Intersect-Engine\Framework\Intersect.Framework\Threading\ActionQueue.State`2.cs:line 9
   at Intersect.Client.Framework.Gwen.Control.Base.Remove(Base node) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 2163
   at Intersect.Client.Interface.Game.TargetContextMenu.TryShowTargetButton(Boolean shouldShow) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\TargetContextMenu.cs:line 157
   at Intersect.Client.Interface.Game.TargetContextMenu.ToggleHidden(Object target) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\TargetContextMenu.cs:line 125
   at Intersect.Client.Interface.Game.EntityPanel.EntityBox.<.ctor>b__38_0(Base _, MouseButtonState _) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Interface\Game\EntityPanel\EntityBox.cs:line 176
   at Intersect.Client.Framework.Gwen.Control.Base.InputMouseButtonState(MouseButton mouseButton, Point mousePosition, Boolean pressed, Boolean userAction) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\Base.cs:line 3356
   at Intersect.Client.Framework.Gwen.Input.InputHandler.OnMouseButtonStateChanged(Base canvas, MouseButton mouseButton, Boolean pressed) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Input\InputHandler.cs:line 421
   at Intersect.Client.MonoGame.Input.MonoInput.Update(TimeSpan elapsed) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\Input\MonoInput.cs:line 259
   at Intersect.Client.Core.Main.Update(TimeSpan deltaTime) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Core\Main.cs:line 98
   at Intersect.Client.MonoGame.IntersectGame.Update(GameTime gameTime) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\IntersectGame.cs:line 274
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Microsoft.Xna.Framework.Game.Run()
   at Intersect.Client.MonoGame.IntersectGame.MonoGameRunner.Start(IClientContext context, Action postStartupAction) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\MonoGame\IntersectGame.cs:line 617
   at Intersect.Client.Core.ClientContext.InternalStart() in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Core\Core\ClientContext.cs:line 74
   at Intersect.Core.ApplicationContext`2.Start(Boolean lockUntilShutdown) in D:\a\Intersect-Engine\Intersect-Engine\Intersect (Core)\Core\ApplicationContext`2.cs:line 241

Duplicate Bug Check

  • This bug report is not a duplicate to the best of my knowledge.
@WeylonSantana WeylonSantana added bug Something isn't working needs verification Pending confirmation that the bug exists by another user. labels Feb 21, 2025
@lodicolo lodicolo added help wanted Issues/features that are available to be worked on by anyone verified Issue has been verified as valid/existing. and removed needs verification Pending confirmation that the bug exists by another user. labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Issues/features that are available to be worked on by anyone verified Issue has been verified as valid/existing.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants