Java issue in editor mode

Hello, i have and with all Vassal variants at less the 2 last and my Java version is the last a problem when i modifiy in Editor mode a module i have try with 2 modules to be sure i can’t save the module. Look the screen shot no possible to copy and paste.

And issue not each time i do one or more changes in the module but for each change…

Only solution re start sometimes 2 times the PC for finaly i can upload.

If someone can help me thank you.

That screenshot is very hard to read. Please copy and paste it here as text. (In fact, please copy the entire errorLog and paste it here.)

1 Like

Thank you for your help ! and i am sorry but i think now you have all :

ava.nio.file.AccessDeniedException: C:\Users\Utilisateur\Pictures\Pictures\Kesselchlacht\Kesselschlacht modifié.vmod → C:\Users\Utilisateur\Pictures\Pictures\Kesselchlacht\Kesselschlacht modifié.vmod.bak
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:414)
at java.base/sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:291)
at java.base/java.nio.file.Files.move(Files.java:1430)
at VASSAL.tools.io.ZipArchive.writeToDisk(ZipArchive.java:487)
at VASSAL.tools.io.ZipArchive.flush(ZipArchive.java:383)
at VASSAL.tools.ArchiveWriter.write(ArchiveWriter.java:297)
at VASSAL.tools.ArchiveWriter.saveButVerify(ArchiveWriter.java:276)
at VASSAL.build.GameModule.save(GameModule.java:2201)
at VASSAL.build.GameModule.save(GameModule.java:2174)
at VASSAL.launch.ModuleEditorWindow.lambda$save$0(ModuleEditorWindow.java:94)
at VASSAL.launch.EditorWindow.saver(EditorWindow.java:478)
at VASSAL.launch.ModuleEditorWindow.save(ModuleEditorWindow.java:92)
at VASSAL.launch.EditorWindow$2.actionPerformed(EditorWindow.java:213)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2314)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:407)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6621)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3398)
at java.desktop/java.awt.Component.processEvent(Component.java:6386)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4996)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
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:4828)
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:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)
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:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
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)

Would you please post the complete errorLog?

You get a file system error indicating that VASSAL cannot copy Kesselschlacht modifié.vmod to Kesselschlacht modifié.vmod.bak in the directory C:\Users\Utilisateur\Pictures\Pictures\Kesselchlacht.

Some things to check:

  • is the directory writable by the current user? If not, try to copy the file elsewhere and try again.
  • does the .bak file already exist? If so, try to remove it or move it out if the way.
  • is the .bak file already open by another application, including another VASSAL instance? If so, close the file in the other application or end that application completely. The windows file system NTFS typically creates exclusive write-locks on any open file, even if opened read-only.

Hope that helps.

Yours,
Christian

2 Likes

Thank you but i have do nothing and all fine today sometimes arrive such Java issues.