1.9.0.0.12461
Windows 7 64bit
Start TripleA, see:
Okt 20, 2018 9:37:59 AM games.strategy.engine.auto.update.EngineVersionCheck checkForLatestEngineVersionOut
SCHWERWIEGEND: Error while checking for engine updates
java.util.NoSuchElementException: No value present
at java.util.Optional.get(Unknown Source)
at games.strategy.triplea.settings.GameSetting.value(GameSetting.java:47)
at games.strategy.engine.auto.update.EngineVersionCheck.isEngineUpdateCheckRequired(EngineVersionCheck.java:59)
at games.strategy.engine.auto.update.EngineVersionCheck.isEngineUpdateCheckRequired(EngineVersionCheck.java:44)
at games.strategy.engine.auto.update.EngineVersionCheck.checkForLatestEngineVersionOut(EngineVersionCheck.java:25)
at games.strategy.engine.auto.update.UpdateChecks.checkForUpdates(UpdateChecks.java:26)
at java.lang.Thread.run(Unknown Source)
Okt 20, 2018 9:37:59 AM games.strategy.engine.framework.GameRunner lambda$start$0
SCHWERWIEGEND: No value present
java.util.NoSuchElementException: No value present
at java.util.Optional.get(Unknown Source)
at games.strategy.triplea.settings.GameSetting.value(GameSetting.java:47)
at games.strategy.engine.auto.update.UpdatedMapsCheck.isMapUpdateCheckRequired(UpdatedMapsCheck.java:28)
at games.strategy.engine.auto.update.UpdatedMapsCheck.isMapUpdateCheckRequired(UpdatedMapsCheck.java:16)
at games.strategy.engine.auto.update.UpdateChecks.checkForUpdates(UpdateChecks.java:28)
at java.lang.Thread.run(Unknown Source)
I have never experienced this before.
Not sure whether this might be relevant: I have updated Java 8 from update 181 to 191 before.
(Clean install).
I have never been aware of an automatic engine update check before. Maybe because I update manually on a daily base. Is there an option to disable that?
Thanks, @panther2. This is almost assuredly due to #4189. Assigning to myself.
I have never been aware of an automatic engine update check before. Maybe because I update manually on a daily base.
This check runs every two days. However, it only prompts you to upgrade if one of the non-build-ID components of the version have changed compared to what's in the file https://raw.githubusercontent.com/triplea-game/triplea/master/latest_version.properties. For example, if you were running 1.8.0.0, you would get prompted to upgrade because the latest version in the above file is 1.9.0.0.
It does _not_ prompt you to upgrade simply when the build ID changes (e.g. 1.9.0.0.9687 -> 1.9.0.0.12226).
Is there an option to disable that?
There doesn't appear to be any way to turn it off. Sounds like a good feature request. :smile:
@ssoloff I'd even go as far as turning it off by default, because in my opinion this feature is kinda broken.
@panther2 @RoiEXLab Actually, I forgot about #3914. The update check runs _every time_ TripleA is started. I think "kinda broken" is an understatement. :smile:
@panther2 Should be fixed in 1.9.0.0.12469 or later. I fixed a similar issue in the map update check, but that only runs once a month, so hopefully you'll get a new pre-release installed before you hit it. :smile:
Thank you, @ssoloff :smile: