CLIENT - unhandled error in GUI - IllegalArgumentException (ComparableTimSort)
I have an issue when trying to open deck editor. I have never opened the program before. Did set the available RAM to more than 5gb already
Error type: CLIENT - unhandled error in GUI - IllegalArgumentException Client version: 1.4.55-V2 (build: 2024-12-01 17:48)
Comparison method violates its general contract!
Stack trace: java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:866) java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:483) java.util.ComparableTimSort.mergeForceCollapse(ComparableTimSort.java:422) java.util.ComparableTimSort.sort(ComparableTimSort.java:222) java.util.Arrays.sort(Arrays.java:1246) sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:282) sun.awt.shell.ShellFolder.get(ShellFolder.java:258) sun.swing.plaf.synth.SynthFileChooserUIImpl$DirectoryComboBoxModel.addItem(SynthFileChooserUIImpl.java:770) sun.swing.plaf.synth.SynthFileChooserUIImpl.doDirectoryChanged(SynthFileChooserUIImpl.java:564) sun.swing.plaf.synth.SynthFileChooserUI$SynthFCPropertyChangeListener.propertyChange(SynthFileChooserUI.java:280) and other 50 lines
We could fix it. Was probably a Java Issue.
I set this parameter -Djava.util.Arrays.useLegacyMergeSort=true
What java version are you using?
Looks like https://bugs.openjdk.org/browse/JDK-8305072
Error related to existing of the same/diff folder names in windows system:
- there are possible two documents folders: for a user and for all
- there are possible to put one alias folder into another
The first use case is a possible reason for your bug (if there are multiple aliases to the same folder). So as workaround: put all launcher and xmage files in folder like “D:\games\x”. If not helps then try to find such shell folder and restore it to default. Possible instructions: https://www.winhelponline.com/blog/windows-10-shell-folders-paths-defaults-restore/
I recommends to move files first, then try command line option from prev comment, then try to check and restore bad shell folders.