Create account / Log in

Error when updating module

Issues with the Vassal engine.

Moderators: Tim M, uckelman

Error when updating module

Postby Stiglr » July 4th, 2019, 8:02 pm

I got this error when trying to upgrade art (mostly with same-named files), and then attempting to launch the module from the Library screen with the Edit module command:

2019-07-04 12:55:07,736 [0-main] INFO VASSAL.launch.StartUp - Starting
2019-07-04 12:55:07,740 [0-main] INFO VASSAL.launch.StartUp - OS Windows 7 6.1
2019-07-04 12:55:07,740 [0-main] INFO VASSAL.launch.StartUp - Java version 1.8.0_211
2019-07-04 12:55:07,741 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.17
2019-07-04 12:55:07,842 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager
2019-07-04 12:55:14,433 [0-SwingWorker-pool-29705283-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module file C:\Users\Allen\Documents\Wargaming\Vassal_Projects\DVBS\2dKernstown_VMOD\2nd_Kernstown_1.0.vmod
2019-07-04 12:55:14,517 [0-AWT-EventQueue-0] ERROR VASSAL.tools.ErrorDialog -
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: MALFORMED
at java.util.concurrent.FutureTask.report(Unknown Source) ~[na:1.8.0_211]
at java.util.concurrent.FutureTask.get(Unknown Source) ~[na:1.8.0_211]
at org.jdesktop.swingworker.SwingWorker.get(Unknown Source) ~[swing-worker-1.2.jar:na]
at VASSAL.launch.AbstractLaunchAction$LaunchTask.done(AbstractLaunchAction.java:604) ~[Vengine.jar:na]
at VASSAL.launch.Editor$LaunchAction$1.done(Editor.java:264) [Vengine.jar:na]
at org.jdesktop.swingworker.SwingWorker$5.run(Unknown Source) [swing-worker-1.2.jar:na]
at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) [swing-worker-1.2.jar:na]
at org.jdesktop.swingworker.AccumulativeRunnable.run(Unknown Source) [swing-worker-1.2.jar:na]
at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) [swing-worker-1.2.jar:na]
at javax.swing.Timer.fireActionPerformed(Unknown Source) [na:1.8.0_211]
at javax.swing.Timer$DoPostEvent.run(Unknown Source) [na:1.8.0_211]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) [na:1.8.0_211]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [na:1.8.0_211]
at java.awt.EventQueue.access$500(Unknown Source) [na:1.8.0_211]
at java.awt.EventQueue$3.run(Unknown Source) [na:1.8.0_211]
at java.awt.EventQueue$3.run(Unknown Source) [na:1.8.0_211]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_211]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [na:1.8.0_211]
at java.awt.EventQueue.dispatchEvent(Unknown Source) [na:1.8.0_211]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [na:1.8.0_211]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [na:1.8.0_211]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [na:1.8.0_211]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.8.0_211]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.8.0_211]
at java.awt.EventDispatchThread.run(Unknown Source) [na:1.8.0_211]
Caused by: java.lang.IllegalArgumentException: MALFORMED
at java.util.zip.ZipCoder.toString(Unknown Source) ~[na:1.8.0_211]
at java.util.zip.ZipFile.getZipEntry(Unknown Source) ~[na:1.8.0_211]
at java.util.zip.ZipFile.access$900(Unknown Source) ~[na:1.8.0_211]
at java.util.zip.ZipFile$ZipEntryIterator.next(Unknown Source) ~[na:1.8.0_211]
at java.util.zip.ZipFile$ZipEntryIterator.nextElement(Unknown Source) ~[na:1.8.0_211]
at java.util.zip.ZipFile$ZipEntryIterator.nextElement(Unknown Source) ~[na:1.8.0_211]
at VASSAL.tools.IterableEnumeration.next(IterableEnumeration.java:57) ~[Vengine.jar:na]
at VASSAL.tools.io.ZipArchive.readEntries(ZipArchive.java:622) ~[Vengine.jar:na]
at VASSAL.tools.io.ZipArchive.openIfClosed(ZipArchive.java:631) ~[Vengine.jar:na]
at VASSAL.tools.io.ZipArchive.getFiles(ZipArchive.java:594) ~[Vengine.jar:na]
at VASSAL.tools.DataArchive.getLocalImageNames(DataArchive.java:366) ~[Vengine.jar:na]
at VASSAL.tools.DataArchive.getImageNamesRecursively(DataArchive.java:352) ~[Vengine.jar:na]
at VASSAL.tools.DataArchive.getImageNameSet(DataArchive.java:347) ~[Vengine.jar:na]
at VASSAL.launch.TilingHandler.findImages(TilingHandler.java:133) ~[Vengine.jar:na]
at VASSAL.launch.TilingHandler.sliceTiles(TilingHandler.java:347) ~[Vengine.jar:na]
at VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:281) ~[Vengine.jar:na]
at VASSAL.launch.AbstractLaunchAction$LaunchTask.doInBackground(AbstractLaunchAction.java:244) ~[Vengine.jar:na]
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source) ~[swing-worker-1.2.jar:na]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.8.0_211]
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source) ~[swing-worker-1.2.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:1.8.0_211]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:1.8.0_211]
at java.lang.Thread.run(Unknown Source) ~[na:1.8.0_211]
Stiglr
 
Posts: 185
Joined: June 28th, 2014, 12:06 am

Re: Error when updating module

Postby Stiglr » July 5th, 2019, 4:53 am

As requested, system specs.
Attachments
System_specs.PNG
System_specs.PNG (26.89 KiB) Viewed 466 times
Stiglr
 
Posts: 185
Joined: June 28th, 2014, 12:06 am

Re: Error when updating module

Postby Stiglr » July 5th, 2019, 4:56 am

Oh, and Java info...
Attachments
Java_version.PNG
Java_version.PNG (37.09 KiB) Viewed 466 times
Stiglr
 
Posts: 185
Joined: June 28th, 2014, 12:06 am

Re: Error when updating module

Postby JoelCFC25 » July 6th, 2019, 12:32 am

This looks very much like VASSAL looking for the expected contents of the zipfile and not finding them. Can you post a screenshot of the root level of the zip archive? It should contain--at a bare minimum--a buildfile and one folder named "images". It may also have a file called "moduledata" and perhaps .vsav files corresponding to predefined setups.

The very fastest way to do this with no file renaming required is to use 7zip, WinRAR, or any of several other utilities that will open a zip archive no matter what its file extension is.
JoelCFC25
 
Posts: 536
Joined: October 12th, 2010, 5:15 pm
Location: Minnetrista, MN


Return to Technical Support & Bugs

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests