Howdy. I'm getting the following Haven Error
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeHi(Unknown Source)
at java.util.TimSort.mergeAt(Unknown Source)
at java.util.TimSort.mergeCollapse(Unknown Source)
at java.util.TimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.ArrayList.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at haven.Inventory.sortItemsLocally(Inventory.java:187)
at haven.Inventory.resort(Inventory.java:372)
at haven.GItem.uimsg(GItem.java:255)
at haven.UI.uimsg(UI.java:252)
at haven.RemoteUI.run(RemoteUI.java:71)
at haven.MainFrame.run(MainFrame.java:291)
at java.lang.Thread.run(Unknown Source)
I'm not familiar with Java so I need a hand figuring out how to fix this.
What actions are causing the crash:
The Client will crash at random intervals whenever a new item is added to my inventory. This happens when I: Harvest from any plant; Pick up something off the ground; Split a log or pick brake up a pinecone; etc.
Sorting issue, perhaps?
I am using inventory sorting and I believe it may be related to it. For me this is a huge reason to use the client and I'd really like to find a fix.