Project Zomboid

Project Zomboid

[B42]DebugMenu
Bug Report
Hey @美国佬们肯开口了吗.

First of all, thank you from the bottom of my heart for making this great mod, your work is amazing, its the only mod of this type in all of the workshop working, you should be proud.

Second, i want to report i bug/error that just popped in my Error Magnifier, maybe its nothing, maybe it is, so i prefer to report it. This was on build 42.3.1.

`attempted index: addOption of non-table: null function: generateMenu2 -- file: DebugMenuVehicle.lua line # 30 | MOD: 调试菜单(DebugMenu)B42 function: onRightMouseUp -- file: DebugMenuCore.lua line # 85 | MOD: 调试菜单(DebugMenu)B42 java.lang.RuntimeException: attempted index: addOption of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624) 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.onRightMouseUp(UIElement.java:1919) at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1691) at zombie.ui.UIManager.updateMouseButtons(UIManager.java:861) at zombie.ui.UIManager.update(UIManager.java:721) at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176) at zombie.GameWindow.logic(GameWindow.java:324) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76) at zombie.GameWindow.frameStep(GameWindow.java:909) at zombie.GameWindow.run_ez(GameWindow.java:802) at zombie.GameWindow.mainThread(GameWindow.java:600) at java.base/java.lang.Thread.run(Unknown Source) `

Keep the awesome work, cheers.
Last edited by Rusty #DopeRust; 4 Mar @ 5:44pm
< >
Showing 1-9 of 9 comments
Hey @美国佬们肯开口了吗.

After the update of today(build 42.4.0), i'm getting three errors in the Error Magnifier Mod, they happen when i try to open the generate item tab/window. Until now its the only thing that seems to be bugged. The error's are as follow, they appear by order like i'm gonna post, always the same.

`Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@40813606 function: initList -- file: ISItemGenerateUI.lua line # 43 | MOD: 调试菜单(DebugMenu)B42 function: initialise -- file: ISItemGenerateUI.lua line # 30 | MOD: 调试菜单(DebugMenu)B42 function: _worldObjects -- file: DebugMenuCore.lua line # 41 | MOD: 调试菜单(DebugMenu)B42 function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla `

`attempted index: getModName of non-table: null java.lang.reflect.InvocationTargetException at jdk.internal.reflect.GeneratedMethodAccessor164.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:1633) at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1695) at zombie.ui.UIManager.updateMouseButtons(UIManager.java:869) at zombie.ui.UIManager.update(UIManager.java:728) at zombie.GameWindow.logic(GameWindow.java:332) at zombie.GameWindow.frameStep(GameWindow.java:928) at zombie.GameWindow.run_ez(GameWindow.java:821) at zombie.GameWindow.mainThread(GameWindow.java:619) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoSuchMethodError: 'void zombie.inventory.types.WeaponPart.setMountOn(java.util.ArrayList)' at zombie.scripting.objects.Item.InstanceItem(Item.java:1448) 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:4571) ... 21 more `

`function: initList -- file: ISItemGenerateUI.lua line # 45 | MOD: 调试菜单(DebugMenu)B42 function: initialise -- file: ISItemGenerateUI.lua line # 30 | MOD: 调试菜单(DebugMenu)B42 function: _worldObjects -- file: DebugMenuCore.lua line # 41 | MOD: 调试菜单(DebugMenu)B42 function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla java.lang.RuntimeException: attempted index: getModName of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624) 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:1633) at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1695) at zombie.ui.UIManager.updateMouseButtons(UIManager.java:869) at zombie.ui.UIManager.update(UIManager.java:728) at zombie.GameWindow.logic(GameWindow.java:332) at zombie.GameWindow.frameStep(GameWindow.java:928) at zombie.GameWindow.run_ez(GameWindow.java:821) at zombie.GameWindow.mainThread(GameWindow.java:619) at java.base/java.lang.Thread.run(Unknown Source) `

Thank you from the bottom of my heart for your awesome work, please keep it going, cheers.
TnT4u 5 Mar @ 9:17pm 
I'm also getting errors after the recent update.

STACK TRACE
-----------------------------------------
function: initList -- file: ISItemGenerateUI.lua line # 45 | MOD: ????(DebugMenu)B42
function: initialise -- file: ISItemGenerateUI.lua line # 30 | MOD: ????(DebugMenu)B42
function: _worldObjects -- file: DebugMenuCore.lua line # 41 | MOD: ????(DebugMenu)B42
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla

ERROR: General f:2734, t:1741238117141> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: attempted index: getModName of non-table: null at KahluaThread.tableget(KahluaThread.java:1667).
Stack trace:
se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624)
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:1902)
se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
zombie.ui.UIElement.onMouseUp(UIElement.java:1633)
zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1695)
zombie.ui.UIManager.updateMouseButtons(UIManager.java:869)
zombie.ui.UIManager.update(UIManager.java:728)
zombie.GameWindow.logic(GameWindow.java:332)
zombie.GameWindow.frameStep(GameWindow.java:928)
zombie.GameWindow.run_ez(GameWindow.java:821)
zombie.GameWindow.mainThread(GameWindow.java:619)
java.base/java.lang.Thread.run(Unknown Source)
LOG : General f:2734, t:1741238117141> -----------------------------------------
STACK TRACE
-----------------------------------------
function: initList -- file: ISItemGenerateUI.lua line # 45 | MOD: ????(DebugMenu)B42
function: initialise -- file: ISItemGenerateUI.lua line # 30 | MOD: ????(DebugMenu)B42
function: _worldObjects -- file: DebugMenuCore.lua line # 41 | MOD: ????(DebugMenu)B42
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla
TnT4u 9 Mar @ 6:48pm 
I found a fix for this, see the other discussion.
耄耋  [developer] 26 Mar @ 6:46am 
fixed
@耄耋, working like a charm now, thanks for the update.
@耄耋, hey, while searching for a car, for needed to test the mod i just added, i got this error when typing the name, it goes like this below.

`Callframe at: match function: filterName -- file: ISVehicleGenerateTable.lua line # 246 | MOD: 调试菜单(DebugMenu)B42 function: onFilterChange -- file: ISVehicleGenerateTable.lua line # 216 | MOD: 调试菜单(DebugMenu)B42 java.lang.RuntimeException: unfinished capture at se.krka.kahlua.stdlib.StringLib.push_onecapture(StringLib.java:979) at se.krka.kahlua.stdlib.StringLib.push_captures(StringLib.java:997) at se.krka.kahlua.stdlib.StringLib.findAux(StringLib.java:1058) at se.krka.kahlua.stdlib.StringLib.call(StringLib.java:126) at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1076) 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:896) at zombie.ui.UITextBox2.onKeyBack(UITextBox2.java:1278) at zombie.core.Core.updateKeyboardAux(Core.java:2636) at zombie.core.Core.updateKeyboard(Core.java:2717) at zombie.core.Core.DoFrameReady(Core.java:3733) at zombie.GameWindow.frameStep(GameWindow.java:961) at zombie.GameWindow.run_ez(GameWindow.java:821) at zombie.GameWindow.mainThread(GameWindow.java:619) at java.base/java.lang.Thread.run(Unknown Source) `

Hope this is easy to fix.

Any more info needed, please let me know.

Keep the awesome work, this tool has been awesome for me, to test the mods.

Cheers.
yayie 26 Jun @ 12:59am 
I can't reproduce this particular bug.

My game right now have infinite Endurance.

The only settings I activate is "No Load Mode", even I deactivate "No Load Mode", I still get infinite Endurance. This bug triggers few days into the game, on the first couple of days, everything seems normal.

I didn't activate the "no loss of stamina", all settings are disable and my Endurance still infinite.

Deactivate the mod itself seems to work, I loss some Endurance when chopping trees for example. But if I load the game back with the mod, Endurance goes infinite.

Other status are fine, Fatigue, Hunger, Thirst, Health.
Last edited by yayie; 26 Jun @ 1:02am
Quilava 3 Jul @ 2:04am 
I have this error pop up since 42.9, it only show up 1 time when i start a new game, after that it wont appear anymore even if i start a new game again, only if i quit the game then go back in and a start new game

So far it doesnt break the game or anything, but i hope you can patch it up incase it became an issue later, here the log (funny it doesnt have much line in it, other error log i captured before have a lot in it)

`Callframe at: addRole
function: TestFunction -- file: CodePatch.lua line # 2 | MOD: 调试菜单(DebugMenu)B42
`
Powietrze 15 Jul @ 12:19pm 
spawn list basements not working
< >
Showing 1-9 of 9 comments
Per page: 1530 50