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: DynamicallyModifiable#lambda$getPropertyOrThrow$0:47 - java.lang.IllegalArgumentException #8070

Closed
tripleabuilderbot opened this issue Nov 2, 2020 · 23 comments
Labels
2.5 Error Report Issue reported via the in-game error reporter

Comments

@tripleabuilderbot
Copy link
Contributor

Map

world_war_ii_global

Log Message

unknown property named 'turns'

TripleA Version

2.5.22294

Java Version

11.0.4

Operating System

Windows 7

Memory

Heap utilization statistics [MB]
Used Memory: 213
Free memory: 776
Total memory: 989
Max memory: 989

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(Unknown Source)
	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(Unknown Source)


@tripleabuilderbot tripleabuilderbot added the Error Report Issue reported via the in-game error reporter label Nov 2, 2020
@Captain-Squareyez
Copy link

Just got this bug myself

@beelee1
Copy link
Contributor

beelee1 commented May 3, 2021

@Captain-Squareyez which triplea version are you using ? I see the above OS is windows 7 which microsoft doesn't update any more but since it obviously worked in the past, idk y it wouldn't now

@Captain-Squareyez
Copy link

Im using windows 10 64bit.
Triple A version is 2.5.22294.

I noticed the game had locked up after that, so i saved it, which it allowed me to, but i couldnt move pieces or anything, after saving, exited game, reloaded it, and have been able to continue forward with it so far, so, not sure whats going on there.
But, when i clicked on "report to triple a", it told me it had already been reported and it brought me to this page.

@beelee1
Copy link
Contributor

beelee1 commented May 4, 2021

Hmm... post the save if you still have it. it might help whoever fixes this

@Captain-Squareyez
Copy link

Captain-Squareyez commented May 5, 2021

Bit late for that now :). if i start another game i will tho
Or they could just start a global war game themselves to test it.

@beelee1
Copy link
Contributor

beelee1 commented May 5, 2021

So your error was with "global war" not "world_war_ii_global" ? The global game is one of the more popular ones, so I'd expect more errors of this kind if it happens frequently.

At any rate, yea, if you run across it again, a save would be a big help.

@Captain-Squareyez
Copy link

No, it was WW2 Global, sorry, didnt realize there was a global war version as well

@uncleGitty
Copy link

I uninstalled the latest versions then installed a version 2.0 or something like that. That fixed the issue. So for anyone who thinks this is annoying. Playing Global War 1940 Original and 2nd edition

@Captain-Squareyez
Copy link

Captain-Squareyez commented Jun 22, 2021

I uninstalled the latest versions then installed a version 2.0 or something like that. That fixed the issue. So for anyone who thinks this is annoying. Playing Global War 1940 Original and 2nd edition

i will give this a go myself, thanks Gitty :)

Edit, do you mean the launcher itself or the map? I couldnt find an older version of the map in the launcher

@uncleGitty
Copy link

I uninstalled the latest versions then installed a version 2.0 or something like that. That fixed the issue. So for anyone who thinks this is annoying. Playing Global War 1940 Original and 2nd edition

i will give this a go myself, thanks Gitty :)

Edit, do you mean the launcher itself or the map? I couldnt find an older version of the map in the launcher

I uninstalled the Triple A application. The map I don't think has been updated for a long time.

@Captain-Squareyez
Copy link

I uninstalled the Triple A application. The map I don't think has been updated for a long time.

Kool. I just searched for the download again to find older installs and found it. Thanks for that :) 👍

@nepphhh
Copy link

nepphhh commented Sep 4, 2021

Just downloaded. Can't play G40, encounter this bug.

@beelee1
Copy link
Contributor

beelee1 commented Sep 4, 2021

@nepphhh are you on the latest stable ? 2.5.22294 ? Does it happen at game start or later in the game ?

I removed mine and then reinstalled and it works for me.

@nepphhh
Copy link

nepphhh commented Sep 4, 2021 via email

@beelee1
Copy link
Contributor

beelee1 commented Sep 4, 2021

Sorry i meant triplea version. I'll test a G1 move.

@beelee1
Copy link
Contributor

beelee1 commented Sep 6, 2021

@nepphhh yea works for me. I'd read through this thread if you haven't already. Or just uninstall triplea and try again. It's a popular map so it's not a common problem.

You're not on a mac os are you ? Mac's behave a little differently sometimes with triplea is y i ask

@nepphhh
Copy link

nepphhh commented Sep 7, 2021

I was using the Original version of the map. V2 works perfectly. Maybe consider junking the broken version of the map?

Thanks!

@beelee1
Copy link
Contributor

beelee1 commented Sep 7, 2021

Oh ? so you updated to latest map and it works ? There's a yaml version and then the map version. I think the latest map is version 4.0 ?

Anyway glad you got it working : )

@Nova-111
Copy link

I am still getting this error every time I try "World War II Global 1940 Original" every time at the end of German first turn just as others. Windows 10, latest versions of everything. I had it set to Axis Human, all others AI.

Java 11.0.6
Engine 2.5.22294

TripleA_AJNJ6guppS

@Nova-111
Copy link

Save game file if that helps. I had to .zip it so it would accept file type

World War II Global 1940 Original - German1.zip

@beelee1
Copy link
Contributor

beelee1 commented Sep 14, 2022

@Nova-111 that original game, version 2.9.1, hasn't had it's xml updated to not use "turns". Idk how busy he is but you could ask @RogerCooper who I believe has access to that repo if he would be interested in fixing it.

Yea to upload saves to git you need to stick in a zip

@RogerCooper
Copy link
Contributor

I will fix it. I had noticed this myself, but hadn't gotten around to fixing it. I am in the process of reviewing all the scenarios for 2.6 compatibility.

@DanVanAtta DanVanAtta added the 2.5 label Oct 27, 2022
@beelee1
Copy link
Contributor

beelee1 commented Oct 28, 2022

closing v 2.5

@beelee1 beelee1 closed this as completed Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.5 Error Report Issue reported via the in-game error reporter
Projects
None yet
Development

No branches or pull requests

8 participants