Project Zomboid

Project Zomboid

For Science!
Poltergeist 4 Oct, 2022 @ 11:15am
ERROR
-----------------------------------------
STACK TRACE
-----------------------------------------
function: tinkerContextMenu -- file: ISForScience.lua line # 66 | MOD: For Science!
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@a9c04bae
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1532 | Vanilla
function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla
function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla
function: doRClick -- file: ISObjectClickHandler.lua line # 60 | Vanilla
function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 369 | Vanilla

ERROR: General , 1664906686240> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getObjects of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1664906686240> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getObjects of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
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:1812)
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:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:214)
at zombie.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:228)
at zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:3064)
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:198)
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:79)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
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:1812)
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:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:173)
at zombie.ui.UIManager.update(UIManager.java:931)
at zombie.GameWindow.logic(GameWindow.java:261)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:764)
at zombie.GameWindow.run_ez(GameWindow.java:680)
at zombie.GameWindow.mainThread(GameWindow.java:494)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1664906686244> -----------------------------------------
STACK TRACE
-----------------------------------------

This happens when I am on 2nd floor and right click on the window, only this mod enabled. There's a lot of null squares above ground floor.
< >
Showing 1-6 of 6 comments
Poltergeist 5 Oct, 2022 @ 1:45am 
I also get error from next line, since getSprite() can also be null.
Cosmic  [developer] 11 Oct, 2022 @ 1:20am 
Terribly sorry. I never got a notification about this post.
These errors should be resolved now.
Last edited by Cosmic; 11 Oct, 2022 @ 1:20am
Poltergeist 11 Oct, 2022 @ 1:56pm 
No problem, I wasn't sure if you get a notification.
Tofuman 6 Nov, 2022 @ 10:26pm 
Yeah nevermind I don't think this is yours. My bad sorry.
Last edited by Tofuman; 24 Dec, 2022 @ 2:09am
Cosmic  [developer] 7 Nov, 2022 @ 12:06am 
I don't think this is related to my mod.

This error triggered when a client was removing glass from a wound and one of three things "disappeared", either the person doing the removing, the person getting the glass removed, or the body part being affected.

My mod shouldn't be able to cause this as it doesn't normally have any interaction with removing glass. Maybe another player removed glass from a wounded player while they were practicing bandaging a wound? I don't think that should cause this error though and the error could happen anyways when a player was bandaging themselves normally.

Can you provide any more detail on what was going on when the error occurred?
Last edited by Cosmic; 7 Nov, 2022 @ 12:09am
Tofuman 7 Nov, 2022 @ 12:30am 
hmm, player is grinding first aid by standing on the ground with glass and repeatedly removing the glass with tweezer.
< >
Showing 1-6 of 6 comments
Per page: 1530 50