Paths of Glory 9.8 - error on game start

Posting here as I think the error is module related I’m only having the error for Paths of Glory 9.8 and 9.7.

Below is the report:

2020-07-23 14:08:16,246 [0-main] INFO VASSAL.launch.StartUp - Starting
2020-07-23 14:08:16,251 [0-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0
2020-07-23 14:08:16,251 [0-main] INFO VASSAL.launch.StartUp - Java version 14.0.1
2020-07-23 14:08:16,251 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.3.2
2020-07-23 14:08:16,357 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager
2020-07-23 14:08:17,083 [0-SwingWorker-pool-2-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module file C:\Users\andre\Downloads\Paths_of_Glory_9.8.vmod
2020-07-23 14:08:17,277 [0-SwingWorker-pool-2-thread-1] INFO VASSAL.launch.TilingHandler - No images to tile.
2020-07-23 14:08:17,277 [0-SwingWorker-pool-2-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading game file C:\Users\andre\OneDrive\Board Games\Paths of Glory\Discord Room 0321 Paths of Glory\321-001md.vlog
2020-07-23 14:08:17,279 [0-SwingWorker-pool-2-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module Paths of Glory
2020-07-23 14:08:17,288 [0-SwingWorker-pool-2-thread-1] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Program Files\VASSAL-3.3.2\jre\bin\java -Xms256M -Xmx512M -DVASSAL.id=1 -DVASSAL.port=59643 -Duser.home=C:\Users\andre -Duser.dir=C:\Program Files\VASSAL-3.3.2 -cp lib\Vengine.jar VASSAL.launch.Player --load – C:\Users\andre\Downloads\Paths_of_Glory_9.8.vmod C:\Users\andre\OneDrive\Board Games\Paths of Glory\Discord Room 0321 Paths of Glory\321-001md.vlog
2020-07-23 14:08:17,927 [1-main] INFO VASSAL.launch.StartUp - Starting
2020-07-23 14:08:17,931 [1-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0
2020-07-23 14:08:17,932 [1-main] INFO VASSAL.launch.StartUp - Java version 14.0.1
2020-07-23 14:08:17,932 [1-main] INFO VASSAL.launch.StartUp - VASSAL version 3.3.2
2020-07-23 14:08:17,932 [1-main] INFO VASSAL.launch.Launcher - Player
2020-07-23 14:08:19,120 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - VASSAL images folder found at jar:file:/C:/Program%20Files/VASSAL-3.3.2/lib/Vengine.jar!/images/
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family VASSAL created for VASSAL.svg
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family VASSAL-jabber created for VASSAL-jabber.png
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family network-idle created for network-idle.svg
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family yes created for yes.svg
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family go-down created for go-down.svg
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family bug created for bug.svg
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family no created for no.svg
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family calculator created for calculator.svg
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family jabber created for jabber.png
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family go-up created for go-up.svg
2020-07-23 14:08:19,122 [1-IconFactory-preload] INFO VASSAL.tools.icon.IconFactory - Icon family network-server created for network-server.svg

2020-07-23 14:08:19,645 [1-AWT-EventQueue-0] ERROR VASSAL.i18n.BundleHelper - No Translation: AP Chat Color:
2020-07-23 14:08:19,648 [1-AWT-EventQueue-0] ERROR VASSAL.i18n.BundleHelper - No Translation: CP Chat Color:
2020-07-23 14:08:20,554 [1-AWT-EventQueue-0] WARN VASSAL.launch.BasicModule - Paths of Glory version 9.8
2020-07-23 14:08:32,979 [1-AWT-EventQueue-0] INFO VASSAL.script.ExpressionInterpreter - Attempting to load /VASSAL/script/init_expression.bsh URI generated=jar:file:/C:/Program%20Files/VASSAL-3.3.2/lib/Vengine.jar!/VASSAL/script/init_expression.bsh
2020-07-23 14:08:33,519 [1-AWT-EventQueue-0] ERROR VASSAL.tools.ErrorDialog -
java.lang.ClassCastException: class javax.swing.JPanel cannot be cast to class VASSAL.tools.ComponentSplitter$SplitPane (javax.swing.JPanel is in module java.desktop of loader ‘bootstrap’; VASSAL.tools.ComponentSplitter$SplitPane is in unnamed module of loader ‘app’)
at PathsOfGlory.POGChatter.show(POGChatter.java:302)
at VASSAL.build.module.Chatter$DisplayText.executeCommand(Chatter.java:473)
at VASSAL.command.Command.execute(Command.java:54)
at VASSAL.counters.GlobalCommand.apply(GlobalCommand.java:110)
at VASSAL.build.module.GlobalKeyCommand.apply(GlobalKeyCommand.java:37)
at VASSAL.build.module.StartupGlobalKeyCommand$2.run(StartupGlobalKeyCommand.java:91)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Paths of Glory 9.9 is up and fixes this issue.

The actual error is about 3 lines down from the ones you’ve highlighted – VASSAL’s ComponentSplitter got refactored in 3.3.2 and so the PoG module’s custom class “can’t find it”. You can actually click through the error and just keep going and it will be fine, but at any rate it’s “ugly” so if you pull down 9.9 you won’t have this problem any more.

Best,

Brian

Thus spake Cattlesquat:

Paths of Glory 9.9 is up and fixes this issue.

The actual error is about 3 lines down from the ones you’ve highlighted
– VASSAL’s ComponentSplitter got refactored in 3.3.2 and so the PoG
module’s custom class “can’t find it”. You can actually click through
the error and just keep going and it will be fine, but at any rate it’s
“ugly” so if you pull down 9.9 you won’t have this problem any more.

This is not really a problem with the PoG module, but with the refactoring.
The refactoring wasn’t supposed to break modules which use the splitter
directly.

Yan, would you take a look at this?


J.

Yes, this works for me, running today’s 3.3.3-SNAPSHOT, the 9.9 version of the module, and some variant of OpenJDK 11. Looks like my refactoring of SplitPane didn’t break anything.

One minor thing, after loading, the module says this in the chat area:

- Paths of Glory version 9.9
*   Paths of Glory - Vassal Module 9.8.0 - 11-July-2020

9.9 is the version I put up to remove the reference to the Splitter.

9.8 is the module you want to try to break (or unbreak) :slight_smile:

Bootup announcement being whacked is because you started one of the “preset scenarios” and I didn’t re-bake them. Guess I shoulda.