Project Zomboid

Project Zomboid

Better Satchel
B42, 4.10, Bug Report
`Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@2fe521c9
function: getContainers -- file: !aaaSatchelNewSandboxOption.lua line # 11 | MOD: Better Satchel
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@beb50ed9
function: getSpawnRegions -- file: SpawnRegions.lua line # 94 | Vanilla
function: getSpawnRegions -- file: MapSpawnSelect.lua line # 295 | Vanilla
function: fillList -- file: MapSpawnSelect.lua line # 320 | Vanilla
function: clickPlay -- file: NewGameScreen.lua line # 943 | Vanilla
function: onOptionMouseDown -- file: NewGameScreen.lua line # 826 | Vanilla
function: onMouseUp -- file: ISButton.lua line # 56 | Vanilla
java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor284.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.pcallvoid(KahluaThread.java:1790)
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:72)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:315)
at zombie.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:326)
at zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:4176)
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: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.pcallBoolean(KahluaThread.java:1902)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1634)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1589)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1589)
at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1696)
at zombie.ui.UIManager.updateMouseButtons(UIManager.java:857)
at zombie.ui.UIManager.update(UIManager.java:716)
at zombie.GameWindow.logic(GameWindow.java:326)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
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:5671)
at zombie.inventory.InventoryItem.onBreak(InventoryItem.java:5676)
at zombie.inventory.InventoryItem.setBroken(InventoryItem.java:3508)
at zombie.inventory.InventoryItem.setCondition(InventoryItem.java:2993)
at zombie.scripting.objects.Item.InstanceItem(Item.java:2129)
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:4506)
... 41 more
`
< >
Showing 1-1 of 1 comments
DragonOfWar  [developer] 15 Jul @ 2:12am 
Do not use sandbox version, caz it needs to be updated. However, there is a chance that the error is not even from my mod alone or caused by it.
The issue is in naming, as lua engine loads scenarios it will always load this (!aaaSatchelNewSandboxOption.lua) file first, because of its name. As other .lua files loads and if there are conflicts or issues it will always blame mine. Try to rename this file (Better Satchel\42.0\media\lua\shared) to something like zzzzSatchelNewSandboxOption.lua. Pretty sure, game would point you to the other mod with the next error.
Also, there is a chance that with updates this mod's sandbox option version was broken completly... but I am not playing zomboid nowadays, cant be sure.
< >
Showing 1-1 of 1 comments
Per page: 1530 50