Main Map: Expression evaluation error

Every time I open a game, I get this error message:
2024-02-13 23:44:52,859 [3408-AWT-EventQueue-0] WARN VASSAL.tools.ErrorDialog - Source: {Main Map} Error: Expression evaluation error. See the errorlog for more details.

Despite the wording, this is actually from the errorlog. I have turned on the audit log but this gives me no more details.

It happens right at start just when the Main Map opens after having chosen the player side. I have of course gone through all expressions in the Main Map that I could find, but I can’t find anything that looks wrong, and there is nothing that does not seem to work as expected.

Is there any way of coercing the system to give more details about where this expression is located?

That looks to me as if the string {Main Map} has been entered in some field where it should be Main Map or {"Main Map"} - either would work.

To find the culprit, try a full search, like this:

You’re looking at how Main Map is entered into a Map Name field, like in this example Fast Match setup:

1 Like

Spot on! :+1:

I am impressed that you could identify the exact cause from so little information!

1 Like