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

Error on next turn #84

Open
Merkest1 opened this issue Sep 29, 2024 · 0 comments
Open

Error on next turn #84

Merkest1 opened this issue Sep 29, 2024 · 0 comments

Comments

@Merkest1
Copy link

I was playing the Alpha version with below mods. And it was going well up to turn 400ish but now when I press next turn it bugs out with below.
Had to cut out a lot of the bug report due to length

Platform: Android
Version: 4.13.11 (Build 1,053)
Rulesets: [Civ V - Vanilla, Latin American_Civs, RekMOD, Brave New World, Civ V - Gods & Kings, 5Hex Tileset, Alpha Frontier]
Last Screen: com.unciv.ui.screens.worldscreen.WorldScreen


Device Model: SM-G991B
API Level: 34
System Memory: 7201 MB
Available (used by Kernel): 1999 MB
System Low Memory state: false
Java heap limit: 512 MB
Java heap free: 17 MB


Message:

java.lang.NullPointerException
	at com.unciv.ui.screens.worldscreen.unit.actions.UnitActionsFromUniques.getRepairTurns$core(UnitActionsFromUniques.kt:436)
	at com.unciv.logic.automation.unit.WorkerAutomation.getImprovementPriority(WorkerAutomation.kt:280)
	at com.unciv.logic.automation.unit.WorkerAutomation.tileHasWorkToDo(WorkerAutomation.kt:308)
	at com.unciv.logic.automation.unit.WorkerAutomation.findTileToWork(WorkerAutomation.kt:206)
	at com.unciv.logic.automation.unit.WorkerAutomation.automateWorkerAction(WorkerAutomation.kt:83)
	at com.unciv.logic.automation.unit.WorkerAutomation.automateWorkerAction$default(WorkerAutomation.kt:74)
	at com.unciv.logic.automation.unit.CivilianUnitAutomation.automateCivilianUnit(CivilianUnitAutomation.kt:38)
	at com.unciv.logic.automation.unit.UnitAutomation.automateUnitMoves(UnitAutomation.kt:178)
	at com.unciv.logic.automation.civilization.NextTurnAutomation.automateUnits(NextTurnAutomation.kt:435)
	at com.unciv.logic.automation.civilization.NextTurnAutomation.automateCivMoves(NextTurnAutomation.kt:76)
	at com.unciv.logic.automation.civilization.NextTurnAutomation.automateCivMoves$default(NextTurnAutomation.kt:38)
	at com.unciv.logic.civilization.managers.TurnManager.automateTurn(TurnManager.kt:344)
	at com.unciv.logic.GameInfo.nextTurn(GameInfo.kt:397)
	at com.unciv.ui.screens.worldscreen.WorldScreen$nextTurn$1.invokeSuspend(WorldScreen.kt:585)
	at com.unciv.ui.screens.worldscreen.WorldScreen$nextTurn$1.invoke(Unknown Source:8)
	at com.unciv.ui.screens.worldscreen.WorldScreen$nextTurn$1.invoke(Unknown Source:4)
	at com.unciv.utils.ConcurrencyKt$launchCrashHandling$1.invokeSuspend(Concurrency.kt:89)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at com.unciv.utils.Dispatchers$CrashHandlingDispatcher$dispatch$1.invoke(Concurrency.kt:190)
	at com.unciv.utils.Dispatchers$CrashHandlingDispa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant