-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Is there an existing issue for this?
- I have searched the existing issues
Game Version
4.17.16
Describe the bug
Game crashes with following info:
Message:
java.lang.NoSuchMethodError: 'java.lang.Object java.util.List.removeLast()'
at com.unciv.logic.city.CityConstructions.addToQueue(CityConstructions.kt:854)
at com.unciv.logic.city.CityConstructions.addToQueue$default(CityConstructions.kt:840)
at com.unciv.logic.city.CityConstructions.addToQueue(CityConstructions.kt:869)
at com.unciv.ui.screens.cityscreen.CityConstructionsTable.addConstructionToQueue(CityConstructionsTable.kt:664)
at com.unciv.ui.screens.cityscreen.CityConstructionsTable.getConstructionButton$lambda$20(CityConstructionsTable.kt:574)
at com.unciv.ui.components.input.ActivationActionMap.activate(ActivationActionMap.kt:57)
at com.unciv.ui.components.input.ActorAttachments.activate(ActorAttachments.kt:42)
at com.unciv.ui.components.input.ActivationExtensionsKt.activate(ActivationExtensions.kt:17)
at com.unciv.ui.components.input.ActivationListener.tap(ActivationListener.kt:15)
at com.badlogic.gdx.scenes.scene2d.utils.ActorGestureListener$1.tap(ActorGestureListener.java:52)
at com.badlogic.gdx.input.GestureDetector.touchUp(GestureDetector.java:206)
at com.badlogic.gdx.scenes.scene2d.utils.ActorGestureListener.handle(ActorGestureListener.java:125)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:354)
at com.unciv.ui.screens.basescreen.UncivStage.touchUp$lambda$6(UncivStage.kt:87)
at com.unciv.ui.crashhandling.CrashHandlingExtensionsKt.wrapCrashHandling$lambda$0(CrashHandlingExtensions.kt:17)
at com.unciv.ui.screens.basescreen.UncivStage.touchUp(UncivStage.kt:87)
at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:190)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:414)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:181)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:153)
at com.unciv.app.desktop.HardenGdxAudio.<init>(HardenGdxAudio.kt:54)
at com.unciv.app.desktop.DesktopLauncher.main(DesktopLauncher.kt:129)
Steps to Reproduce
Game crashes when, the only production in the city screen is a "convert production to ..." (doesn't matter which one) and you try to add a new "convert production to ...".
I tried with different existing ones and different additions. It didn't matter the specific convert production option. Game doesn't crash if I explicitly delete the existing convert production option before adding the new one.
Screenshots
No response
Link to save file
Save Mods:
[Civ V - Gods & Kings, Modern Civilizations]
Please DM me if you need the save data and provide an email.
Thanks for maintaining this game!
Operating System
Linux
Additional Information
Platform: Desktop
Version: 4.17.16 (Build 1,157)
Rulesets: [Civ V - Vanilla, Civ V - Gods & Kings, Modern Civilizations]
Last Screen: com.unciv.ui.screens.cityscreen.CityScreen
OS: Linux (amd64, 6.15.9-arch1-1)
Arch Linux
Java: Arch Linux 11.0.27+6
Max Memory: 15992 MB
System default encoding: UTF-8