Project Zomboid

Project Zomboid

Soul Filcher's Farming Time
♥Kina♥ 29 Dec, 2021 @ 10:07pm
Red box console error
I got the same error as BroDimm in the comments, to provide more information here is the error in full;

(Build 41.65, attempting to host game through in game host option so non-dedicated server. I also have like 6 other of your mods enabled and none of them throw an error however, I do also have other mods besides yours. I have literally just done a full reinstall of -everything- so I should have the latest of literally anything.)

(Edit: I tested trying to host again using -only- your mods and still received the error... so it's not interference from outside mods.)


STACK TRACE
-----------------------------------------
function: SFFarmFarmingSystem.lua -- file: SFFarmFarmingSystem.lua line # 4

ERROR: General , 1640843424794> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index of non-table at KahluaUtil.fail line:82.
ERROR: General , 1640843424794> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index of non-table
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaUtil.luaAssert(KahluaUtil.java:70)
at se.krka.kahlua.vm.KahluaThread.tableSet(KahluaThread.java:1726)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:594)
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:76)
at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:550)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:496)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:482)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:329)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:256)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:89)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:289)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:745)
at zombie.GameWindow.run_ez(GameWindow.java:661)
at zombie.GameWindow.mainThread(GameWindow.java:475)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1640843424795> -----------------------------------------
STACK TRACE
-----------------------------------------
function: SFFarmFarmingSystem.lua -- file: SFFarmFarmingSystem.lua line # 4

Dec 30, 2021 12:50:24 AM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException
Dec 30, 2021 12:50:24 AM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException:
Dec 30, 2021 12:50:24 AM zombie.Lua.LuaManager RunLuaInternal
SEVERE: at SFFarmFarmingSystem.lua:4
Last edited by ♥Kina♥; 29 Dec, 2021 @ 10:15pm
< >
Showing 1-9 of 9 comments
soulfilcher  [developer] 30 Dec, 2021 @ 1:22pm 
Do you use any other mods that could change the farming files? Because this error does not happen for me here and doesn't really make sense unless there's something else going on.
♥Kina♥ 30 Dec, 2021 @ 6:04pm 
I ran another test using literally only your farming mod by itself in the workshop/mod options when doing host via in game (non-dedicated) and still received the same error and then even went as far as disabling all my other mods and trying it again and -still- got the same error with that being the only mod active in my game and ran on the server. I use other mods of yours and they seem to work fine, it's just this one for some reason.
Last edited by ♥Kina♥; 30 Dec, 2021 @ 6:06pm
Viper 31 Dec, 2021 @ 9:29am 
i'd just like to chime in that I got this error in multiplayer (as host) as well. i was in setup-mode and i didn't stop to debug or report it at the time, just cut the mod from the list. that was like a week ago.
soulfilcher  [developer] 31 Dec, 2021 @ 10:44am 
Ok, I'll keep looking into it. Looks like a host-specific bug.
nurver 3 Jan, 2022 @ 1:21pm 
Last edited by nurver; 3 Jan, 2022 @ 1:22pm
soulfilcher  [developer] 6 Jan, 2022 @ 11:50am 
I just updated the mod to fix this error. Let me know how it goes for you.
El Duder 8 Jan, 2022 @ 10:01am 
Our server suddenly started receiving this error post-update. It previously worked perfectly fine, for the record.

STACK TRACE
-----------------------------------------
function: stdin -- file: objects.lua line # 1
function: growPlant -- file: SFFarm_FarmingSystem.lua line # 26
function: checkPlant -- file: SFarmingSystem.lua line # 195
function: EveryTenMinutes -- file: SFarmingSystem.lua line # 140
function: EveryTenMinutes -- file: SFarmingSystem.lua line # 379
ERROR: General , 1641664803975> 74,994,852,678> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: at KahluaUtil.fail line:82.
ERROR: General , 1641664803975> 74,994,852,678> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException:
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1065)
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:61)
at zombie.GameTime.update(GameTime.java:663)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:560)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1672)
at zombie.gameStates.IngameState.update(IngameState.java:1367)
at zombie.network.GameServer.main(GameServer.java:890)
LOG : General , 1641664803976> 74,994,852,678> -----------------------------------------
STACK TRACE
-----------------------------------------
function: stdin -- file: objects.lua line # 1
function: growPlant -- file: SFFarm_FarmingSystem.lua line # 26
function: checkPlant -- file: SFarmingSystem.lua line # 195
function: EveryTenMinutes -- file: SFarmingSystem.lua line # 140
function: EveryTenMinutes -- file: SFarmingSystem.lua line # 379
soulfilcher  [developer] 8 Jan, 2022 @ 12:44pm 
Looks like it could be linked to crops that bugged before the previous error was fixed. If you find any crops that could be bugged removed them.
El Duder 9 Jan, 2022 @ 9:15am 
Originally posted by soulfilcher:
Looks like it could be linked to crops that bugged before the previous error was fixed. If you find any crops that could be bugged removed them.

We removed the mod and also removed every instance of a plant from the mod (including meals cooked with those plants) and are still receiving errors just like the one above, related to this mod. Again, we never had these errors previously and now they are inescapable. Any other ideas are greatly appreciated!
Last edited by El Duder; 9 Jan, 2022 @ 11:25am
< >
Showing 1-9 of 9 comments
Per page: 1530 50