Project Zomboid

Project Zomboid

Dynamic Backpack Upgrades [ B42/B41 ]
Errors when clicking bags and many more when crafting, trying to troubleshoot.
Not the "WARN setting size to capacity over 50, but a different error log every time I click on one of my maxed out bags.

[15-01-25 04:32:48.253] LOG : General f:218871, t:1736944368253> -----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: isNormalAndFullFood
function: NormalGoodFullFood -- file: recipecode.lua line # 3006 | Vanilla
function: GenericPacking -- file: recipecode.lua line # 2989 | Vanilla
Callframe at: setRecipes
function: refreshRecipeList -- file: ISHandCraftPanel.lua line # 213 | Vanilla
function: update -- file: ISHandCraftPanel.lua line # 197 | Vanilla.
[15-01-25 04:32:48.253] ERROR: General f:218871, t:1736944368253> ExceptionLogger.logException> Exception thrown
java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor1420.invoke(null:-1).
Stack trace:
jdk.internal.reflect.GeneratedMethodAccessor1420.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.base/java.lang.reflect.Method.invoke(Unknown Source)
se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211)
se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:201)
se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1076)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1853)
se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:91)
zombie.scripting.entity.components.crafting.CraftRecipe.OnTestItem(CraftRecipe.java:904)
zombie.entity.components.crafting.recipe.CraftRecipeManager.consumeInputItemInternal(CraftRecipeManager.java:870)
zombie.entity.components.crafting.recipe.CraftRecipeManager.consumeInputItem(CraftRecipeManager.java:798)
zombie.entity.components.crafting.recipe.CraftRecipeData.consumeInputFromItems(CraftRecipeData.java:1222)
zombie.entity.components.crafting.recipe.CraftRecipeData.consumeRecipeInputs(CraftRecipeData.java:1090)
zombie.entity.components.crafting.recipe.CraftRecipeData.consumeInputsInternal(CraftRecipeData.java:795)
zombie.entity.components.crafting.recipe.CraftRecipeData.consumeInputsInternal(CraftRecipeData.java:778)
zombie.entity.components.crafting.recipe.CraftRecipeData.canPerform(CraftRecipeData.java:554)
zombie.entity.components.crafting.BaseCraftingLogic.createCachedRecipeInfo(BaseCraftingLogic.java:361)
zombie.entity.components.crafting.recipe.HandcraftLogic.createCachedRecipeInfo(HandcraftLogic.java:888)
zombie.entity.components.crafting.recipe.HandcraftLogic.rebuildCachedRecipeInfo(HandcraftLogic.java:878)
zombie.entity.components.crafting.BaseCraftingLogic.sortRecipeList(BaseCraftingLogic.java:349)
zombie.entity.components.crafting.BaseCraftingLogic.filterRecipeList(BaseCraftingLogic.java:132)
zombie.entity.components.crafting.recipe.HandcraftLogic.filterRecipeList(HandcraftLogic.java:579)
zombie.entity.components.crafting.BaseCraftingLogic.filterRecipeList(BaseCraftingLogic.java:87)
zombie.entity.components.crafting.BaseCraftingLogic.setRecipes(BaseCraftingLogic.java:408)
zombie.entity.components.crafting.recipe.HandcraftLogic.setRecipes(HandcraftLogic.java:503)
jdk.internal.reflect.GeneratedMethodAccessor2945.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.base/java.lang.reflect.Method.invoke(Unknown Source)
se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211)
se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:201)
se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1805)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
zombie.ui.UIElement.update(UIElement.java:2052)
zombie.ui.UIElement.update(UIElement.java:2069)
zombie.ui.UIManager.updateUIElements(UIManager.java:1065)
zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
zombie.ui.UIManager.update(UIManager.java:819)
zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
zombie.GameWindow.logic(GameWindow.java:319)
zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
zombie.GameWindow.frameStep(GameWindow.java:917)
zombie.GameWindow.run_ez(GameWindow.java:810)
zombie.GameWindow.mainThread(GameWindow.java:610)
java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "zombie.scripting.objects.Item.getPoisonDetectionLevel()" is null
zombie.inventory.types.Food.isNormalAndFullFood(Food.java:2286)
... 53 more
Last edited by Valkerion™; Jan 15 @ 4:44am
< >
Showing 1-2 of 2 comments
And further, there is a heft lag and error every time I use the crafting menu and complete a craft. (Every time one craft of multiple finishes too.) I am sure it's related to another mod as well as this wasn't happening earlier but curious if you can tell what's happening.

This is the full error added between a pause and then crafting one item.

https://mega.nz/file/u7wHzBTC#rxM8ncOdcSLu5hCL1TtgIW8DBJYbN0hyIg9pG79aCVU
Dr. Lalaoz  [developer] Jan 16 @ 7:44pm 
all i can really tell is that a function called "setRecipes" is whats erroring.
with build 42 this most likely means one of the mods has outdated crafting recipe files. since b42 requries the new verson and isnt backwards compatible (as of right now) it breaks and causes a bunch of issues. I made the same mistake when i was porting the mod to b42.

so your best bet is gonna be to go through the mod list and write down what mods have crafting recipes. then either check for those recipes in-game to make sure they loaded correctly, or just start removing them one by one until you find the culprit.
< >
Showing 1-2 of 2 comments
Per page: 1530 50