question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to automagically update DeCiv Redux

See original GitHub issue

Got the following error report when attempt to update:

Platform: Desktop Version: 3.19.10 Rulesets: [Dreams-of-Steam-main, The Undead, Wars Mod, RekMOD, Upside Down, Farmers Only, Grey Goo, Money Lovers, The North Pole, newcolors, The Mesmerists, Great Community Maps, Testbed, Civ V - Vanilla, Additional Music Ambient, Wakanda for Unciv 2, Resource Recyclers, Improved Icons, DeCiv Redux version 5, Dreams of Steam, Civ Army Color Style Sheet, League of Mad Scientists, DeCiv Redux version 5.1, Smoky Skies Redux, Civ V - Gods & Kings, hack land] Last Screen: com.unciv.CrashScreen


null


Message:

java.lang.OutOfMemoryError: Out of stack space.
	at org.lwjgl.system.MemoryStack.nmalloc(MemoryStack.java:314)
	at org.lwjgl.system.MemoryStack.nUTF8(MemoryStack.java:713)
	at org.lwjgl.glfw.GLFW.glfwSetClipboardString(GLFW.java:4378)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Clipboard.setContents(Lwjgl3Clipboard.java:40)
	at com.unciv.CrashScreen$makeActionButtonsTable$copyButton$1.invoke(CrashScreen.kt:176)
	at com.unciv.CrashScreen$makeActionButtonsTable$copyButton$1.invoke(CrashScreen.kt:175)
	at com.unciv.ui.utils.ExtensionFunctionsKt$onClick$1.invoke(ExtensionFunctions.kt:65)
	at com.unciv.ui.utils.ExtensionFunctionsKt$onClick$1.invoke(ExtensionFunctions.kt:65)
	at com.unciv.ui.utils.ExtensionFunctionsKt$onClickEvent$1.clicked(ExtensionFunctions.kt:58)
	at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:88)
	at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:71)
	at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:355)
	at com.unciv.CrashHandlingStage.access$touchUp$s80204510(CrashHandlingStage.kt:10)
	at com.unciv.CrashHandlingStage$touchUp$1.invoke(CrashHandlingStage.kt:24)
	at com.unciv.CrashHandlingStage$touchUp$1.invoke(CrashHandlingStage.kt:24)
	at com.unciv.ui.utils.ExtensionFunctionsKt$wrapCrashHandling$1.invoke(ExtensionFunctions.kt:320)
	at com.unciv.CrashHandlingStage.touchUp(CrashHandlingStage.kt:24)
	at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
	at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:189)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:394)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:143)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:116)
	at com.unciv.app.desktop.DesktopLauncher.main(DesktopLauncher.kt:61)

Save Mods:

No mod data: kotlin.UninitializedPropertyAccessException: lateinit property gameInfo has not been initialized

Save Data:

Show Saved Game
No save data: kotlin.UninitializedPropertyAccessException: lateinit property gameInfo has not been initialized

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
yairm210commented, Feb 21, 2022

Solved in #6208 for RekMOD, I’ll check DeCiv

1reaction
xlenstracommented, Feb 20, 2022

One thing to note is that at least one of the uniques that is being replaced, can be replaced with one of three different new uniques: Not available without [policy/tech/building] has become “Only available <after adopting [policy]> OR Only available <with [building]> OR Only available <after discovering [tech]>”. The OR is also put into the .json files verbatim, which creates parsing errors. Fixing all these errors also fixes the problem. We should probably warn modders for when this happens, or open a popup so modders can choose the correct version in cases like these

Read more comments on GitHub >

github_iconTop Results From Across the Web

React, redux component does not update on route change
So props and redux state along with component state will update, yet the component does not re-render with new zone data being displayed....
Read more >
Introduction to Redux Toolkit Query with TypeScript
In this article, we go through all the basic features of Redux Toolkit Query while ... property to allow the query to refresh...
Read more >
React Redux Login Authentication Flow with JWT Access ...
Learn React Redux Login Authentication Flow with JWT Access, Refresh Tokens, Cookies and more. This tutorial sets up a React Redux login and ......
Read more >
Deletes everything when hitting the max database size. (React ...
When it hits the maximum size (6MB by default for React Native onAndroid), it just deletes (or at least fails to render) any...
Read more >
How to Use Thunks with Redux Toolkit and TypeScript
Redux Toolkit's configureStore function automatically sets up the thunk middleware by default ... work with device API, ... message: "Failed to fetch todos....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found