Project Zomboid

Project Zomboid

Spiffo's Workshop
Welcome to Spiffo's Workshop, the place to find Project Zomboid mods, maps, buildings, and other things to tinker with. For our Modding Policy, click the "Learn More" Button below.
Learn More
Vehicles Inventory is Disappearing
Sorry to have to ask and thanks in advance anyone whose able to aid me in this. I cant seem to solve what mod is causing this bug and have slashed my mods used multiple times over and readded one by one but cant seem to locate its source.
Main issue is that sometimes seemingly randomly when i go to my vehicle after a loot run when i go to open the trunk just.. nothing. No icon for the trunks, seats, or glovebox. no ability to access my stuff, and quiting to both desktop & menu as well as LUA updates wont resolve it once its occured (and once it has, any "container" in a vehicle is gone and inaccesible)

Ive taken out any ui affecting mod, any vehicle mods, Autotsars mods, taken off the last half and first half but since im not 100% sure how to replicate or what its trigger is there have been times ill play for 3 weeks in game or times Ill play and first day on a new sandbox its set off. So im sure there have been some mod combination id missed thinking they were good just solely bc i hadnt played for long enough or repeated the exact trigger within my testing time.

Ill add the last 4 errors taken from Erorr magnifier from when id lost access to vehicles--

1. Occured around here
`java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor333.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:211)
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:60)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1760)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
at zombie.ui.UITextBox2.onTextChange(UITextBox2.java:901)
at zombie.ui.UITextBox2.putCharacter(UITextBox2.java:1391)
at zombie.core.Core.updateKeyboardAux(Core.java:2701)
at zombie.core.Core.updateKeyboard(Core.java:2722)
at zombie.core.Core.DoFrameReady(Core.java:3738)
at zombie.GameWindow.frameStep(GameWindow.java:950)
at zombie.GameWindow.mainThreadStep(GameWindow.java:643)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "zombie.scripting.objects.Item.getOnBreak()" because the return value of "zombie.inventory.InventoryItem.getScriptItem()" is null
at zombie.inventory.InventoryItem.getOnBreak(InventoryItem.java:5640)
at zombie.inventory.InventoryItem.onBreak(InventoryItem.java:5645)
at zombie.inventory.InventoryItem.setBroken(InventoryItem.java:3481)
at zombie.inventory.InventoryItem.setCondition(InventoryItem.java:2967)
at zombie.scripting.objects.Item.InstanceItem(Item.java:2123)
at zombie.inventory.InventoryItemFactory.createItemInternal(InventoryItemFactory.java:140)
at zombie.inventory.InventoryItemFactory.CreateItem(InventoryItemFactory.java:72)
at zombie.inventory.InventoryItemFactory.CreateItem(InventoryItemFactory.java:45)
at zombie.inventory.InventoryItemFactory.CreateItem(InventoryItemFactory.java:21)
at zombie.Lua.LuaManager$GlobalObject.instanceItem(LuaManager.java:4582)
... 21 more
`

2. ERROR occured around when I rested
`java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor333.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:211)
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:60)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1760)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
at zombie.ui.UITextBox2.onTextChange(UITextBox2.java:901)
at zombie.ui.UITextBox2.putCharacter(UITextBox2.java:1403)
at zombie.core.Core.updateKeyboardAux(Core.java:2701)
at zombie.core.Core.updateKeyboard(Core.java:2722)
at zombie.core.Core.DoFrameReady(Core.java:3738)
at zombie.GameWindow.frameStep(GameWindow.java:950)
at zombie.GameWindow.mainThreadStep(GameWindow.java:643)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "zombie.scripting.objects.Item.getOnBreak()" because the return value of "zombie.inventory.InventoryItem.getScriptItem()" is null
at zombie.inventory.InventoryItem.getOnBreak(InventoryItem.java:5640)
at zombie.inventory.InventoryItem.onBreak(InventoryItem.java:5645)
at zombie.inventory.InventoryItem.setBroken(InventoryItem.java:3481)
at zombie.inventory.InventoryItem.setCondition(InventoryItem.java:2967)
at zombie.scripting.objects.Item.InstanceItem(Item.java:2123)
at zombie.inventory.InventoryItemFactory.createItemInternal(InventoryItemFactory.java:140)
at zombie.inventory.InventoryItemFactory.CreateItem(InventoryItemFactory.java:72)
at zombie.inventory.InventoryItemFactory.CreateItem(InventoryItemFactory.java:45)
at zombie.inventory.InventoryItemFactory.CreateItem(InventoryItemFactory.java:21)
at zombie.Lua.LuaManager$GlobalObject.instanceItem(LuaManager.java:4582)
... 21 more
`

3. Occured after sleep and attempt to see if fix
`java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor1762.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:211)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:201)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1805)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
at zombie.ui.UIElement.update(UIElement.java:2059)
at zombie.ui.UIElement.update(UIElement.java:2076)
at zombie.ui.UIManager.updateUIElements(UIManager.java:1045)
at zombie.ui.UIManager.update(UIManager.java:798)
at zombie.GameWindow.logic(GameWindow.java:328)
at zombie.GameWindow.frameStep(GameWindow.java:917)
at zombie.GameWindow.mainThreadStep(GameWindow.java:643)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "zombie.scripting.entity.components.crafting.CraftRecipe.isAnySurfaceCraft()" because the return value of "zombie.entity.components.crafting.recipe.CraftRecipeData.getRecipe()" is null
at zombie.entity.components.crafting.recipe.HandcraftLogic.canPerformCurrentRecipe(HandcraftLogic.java:430)
at zombie.entity.components.crafting.recipe.HandcraftLogic.cachedCanPerformCurrentRecipe(HandcraftLogic.java:419)
... 21 more
`

4. ERROR 4: Occured after reload same save

`Callframe at: canAccessContainer
function: refreshBackpacks -- file: ISInventoryPage.lua line # 1691 | Vanilla
function: dirtyUI -- file: ISInventoryPage.lua line # 1261 | Vanilla
function: prerender -- file: ISInventoryPage.lua line # 653 | Vanilla
java.lang.NullPointerException: Cannot assign field "callFrame" because "<parameter1>" is null
at se.krka.kahlua.integration.expose.ReturnValues.put(ReturnValues.java:65)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:202)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1805)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
at zombie.ui.UIElement.render(UIElement.java:1985)
at zombie.ui.UIManager.render(UIManager.java:409)
at zombie.gameStates.IngameState.renderFrameUI(IngameState.java:1317)
at zombie.gameStates.IngameState.renderframeui(IngameState.java:1303)
at zombie.gameStates.IngameState.renderInternal(IngameState.java:1442)
at zombie.gameStates.IngameState.render(IngameState.java:1392)
at zombie.gameStates.GameStateMachine.render(GameStateMachine.java:28)
at zombie.GameWindow.renderInternal(GameWindow.java:469)
at zombie.GameWindow.frameStep(GameWindow.java:941)
at zombie.GameWindow.mainThreadStep(GameWindow.java:643)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`