# Cannot open window for load, save or beginlogs

**URL:** <https://forum.vassalengine.org/t/cannot-open-window-for-load-save-or-beginlogs/76730>\
**Category:** Technical Support & Bugs\
**Created:** [March 13, 2023, 6:42pm UTC](https://forum.vassalengine.org/t/cannot-open-window-for-load-save-or-beginlogs/76730 "2023-03-13T18:42:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mcdudu78](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@mcdudu78](https://forum.vassalengine.org/u/mcdudu78)\
**Post date:** [March 13, 2023, 6:42pm UTC](https://forum.vassalengine.org/t/cannot-open-window-for-load-save-or-beginlogs/76730/1 "2023-03-13T18:42:08Z")

</div>

Since 9th march 2023, the bug window is prompt everytime when I try to load or save a file, or either I try to begin a log. However I haver loaded save files and log directly by the window explorer. The bug seems to be when the window for selecting a file is opened.

 ![uncaught exception](https://forum.vassalengine.org/uploads/default/original/2X/4/4105c018b446cdd6c2c568be19e3484c3942535c.jpeg)

The text show in the exception is:

2023-03-13 19:32:09,115 [19196-main] INFO VASSAL.launch.StartUp - Starting  
2023-03-13 19:32:09,138 [19196-main] INFO VASSAL.launch.StartUp - OS Windows 11 10.0 amd64  
2023-03-13 19:32:09,138 [19196-main] INFO VASSAL.launch.StartUp - Java version 19.0.2  
2023-03-13 19:32:09,138 [19196-main] INFO VASSAL.launch.StartUp - Java home C:\Program Files\VASSAL-3.6.14\jre  
2023-03-13 19:32:09,138 [19196-main] INFO VASSAL.launch.StartUp - VASSAL version 3.6.14  
2023-03-13 19:32:09,263 [19196-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager  
2023-03-13 19:32:12,551 [19196-SwingWorker-pool-2-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module file C:\Users\duduy\Documents\Wargames\Empire of the Sun\EOTS\_5.10.2.1.vmod  
2023-03-13 19:32:12,764 [19196-SwingWorker-pool-2-thread-1] INFO VASSAL.launch.TilingHandler - No images to tile.  
2023-03-13 19:32:12,765 [19196-SwingWorker-pool-2-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module Empire of the Sun (2nd Edition)  
2023-03-13 19:32:12,774 [19196-SwingWorker-pool-2-thread-1] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Program Files\VASSAL-3.6.14\jre\bin\java -Xms512M -Xmx512M -Duser.home=C:\Users\duduy -Duser.dir=C:\Program Files\VASSAL-3.6.14 -cp lib\Vengine.jar VASSAL.launch.Player --load – C:\Users\duduy\Documents\Wargames\Empire of the Sun\EOTS\_5.10.2.1.vmod  
2023-03-13 19:32:13,701 [16996-main] INFO VASSAL.launch.StartUp - Starting  
2023-03-13 19:32:13,716 [16996-main] INFO VASSAL.launch.StartUp - OS Windows 11 10.0 amd64  
2023-03-13 19:32:13,716 [16996-main] INFO VASSAL.launch.StartUp - Java version 19.0.2  
2023-03-13 19:32:13,716 [16996-main] INFO VASSAL.launch.StartUp - Java home C:\Program Files\VASSAL-3.6.14\jre  
2023-03-13 19:32:13,717 [16996-main] INFO VASSAL.launch.StartUp - VASSAL version 3.6.14  
2023-03-13 19:32:13,717 [16996-main] INFO VASSAL.launch.Launcher - Player  
2023-03-13 19:32:16,955 [16996-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Empire of the Sun (2nd Edition) version 5.10.2.1  
2023-03-13 19:32:36,655 [16996-AWT-EventQueue-0] ERROR VASSAL.tools.ErrorDialog -  
java.lang.IllegalArgumentException: Comparison method violates its general contract!  
at java.base/java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:870)  
at java.base/java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:487)  
at java.base/java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:413)  
at java.base/java.util.ComparableTimSort.sort(ComparableTimSort.java:213)  
at java.base/java.util.Arrays.sort(Arrays.java:1041)  
at java.desktop/sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:315)  
at java.desktop/sun.awt.shell.ShellFolder.get(ShellFolder.java:274)  
at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.addItem(MetalFileChooserUI.java:1031)  
at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI.doDirectoryChanged(MetalFileChooserUI.java:719)  
at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$5.propertyChange(MetalFileChooserUI.java:808)  
at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)  
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)  
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)  
at java.desktop/java.awt.Component.firePropertyChange(Component.java:8716)  
at java.desktop/javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:610)  
at java.desktop/javax.swing.JFileChooser.(JFileChooser.java:364)  
at java.desktop/javax.swing.JFileChooser.(JFileChooser.java:310)  
at VASSAL.tools.filechooser.FileChooser$SwingFileChooser.(FileChooser.java:157)  
at VASSAL.tools.filechooser.FileChooser.createFileChooser(FileChooser.java:86)  
at VASSAL.configure.DirectoryConfigurer.initFileChooser(DirectoryConfigurer.java:37)  
at VASSAL.configure.FileConfigurer.(FileConfigurer.java:62)  
at VASSAL.configure.FileConfigurer.(FileConfigurer.java:48)  
at VASSAL.configure.DirectoryConfigurer.(DirectoryConfigurer.java:32)  
at VASSAL.build.module.GameState.getSavedGameDirectoryPreference(GameState.java:1555)  
at VASSAL.build.GameModule.getFileChooser(GameModule.java:1527)  
at VASSAL.build.module.BasicLogger.getSaveFile(BasicLogger.java:439)  
at VASSAL.build.module.BasicLogger.beginOutput(BasicLogger.java:493)  
at VASSAL.build.module.BasicLogger$2.actionPerformed(BasicLogger.java:649)  
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)  
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)  
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)  
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)  
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374)  
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1029)  
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1073)  
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6620)  
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3398)  
at java.desktop/java.awt.Component.processEvent(Component.java:6385)  
at java.desktop/java.awt.Container.processEvent(Container.java:2266)  
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4995)  
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)  
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4827)  
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)  
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)  
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)  
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)  
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)  
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4827)  
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)  
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)  
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)  
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)  
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)  
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)  
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)  
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)  
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)  
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)  
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)  
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)  
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)  
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)  
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)  
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)  
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

My computer is a laptop with Windows 11 Home with 16 GB in RAM.

Current java version is 8u361.  
The bug is detected in at least in this two versions and modules:  
VASSAL 3.4.6 with Gloomhaven  
VASSAL 3.6.8 and 3.6.14 with Empire of the Sun (2nd Edition)

I have tried to deinstall all VASSAL, modules and java, and install from zero. The bug exception is still happening.

Other functions of VASSAL (and modules) works properly (as far I know).

Could you help me?

---

_[View the full topic](https://forum.vassalengine.org/t/cannot-open-window-for-load-save-or-beginlogs/76730)._
