Project Zomboid

Project Zomboid

Musicians of the Wasteland
Darrett 1 Aug, 2024 @ 5:31pm
Error every second while mod is active
Getting an error message every second or so in the bottom right corner. Mod seems to be functioning as intended, except for the red error constantly counting up as playtime continues. Consistent both in existing save and new save.

Error Log below:



-----------------------------------------
function: Check -- file: Listener.lua line # 8 | MOD: Musicians of the Wasteland
function: Add -- file: Listener.lua line # 33 | MOD: Musicians of the Wasteland

LOG : General , 1722558003338> -------------------------------------------------------------
attempted index: size of non-table: null

LOG : General , 1722558003338> -----------------------------------------
STACK TRACE
-----------------------------------------
function: Check -- file: Listener.lua line # 8 | MOD: Musicians of the Wasteland
function: Add -- file: Listener.lua line # 33 | MOD: Musicians of the Wasteland

ERROR: General , 1722558003338> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: size of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1722558003338> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: size of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:65)
at zombie.GameTime.update(GameTime.java:680)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:566)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1623)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1722558003340> -----------------------------------------
< >
Showing 1-6 of 6 comments
Gravy  [developer] 1 Aug, 2024 @ 9:12pm 
Checking this out now.
Gravy  [developer] 1 Aug, 2024 @ 9:26pm 
This has been fixed!
aquelarrefox 3 Aug, 2024 @ 8:35pm 
i was getting this error also constantly yesterday:

STACK TRACE
-----------------------------------------
function: Check -- file: Listener.lua line # 8 | MOD: Musicians of the Wasteland
function: Add -- file: Listener.lua line # 33 | MOD: Musicians of the Wasteland.
[03-08-24 00:32:55.605] ERROR: General , 1722655975605> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: size of non-table: null at KahluaThread.tableget line:1689..
[03-08-24 00:32:55.605] ERROR: General , 1722655975605> DebugLogStream.printException> Stack trace:.
[03-08-24 00:32:55.606] LOG : General , 1722655975606> -----------------------------------------
STACK TRACE
Gravy  [developer] 3 Aug, 2024 @ 10:23pm 
@aquelarrefox that should be fixed already, based on the line numbers.
aquelarrefox 5 Aug, 2024 @ 12:06pm 
im still having it on the original save, should unsuscribe/suscribe?
Darrett 12 Aug, 2024 @ 2:22pm 
Originally posted by aquelarrefox:
im still having it on the original save, should unsuscribe/suscribe?

This is what I did to get the update to work, it forced a download of updated files and it solved the issue on existing saves.
< >
Showing 1-6 of 6 comments
Per page: 1530 50