Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.5.22294: GameParser#setOptions:936 - games.strategy.engine.data.MutableProperty$InvalidValueException #13052

Open
tripleabuilderbot opened this issue Dec 17, 2024 · 1 comment
Labels
Error Report Issue reported via the in-game error reporter

Comments

@tripleabuilderbot
Copy link
Contributor

Log Message

Could not parse:jar:file:/C:/Users/Alexey%20Brovko/triplea/downloadedMaps/domination_1914_blood_and_steel-master.zip!/domination_1914_blood_and_steel-master/map/games/Domination_1914_Blood_And_Steel.xml, map name: 'jar:file:/C:/Users/Alexey%20Brovko/triplea/downloadedMaps/domination_1914_blood_and_steel-master.zip!/domination_1914_blood_and_steel-master/map/games/Domination_1914_Blood_And_Steel.xml', Unexpected Exception while setting values for attachment: TriggerAttachment attached to: PlayerId named:Bolsheviks with name: triggerAttachment_October_Revolution, failed to set string property value to 'St. Petersburg:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:'

TripleA Version

2.5.22294

Java Version

11.0.6

Operating System

Windows 10

Memory

Heap utilization statistics [MB]
Used Memory: 31
Free memory: 1948
Total memory: 1979
Max memory: 1979

Stack Trace

Exception: games.strategy.engine.data.gameparser.GameParseExceptionmap name: 'jar:file:/C:/Users/Alexey%20Brovko/triplea/downloadedMaps/domination_1914_blood_and_steel-master.zip!/domination_1914_blood_and_steel-master/map/games/Domination_1914_Blood_And_Steel.xml', Unexpected Exception while setting values for attachment: TriggerAttachment attached to: PlayerId named:Bolsheviks with name: triggerAttachment_October_Revolution, failed to set string property value to 'St. Petersburg:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:'
java.lang.Exception
	at games.strategy.engine.data.gameparser.GameParser.setOptions(GameParser.java:936)
	at games.strategy.engine.data.gameparser.GameParser.parseAttachment(GameParser.java:863)
	at games.strategy.engine.data.gameparser.GameParser.parseAttachments(GameParser.java:797)
	at games.strategy.engine.data.gameparser.GameParser.parse(GameParser.java:182)
	at games.strategy.engine.data.gameparser.GameParser.lambda$parse$0(GameParser.java:110)
	at org.triplea.java.UrlStreams.openStream(UrlStreams.java:73)
	at games.strategy.engine.data.gameparser.GameParser.parse(GameParser.java:105)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.lambda$new$0(GameSelectorModel.java:59)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.parseAndValidate(GameSelectorModel.java:126)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.load(GameSelectorModel.java:99)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorPanel.lambda$selectGameFile$8(GameSelectorPanel.java:399)
	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner.lambda$runInBackground$0(BackgroundTaskRunner.java:45)
	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner$1.doInBackground(BackgroundTaskRunner.java:108)
	at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)


Exception: games.strategy.engine.data.MutableProperty$InvalidValueExceptionfailed to set string property value to 'St. Petersburg:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:infantry:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:gas:'
java.lang.Exception
	at games.strategy.engine.data.MutableProperty.setStringValue(MutableProperty.java:62)
	at games.strategy.engine.data.MutableProperty.setValue(MutableProperty.java:85)
	at games.strategy.engine.data.gameparser.GameParser.setOptions(GameParser.java:931)
	at games.strategy.engine.data.gameparser.GameParser.parseAttachment(GameParser.java:863)
	at games.strategy.engine.data.gameparser.GameParser.parseAttachments(GameParser.java:797)
	at games.strategy.engine.data.gameparser.GameParser.parse(GameParser.java:182)
	at games.strategy.engine.data.gameparser.GameParser.lambda$parse$0(GameParser.java:110)
	at org.triplea.java.UrlStreams.openStream(UrlStreams.java:73)
	at games.strategy.engine.data.gameparser.GameParser.parse(GameParser.java:105)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.lambda$new$0(GameSelectorModel.java:59)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.parseAndValidate(GameSelectorModel.java:126)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.load(GameSelectorModel.java:99)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorPanel.lambda$selectGameFile$8(GameSelectorPanel.java:399)
	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner.lambda$runInBackground$0(BackgroundTaskRunner.java:45)
	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner$1.doInBackground(BackgroundTaskRunner.java:108)
	at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)


Exception: games.strategy.engine.data.gameparser.GameParseExceptionUnitType does not exist ,   for: TriggerAttachment attached to: PlayerId named:Bolsheviks with name: triggerAttachment_October_Revolution
java.lang.Exception
	at games.strategy.triplea.attachments.TriggerAttachment.setPlacement(TriggerAttachment.java:1235)
	at games.strategy.engine.data.MutableProperty.setStringValue(MutableProperty.java:58)
	at games.strategy.engine.data.MutableProperty.setValue(MutableProperty.java:85)
	at games.strategy.engine.data.gameparser.GameParser.setOptions(GameParser.java:931)
	at games.strategy.engine.data.gameparser.GameParser.parseAttachment(GameParser.java:863)
	at games.strategy.engine.data.gameparser.GameParser.parseAttachments(GameParser.java:797)
	at games.strategy.engine.data.gameparser.GameParser.parse(GameParser.java:182)
	at games.strategy.engine.data.gameparser.GameParser.lambda$parse$0(GameParser.java:110)
	at org.triplea.java.UrlStreams.openStream(UrlStreams.java:73)
	at games.strategy.engine.data.gameparser.GameParser.parse(GameParser.java:105)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.lambda$new$0(GameSelectorModel.java:59)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.parseAndValidate(GameSelectorModel.java:126)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.load(GameSelectorModel.java:99)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorPanel.lambda$selectGameFile$8(GameSelectorPanel.java:399)
	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner.lambda$runInBackground$0(BackgroundTaskRunner.java:45)
	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner$1.doInBackground(BackgroundTaskRunner.java:108)
	at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)


@tripleabuilderbot tripleabuilderbot added the Error Report Issue reported via the in-game error reporter label Dec 17, 2024
@beelee1
Copy link
Contributor

beelee1 commented Dec 18, 2024

This looks like a naming issue. There should be no ! exclamation point in the name. "master.zip!/..." I'm pretty sure the prerelease fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Report Issue reported via the in-game error reporter
Projects
None yet
Development

No branches or pull requests

2 participants