Project Zomboid

Project Zomboid

Tidy Up Meister
gamer 10 Apr, 2024 @ 9:50am
Log Error when starting fire
attempted index: new of non-table: null

LOG : General , 1712767430450> 226,665,129> -----------------------------------------
STACK TRACE
-----------------------------------------
function: onLightFromLiterature -- file: ISCampingMenu.lua line # 561 | Vanilla
function: onLightFromLiterature -- file: P4TidyUpMeister.lua line # 293 | MOD: Tidy Up Meister
function: start -- file: ISQueueActionsAction.lua line # 26 | Vanilla
Callframe at: StartAction
function: begin -- file: ISBaseTimedAction.lua line # 61 | Vanilla
function: addToQueue -- file: ISTimedActionQueue.lua line # 23 | Vanilla
function: add -- file: ISTimedActionQueue.lua line # 131 | Vanilla
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla

ERROR: General , 1712767430450> 226,665,129> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: new of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1712767430450> 226,665,130> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: new 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.pcall(KahluaThread.java:1782)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
at zombie.characters.CharacterTimedActions.LuaTimedActionNew.start(LuaTimedActionNew.java:91)
at zombie.characters.CharacterTimedActions.BaseAction.waitToStart(BaseAction.java:94)
at zombie.characters.CharacterTimedActions.LuaTimedActionNew.waitToStart(LuaTimedActionNew.java:63)
at zombie.characters.IsoGameCharacter.StartAction(IsoGameCharacter.java:5716)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:188)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
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.pcallBoolean(KahluaThread.java:1924)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1228)
at zombie.ui.UIManager.update(UIManager.java:816)
at zombie.GameWindow.logic(GameWindow.java:262)
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 , 1712767430452> 226,665,131> -----------------------------------------
STACK TRACE
-----------------------------------------
function: onLightFromLiterature -- file: ISCampingMenu.lua line # 561 | Vanilla
function: onLightFromLiterature -- file: P4TidyUpMeister.lua line # 293 | MOD: Tidy Up Meister
function: start -- file: ISQueueActionsAction.lua line # 26 | Vanilla
Callframe at: StartAction
function: begin -- file: ISBaseTimedAction.lua line # 61 | Vanilla
function: addToQueue -- file: ISTimedActionQueue.lua line # 23 | Vanilla
function: add -- file: ISTimedActionQueue.lua line # 131 | Vanilla
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla
< >
Showing 1-5 of 5 comments
PePePePePeil  [developer] 10 Apr, 2024 @ 8:23pm 
@gamer
Thanks for the report. This is the part of the operation that lights the campfire or like something using books, etc. I have checked the mod implementation and actually executed the relevant part and no error occurred. Also, the detailed error is not in my mod part, but in the vanilla part beyond it, so there is a possibility that there is a problem with something other than the mod. Are there any conditions under which the error occurs? Also, is it possible that other mods are affecting the error, or (I don't think so) is it possible that the vanilla side is the latest version or corrupted?
gamer 10 Apr, 2024 @ 10:16pm 
Im not entirely sure what causes it, I even disabled the tidy up force swap setting when lighting fires and still get the same error, do you think i should reinstall? beyond this, the only other error i get is with cheat menu rebirth but it is unrelated to the fire
Last edited by gamer; 10 Apr, 2024 @ 11:58pm
gamer 11 Apr, 2024 @ 2:13am 
the error only appears in my console.txt log not my coopconsole log, do you think this is significant? (i play multiplayer and host a server)
Last edited by gamer; 11 Apr, 2024 @ 2:13am
gamer 11 Apr, 2024 @ 9:54am 
i cant narrow it down, i dont even think its a mod issue, im not entirely sure because it doesnt point to any mods from what i see, my vanilla game is just throwing errors and tidy up meister's actions belong to some of those errors so i pointed in your directions, i apologize

function: OnCraft -- file: ISInventoryPaneContextMenu.lua line # 2891 | Vanilla
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla

ERROR: General , 1712826332866> 285,565,497> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getInventory of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1712826332866> 285,565,497> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getInventory 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.pcallBoolean(KahluaThread.java:1924)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1228)
at zombie.ui.UIManager.update(UIManager.java:816)
at zombie.GameWindow.logic(GameWindow.java:262)
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 , 1712826332867> 285,565,498> -----------------------------------------
STACK TRACE
-----------------------------------------
function: OnCraft -- file: ISInventoryPaneContextMenu.lua line # 2891 | Vanilla
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla


?
Last edited by gamer; 11 Apr, 2024 @ 9:55am
PePePePePeil  [developer] 12 Apr, 2024 @ 7:59am 
@gamer
Thanks for the detailed information. Even if my mod was not the cause, I will help you as much as I can find out, so don't worry about it.

Now, it still seems that there is something wrong with your vanilla client as far as the symptoms and error content are concerned. What happens if you disable my mod and other mods completely disabled and run it in a purely vanilla? If you still get the error without the mods, you may want to reinstall the client.
< >
Showing 1-5 of 5 comments
Per page: 1530 50