Haven Error

Forum for bugs and technical problems.

Haven Error

Postby ToorimaKun » Wed Aug 26, 2015 7:03 am

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.mergeForceCollapse(Unknown Source)
at java.util.TimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at haven.CharWnd$SkillList.tick(CharWnd.java:254)
at haven.Widget.tick(Widget.java:490)
at haven.Widget.tick(Widget.java:490)
at haven.Widget.tick(Widget.java:490)
at haven.GameUI.tick(GameUI.java:698)
at haven.Widget.tick(Widget.java:490)
at haven.UI.tick(UI.java:160)
at haven.HavenPanel.run(HavenPanel.java:447)
at java.lang.Thread.run(Unknown Source)
If you guys have questions about radar find me on steam, KiaKun.
sorry for the very late replies.... everyone i played salem with quit... and all my villages have been raided.
User avatar
ToorimaKun
 
Posts: 283
Joined: Sat May 25, 2013 2:53 pm

Re: Haven Error

Postby Kandarim » Wed Aug 26, 2015 2:06 pm

note to self: this is a quick and dirty workaround :)
Not entirely sure whether this is an issue with default or only with customs or only with my client. Which did you experience it on?
I'm assuming mine, because the other clients are built against JDK6 IIRC.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Haven Error

Postby ToorimaKun » Thu Aug 27, 2015 9:48 am

the only people i know that use the default client only do so because they can't get past the java security BS. >.<
so yah yours :P


this happens as soon as i login some times.... i think it might have to do with the bed.


can some one walk me threw where to add this:
System.setProperty("java.util.Arrays.useLegacyMergeSort", "true");

or do i just enter it in to the game console?
If you guys have questions about radar find me on steam, KiaKun.
sorry for the very late replies.... everyone i played salem with quit... and all my villages have been raided.
User avatar
ToorimaKun
 
Posts: 283
Joined: Sat May 25, 2013 2:53 pm

Re: Haven Error

Postby Kandarim » Thu Aug 27, 2015 10:19 am

no that is a note to myself, it should go into the game code until I fix the sorting.
What happens is that the sorting of the entries in studywindow throws an error because the sorting is not consistent.
In JDK 6 (afaik, Ender's and default) this was silently ignored and it ment that in certain circumstances (most likely never in practice) sorting orders could get reversed.
My client is built against JDK 7, in which it is no longer silently ignored but rather throws this error.
Will need to fix, soonishly TM.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Haven Error

Postby ToorimaKun » Thu Aug 27, 2015 11:48 am

oh ok

hope that fixes it then :p
If you guys have questions about radar find me on steam, KiaKun.
sorry for the very late replies.... everyone i played salem with quit... and all my villages have been raided.
User avatar
ToorimaKun
 
Posts: 283
Joined: Sat May 25, 2013 2:53 pm


Return to Bugs & Technicalities

Who is online

Users browsing this forum: No registered users and 17 guests