Bad Data In Module

Hello

I am mucking around with the 1.1 version of the Absolute War! module. When I start a campaign/Barbarossa game, I get a Bad data in module: source (No image) error; Image not found, message. I have an error log and will post that too

Hope someone knows how to fix this!

ERROR LOG:

2022-10-23 19:52:35,138 [13536-main] INFO VASSAL.launch.StartUp - Starting
2022-10-23 19:52:35,146 [13536-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0 amd64
2022-10-23 19:52:35,146 [13536-main] INFO VASSAL.launch.StartUp - Java version 18.0.1
2022-10-23 19:52:35,146 [13536-main] INFO VASSAL.launch.StartUp - Java home C:\Program Files\VASSAL-3.6.7\jre
2022-10-23 19:52:35,146 [13536-main] INFO VASSAL.launch.StartUp - VASSAL version 3.6.7
2022-10-23 19:52:35,215 [13536-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager
2022-10-23 19:52:50,431 [13536-SwingWorker-pool-2-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module file E:\Board Game\Vassal Files\Vassal Module\AbsoluteWar-1.1.vmod
2022-10-23 19:52:50,485 [13536-SwingWorker-pool-2-thread-1] INFO VASSAL.launch.TilingHandler - No images to tile.
2022-10-23 19:52:50,486 [13536-SwingWorker-pool-2-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module Absolute War!
2022-10-23 19:52:50,490 [13536-SwingWorker-pool-2-thread-1] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Program Files\VASSAL-3.6.7\jre\bin\java -Xms512M -Xmx512M -Duser.home=C:\Users\Admin -Duser.dir=C:\Program Files\VASSAL-3.6.7 -cp lib\Vengine.jar VASSAL.launch.Editor --edit – E:\Board Game\Vassal Files\Vassal Module\AbsoluteWar-1.1.vmod
2022-10-23 19:52:50,936 [4464-main] INFO VASSAL.launch.StartUp - Starting
2022-10-23 19:52:50,944 [4464-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0 amd64
2022-10-23 19:52:50,944 [4464-main] INFO VASSAL.launch.StartUp - Java version 18.0.1
2022-10-23 19:52:50,944 [4464-main] INFO VASSAL.launch.StartUp - Java home C:\Program Files\VASSAL-3.6.7\jre
2022-10-23 19:52:50,944 [4464-main] INFO VASSAL.launch.StartUp - VASSAL version 3.6.7
2022-10-23 19:52:50,944 [4464-main] INFO VASSAL.launch.Launcher - Editor
2022-10-23 19:52:52,310 [4464-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Absolute War! version 1.1
2022-10-23 19:53:25,061 [4464-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Exiting
2022-10-23 19:53:28,124 [13536-SwingWorker-pool-2-thread-2] INFO VASSAL.launch.AbstractLaunchAction - Loading module file E:\Board Game\Vassal Files\Vassal Module\AbsoluteWar-1.1.vmod
2022-10-23 19:53:28,157 [13536-SwingWorker-pool-2-thread-2] INFO VASSAL.launch.TilingHandler - No images to tile.
2022-10-23 19:53:28,157 [13536-SwingWorker-pool-2-thread-2] INFO VASSAL.launch.AbstractLaunchAction - Loading module Absolute War!
2022-10-23 19:53:28,158 [13536-SwingWorker-pool-2-thread-2] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Program Files\VASSAL-3.6.7\jre\bin\java -Xms512M -Xmx512M -Duser.home=C:\Users\Admin -Duser.dir=C:\Program Files\VASSAL-3.6.7 -cp lib\Vengine.jar VASSAL.launch.Editor --edit – E:\Board Game\Vassal Files\Vassal Module\AbsoluteWar-1.1.vmod
2022-10-23 19:53:28,610 [11224-main] INFO VASSAL.launch.StartUp - Starting
2022-10-23 19:53:28,618 [11224-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0 amd64
2022-10-23 19:53:28,618 [11224-main] INFO VASSAL.launch.StartUp - Java version 18.0.1
2022-10-23 19:53:28,618 [11224-main] INFO VASSAL.launch.StartUp - Java home C:\Program Files\VASSAL-3.6.7\jre
2022-10-23 19:53:28,618 [11224-main] INFO VASSAL.launch.StartUp - VASSAL version 3.6.7
2022-10-23 19:53:28,618 [11224-main] INFO VASSAL.launch.Launcher - Editor
2022-10-23 19:53:29,981 [11224-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Absolute War! version 1.1
2022-10-23 19:53:53,445 [11224-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Exiting
2022-10-23 19:53:55,204 [13536-SwingWorker-pool-2-thread-3] INFO VASSAL.launch.AbstractLaunchAction - Loading module file E:\Board Game\Vassal Files\Vassal Module\AbsoluteWar-1.1.vmod
2022-10-23 19:53:55,229 [13536-SwingWorker-pool-2-thread-3] INFO VASSAL.launch.TilingHandler - No images to tile.
2022-10-23 19:53:55,230 [13536-SwingWorker-pool-2-thread-3] INFO VASSAL.launch.AbstractLaunchAction - Loading module Absolute War!
2022-10-23 19:53:55,230 [13536-SwingWorker-pool-2-thread-3] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Program Files\VASSAL-3.6.7\jre\bin\java -Xms512M -Xmx512M -Duser.home=C:\Users\Admin -Duser.dir=C:\Program Files\VASSAL-3.6.7 -cp lib\Vengine.jar VASSAL.launch.Player --load – E:\Board Game\Vassal Files\Vassal Module\AbsoluteWar-1.1.vmod
2022-10-23 19:53:55,676 [11336-main] INFO VASSAL.launch.StartUp - Starting
2022-10-23 19:53:55,683 [11336-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0 amd64
2022-10-23 19:53:55,683 [11336-main] INFO VASSAL.launch.StartUp - Java version 18.0.1
2022-10-23 19:53:55,683 [11336-main] INFO VASSAL.launch.StartUp - Java home C:\Program Files\VASSAL-3.6.7\jre
2022-10-23 19:53:55,683 [11336-main] INFO VASSAL.launch.StartUp - VASSAL version 3.6.7
2022-10-23 19:53:55,683 [11336-main] INFO VASSAL.launch.Launcher - Player
2022-10-23 19:53:57,047 [11336-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Absolute War! version 1.1
2022-10-23 19:54:06,143 [11336-AWT-EventQueue-0] WARN VASSAL.tools.ErrorDialog - Source: (No Image) Error: Image not found. Turn on the Audit Trail preference to generate more details in the errorlog.
2022-10-23 19:55:16,605 [11336-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Exiting
2022-10-23 19:55:45,162 [13536-SwingWorker-pool-2-thread-4] INFO VASSAL.launch.AbstractLaunchAction - Loading module file E:\Board Game\Vassal Files\Vassal Module\AbsoluteWar-1.1.vmod
2022-10-23 19:55:45,188 [13536-SwingWorker-pool-2-thread-4] INFO VASSAL.launch.TilingHandler - No images to tile.
2022-10-23 19:55:45,188 [13536-SwingWorker-pool-2-thread-4] INFO VASSAL.launch.AbstractLaunchAction - Loading module Absolute War!
2022-10-23 19:55:45,189 [13536-SwingWorker-pool-2-thread-4] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Program Files\VASSAL-3.6.7\jre\bin\java -Xms512M -Xmx512M -Duser.home=C:\Users\Admin -Duser.dir=C:\Program Files\VASSAL-3.6.7 -cp lib\Vengine.jar VASSAL.launch.Player --load – E:\Board Game\Vassal Files\Vassal Module\AbsoluteWar-1.1.vmod
2022-10-23 19:55:45,640 [8976-main] INFO VASSAL.launch.StartUp - Starting
2022-10-23 19:55:45,647 [8976-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0 amd64
2022-10-23 19:55:45,647 [8976-main] INFO VASSAL.launch.StartUp - Java version 18.0.1
2022-10-23 19:55:45,647 [8976-main] INFO VASSAL.launch.StartUp - Java home C:\Program Files\VASSAL-3.6.7\jre
2022-10-23 19:55:45,647 [8976-main] INFO VASSAL.launch.StartUp - VASSAL version 3.6.7
2022-10-23 19:55:45,647 [8976-main] INFO VASSAL.launch.Launcher - Player
2022-10-23 19:55:47,016 [8976-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Absolute War! version 1.1
2022-10-23 19:55:54,957 [8976-AWT-EventQueue-0] WARN VASSAL.tools.ErrorDialog - Source: (No Image) Error: Image not found. See the errorlog for more details.
2022-10-23 19:56:30,675 [8976-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Exiting
2022-10-23 19:57:30,779 [13536-SwingWorker-pool-2-thread-5] INFO VASSAL.launch.AbstractLaunchAction - Loading module file E:\Board Game\Vassal Files\Vassal Module\AbsoluteWar-1.1.vmod
2022-10-23 19:57:30,803 [13536-SwingWorker-pool-2-thread-5] INFO VASSAL.launch.TilingHandler - No images to tile.
2022-10-23 19:57:30,804 [13536-SwingWorker-pool-2-thread-5] INFO VASSAL.launch.AbstractLaunchAction - Loading module Absolute War!
2022-10-23 19:57:30,804 [13536-SwingWorker-pool-2-thread-5] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Program Files\VASSAL-3.6.7\jre\bin\java -Xms512M -Xmx512M -Duser.home=C:\Users\Admin -Duser.dir=C:\Program Files\VASSAL-3.6.7 -cp lib\Vengine.jar VASSAL.launch.Player --load – E:\Board Game\Vassal Files\Vassal Module\AbsoluteWar-1.1.vmod
2022-10-23 19:57:31,253 [8676-main] INFO VASSAL.launch.StartUp - Starting
2022-10-23 19:57:31,261 [8676-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0 amd64
2022-10-23 19:57:31,261 [8676-main] INFO VASSAL.launch.StartUp - Java version 18.0.1
2022-10-23 19:57:31,261 [8676-main] INFO VASSAL.launch.StartUp - Java home C:\Program Files\VASSAL-3.6.7\jre
2022-10-23 19:57:31,261 [8676-main] INFO VASSAL.launch.StartUp - VASSAL version 3.6.7
2022-10-23 19:57:31,262 [8676-main] INFO VASSAL.launch.Launcher - Player
2022-10-23 19:57:32,612 [8676-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Absolute War! version 1.1
2022-10-23 19:57:49,002 [8676-AWT-EventQueue-0] WARN VASSAL.tools.ErrorDialog - Source: (No Image) Error: Image not found. See the errorlog for more details.
2022-10-23 19:58:14,934 [8676-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Exiting

There’s likely a trait in some piece which is trying to load an image named “(No Image)”, but there is no image with that name in the module.

You can find that module’s maintainer’s email address if you visit the module’s page while logged in. Maybe let the module maintainer know about the problem.

I do have the same problem with my Brass module but I am unable to find which trait causes this error. All tiles have image and the only “No Image” I see for prototypes…

Error log:

2022-10-30 20:51:16,691 [28104-main] INFO  VASSAL.launch.StartUp - Starting
2022-10-30 20:51:16,700 [28104-main] INFO  VASSAL.launch.StartUp - OS Windows 10 10.0 amd64
2022-10-30 20:51:16,700 [28104-main] INFO  VASSAL.launch.StartUp - Java version 18.0.1
2022-10-30 20:51:16,700 [28104-main] INFO  VASSAL.launch.StartUp - Java home C:\Program Files\VASSAL-3.6.7\jre
2022-10-30 20:51:16,700 [28104-main] INFO  VASSAL.launch.StartUp - VASSAL version 3.6.7
2022-10-30 20:51:16,780 [28104-AWT-EventQueue-0] INFO  VASSAL.launch.ModuleManager - Manager
2022-10-30 20:51:21,882 [28104-SwingWorker-pool-2-thread-1] INFO  VASSAL.launch.AbstractLaunchAction - Loading module file D:\Documents\Projects\Brass\brass.vmod
2022-10-30 20:51:21,942 [28104-SwingWorker-pool-2-thread-1] INFO  VASSAL.launch.TilingHandler - No images to tile.
2022-10-30 20:51:21,943 [28104-SwingWorker-pool-2-thread-1] INFO  VASSAL.launch.AbstractLaunchAction - Loading module Brass: Birmingham
2022-10-30 20:51:21,948 [28104-SwingWorker-pool-2-thread-1] INFO  VASSAL.tools.io.ProcessLauncher - launching C:\Program Files\VASSAL-3.6.7\jre\bin\java -Xms512M -Xmx512M -Duser.home=C:\Users\lukas -Duser.dir=C:\Program Files\VASSAL-3.6.7 -cp lib\Vengine.jar VASSAL.launch.Player --load -- D:\Documents\Projects\Brass\brass.vmod
2022-10-30 20:51:22,491 [9892-main] INFO  VASSAL.launch.StartUp - Starting
2022-10-30 20:51:22,499 [9892-main] INFO  VASSAL.launch.StartUp - OS Windows 10 10.0 amd64
2022-10-30 20:51:22,499 [9892-main] INFO  VASSAL.launch.StartUp - Java version 18.0.1
2022-10-30 20:51:22,499 [9892-main] INFO  VASSAL.launch.StartUp - Java home C:\Program Files\VASSAL-3.6.7\jre
2022-10-30 20:51:22,499 [9892-main] INFO  VASSAL.launch.StartUp - VASSAL version 3.6.7
2022-10-30 20:51:22,499 [9892-main] INFO  VASSAL.launch.Launcher - Player
2022-10-30 20:51:24,250 [9892-AWT-EventQueue-0] INFO  VASSAL.build.GameModule - Brass: Birmingham version 0.47
2022-10-30 20:51:28,531 [9892-AWT-EventQueue-0] WARN  VASSAL.tools.ErrorDialog -  Source: (No Image) Error: Image not found. See the errorlog for more details. 
2022-10-30 20:51:49,813 [9892-AWT-EventQueue-0] INFO  VASSAL.build.GameModule - Exiting

Open the module with a ZIP archive tool (7-zip, for example), and extract buildfile.xml. Search it for the string “(No Image)”. You should be able to determine which trait and piece is causing the error based on where you find that string.

1 Like

For the Brass module, I think the (No Image) is in a layer in your “Beer Placeholder”. The suggestion to grep the buildFile.xml for (No Image) is a good one, and probably the most efficient way to find the problem.

Thanks @jrwatts and @uckelman - I was able to fix the error (it was in Beer Placeholders).
Looking into buildFile.xml is the easiest way :man_bowing:

For a future reference manual or Designer’s Guide, it might be worth capturing “Common Issues/Errors” like this one…

Also, it seems odd to me that we can only find issues like this at run-time. For V4, would it make sense to have have a tool in the editor that could find issues like this?

1 Like

There wasn’t an interface for getting the names of images in use before 3.5.0. The unused image checker uses that interface to find images in the module which aren’t referenced. Finding images which are referenced but not present is the same set subtraction but with the arguments swapped. You could have such a checker in the editor now if someone were to write it.

So I have extracted the buildfile.xml and searched for the string (No Image). And I have found a couple of those

But I am a lost tbh, don`t really know what to do from here…

Can someone please help me some more, explain what I have to do know?

Thx!

Do you see anything suggesting what pieces those are in? If you don’t know what you’re looking for, consider posting the parts of the buildFile.xml containing the string “No Image” here so we can comment.

So here are some strings with the No Image

<VASSAL.build.widget.PieceSlot entryName=“Soviet 2nd Tank” gpid=“93” height=“64” width=“75”>+/null/prototype;SovietTank emb2;Activate;128;A;Flip;128;;;128;;;;1;false;0;0;(No Image),sov-tank-2nd-f.png;+ (Back),;true;Rear;;;false;;1;1;true;65,130;70,130;;;1.0\ piece;;;sov-TCaucasus-f_v2.png;Soviet 2nd Tank/ 1\ null;0;0;93;1;ppScale;1.0</VASSAL.build.widget.PieceSlot>

<VASSAL.build.widget.PieceSlot entryName=“Soviet 5th Tank” gpid=“96” height=“64” width=“75”>+/null/prototype;SovietTank emb2;Activate;128;A;Flip;128;;;128;;;;1;false;0;0;(No Image),sov-tank-5th-f.png;+ (Back),;true;Rear;;;false;;1;1;true;65,130;70,130;;;1.0\ piece;;;sov-Crimean-f_v2.png;Soviet 5th Tank/ 1\ null;0;0;96;1;ppScale;1.0</VASSAL.build.widget.PieceSlot>

I hope someone will take a look at this, sorry it took me so long to reply!

Many thanks!

Take a look at the pieces called Soviet 2nd Tank and Soviet 5th Tank in the editor. If you hunt through their traits, I think you’ll find a Layer trait having a layer referencing an image named “(No Image)”. Those will be the ones causing the problem, which you need to replace (possibly by selecting the “No Image” option, if what you want is for there to be no image for that layer).

Thanks

So I fixed the units which had no image, and when I open the buildfile.xml and do a search for ‘No Image’ nothing comes up.

But when I start a game I still see this message:

Bad Data in Module: Source: (No Image) Error: Image not found. See the errorlog for more details.

Don`t know what to do now

Sorry to bother again

At this point, we’d need to be able to see the module. Where can we get it?

Here it is:

https://vassalengine.org/wiki/Module:Absolute_War!_The_Russian_Front_1941-45

I use v1.1

Thanks yet again!

The predefined setups also have pieces in them which were copied from the ones with the bad layers. You might try using the updater on them after fixing the bad layers.

It might be simpler to contact the module’s maintainer about these problems, so they can be fixed for everyone.

I have contacted the designer, and the only thing he said is that it probably was a bad donwnload

Of course the the error was still there after downloading again…

No the predefined setup has to be redefined. As Uckelman noted the updater needs to be run to fix the predefined setup. That will eliminate the error

1 Like