Project Zomboid

Project Zomboid

ra's Farming & Canning
 This topic has been pinned, so it's probably important
razab  [developer] Mar 21 @ 4:24am
Bug reports
Feel free to report bugs here.
Last edited by razab; Mar 21 @ 4:25am
< >
Showing 1-4 of 4 comments
@razab I found the error in the console.txt. I will dump the section here. Hopefully it is helpful.

function: render -- file: RasFarmingMenu.lua line # 178 | MOD: ra's Farming & Canning

LOG : General , 1750335845636> -------------------------------------------------------------
attempted index: StartDate of non-table: null

LOG : General , 1750335845636> -----------------------------------------
STACK TRACE
-----------------------------------------
function: render -- file: RasFarmingMenu.lua line # 178 | MOD: ra's Farming & Canning

ERROR: General , 1750335845637> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: StartDate of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1750335845637> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: StartDate of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
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:1827)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
at zombie.ui.UIElement.render(UIElement.java:1534)
at zombie.ui.UIElement.render(UIElement.java:1527)
at zombie.ui.UIManager.render(UIManager.java:446)
at zombie.gameStates.IngameState.renderFrameUI(IngameState.java:1183)
at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:130)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
at zombie.gameStates.IngameState.renderframeui(IngameState.java:1172)
at zombie.gameStates.IngameState.renderInternal(IngameState.java:1324)
at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:130)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
at zombie.gameStates.IngameState.render(IngameState.java:1271)
at zombie.gameStates.GameStateMachine.render(GameStateMachine.java:37)
at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:130)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
at zombie.GameWindow.renderInternal(GameWindow.java:340)
at zombie.GameWindow.frameStep(GameWindow.java:774)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
razab  [developer] 21 hours ago 
Originally posted by PrestigeWorldwide:
@razab I found the error in the console.txt. I will dump the section here. Hopefully it is helpful.

function: render -- file: RasFarmingMenu.lua line # 178 | MOD: ra's Farming & Canning

LOG : General , 1750335845636> -------------------------------------------------------------
attempted index: StartDate of non-table: null

LOG : General , 1750335845636> -----------------------------------------
STACK TRACE
-----------------------------------------
function: render -- file: RasFarmingMenu.lua line # 178 | MOD: ra's Farming & Canning

ERROR: General , 1750335845637> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: StartDate of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1750335845637> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: StartDate of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
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:1827)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
at zombie.ui.UIElement.render(UIElement.java:1534)
at zombie.ui.UIElement.render(UIElement.java:1527)
at zombie.ui.UIManager.render(UIManager.java:446)
at zombie.gameStates.IngameState.renderFrameUI(IngameState.java:1183)
at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:130)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
at zombie.gameStates.IngameState.renderframeui(IngameState.java:1172)
at zombie.gameStates.IngameState.renderInternal(IngameState.java:1324)
at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:130)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
at zombie.gameStates.IngameState.render(IngameState.java:1271)
at zombie.gameStates.GameStateMachine.render(GameStateMachine.java:37)
at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:130)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
at zombie.GameWindow.renderInternal(GameWindow.java:340)
at zombie.GameWindow.frameStep(GameWindow.java:774)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)



Thanks for the post! That's really helpful. This seems to be indeed an error caused by mod although I've never seen it before and have no idea how this could happen. But I'll check my code a bit closer!

Btw do you play multiplayer?

Also, how long is your current game running? A few weeks, months, years...?
Last edited by razab; 21 hours ago
Solo only. In-game, I am into September. IRL playing this character for a few weeks. One thing that might be a factor is that the character I started the new game with died after I planted seeds and I created a new character that took over the timeline and thus harvested the crops. But still, the broccoli came out okay and plantable but the radish didn't.

I deactivated the mod and was able to plant radishes again. The stuff I canned, even the ones pickled with vinegar disappeared though.

I noticed that vanilla sowing options show all possible seeds whether equipped or not. The mod only showed broccoli in the selection, whether seeds equipped or not.
razab  [developer] 10 hours ago 
Ok. That was probably an error caused by choosing a new character in the same world after your first char died. Some weird problem I wasn't able to anticipate when I created the mod. I'll still try to fix the problem.
< >
Showing 1-4 of 4 comments
Per page: 1530 50