triplea-game/triplea

2.5.22294: DynamicallyModifiable#lambda$getPropertyOrThrow$0:47 - java.lang.IllegalArgumentException

Closed this issue · 1 comments

Map

world_war_ii_global

Log Message

unknown property named 'turns'

TripleA Version

2.5.22294

Java Version

11.0.6

Operating System

Mac OS X

Memory

Heap utilization statistics [MB]
Used Memory: 327
Free memory: 1720
Total memory: 2048
Max memory: 2048

Stack Trace

Exception: java.lang.IllegalArgumentExceptionunknown property named 'turns'
java.lang.Exception
	at games.strategy.engine.data.DynamicallyModifiable.lambda$getPropertyOrThrow$0(DynamicallyModifiable.java:47)
	at java.base/java.util.Optional.orElseThrow(Optional.java:408)
	at games.strategy.engine.data.DynamicallyModifiable.getPropertyOrThrow(DynamicallyModifiable.java:47)
	at games.strategy.engine.data.ChangeAttachmentChange.<init>(ChangeAttachmentChange.java:46)
	at games.strategy.engine.data.changefactory.ChangeFactory.attachmentPropertyChange(ChangeFactory.java:169)
	at games.strategy.triplea.attachments.TriggerAttachment.getPropertyChangeHistoryStartEvent(TriggerAttachment.java:1532)
	at games.strategy.triplea.attachments.TriggerAttachment.triggerPlayerPropertyChange(TriggerAttachment.java:1693)
	at games.strategy.triplea.attachments.TriggerAttachment.fireTriggers(TriggerAttachment.java:289)
	at games.strategy.triplea.attachments.TriggerAttachment.collectAndFireTriggers(TriggerAttachment.java:219)
	at games.strategy.triplea.delegate.BaseTripleADelegate.triggerWhenTriggerAttachments(BaseTripleADelegate.java:81)
	at games.strategy.triplea.delegate.BaseTripleADelegate.end(BaseTripleADelegate.java:47)
	at games.strategy.triplea.delegate.battle.BattleDelegate.end(BattleDelegate.java:143)
	at games.strategy.engine.framework.ServerGame.endStep(ServerGame.java:454)
	at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:423)
	at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:297)
	at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInternal(LocalLauncher.java:82)
	at games.strategy.engine.framework.startup.launcher.LocalLauncher.lambda$launch$0(LocalLauncher.java:56)
	at java.base/java.lang.Thread.run(Thread.java:834)


yea, this is in the xml. I think it's called "rounds" now. I'm pretty sure it's fixed though. Download the latest Global 40 and you should be good to go.

Reopen if you still have trouble.