Project Zomboid

Project Zomboid

Dynamic Traits and Expanded Moodles [B41 & B42]
Luckzifer 2022 年 8 月 13 日 下午 10:54
Error report when i take some objects
function: perform -- file: DTByMovingObjects.lua line # 164 | MOD: Dynamic Traits

ERROR: General , 1660452571552> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in perform at KahluaUtil.fail line:82.
ERROR: General , 1660452571552> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: Object tried to call nil in perform
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:973)
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.pcall(KahluaThread.java:1782)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:104)
at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:9712)
at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:130)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:9450)
at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:1942)
at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:130)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
at zombie.characters.IsoPlayer.update(IsoPlayer.java:1923)
at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:79)
at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:145)
at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:2927)
at zombie.iso.IsoCell.updateInternal(IsoCell.java:5722)
at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:130)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
at zombie.iso.IsoCell.update(IsoCell.java:5668)
at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3479)
at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:130)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
at zombie.iso.IsoWorld.update(IsoWorld.java:3407)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1657)
at zombie.gameStates.IngameState.update(IngameState.java:1373)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:297)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:764)
at zombie.GameWindow.run_ez(GameWindow.java:666)
at zombie.GameWindow.mainThread(GameWindow.java:494)
at java.base/java.lang.Thread.run(Unknown Source)
< >
正在显示第 1 - 8 条,共 8 条留言
PepperCat  [开发者] 2022 年 8 月 14 日 上午 7:38 
Not sure what would cause this. I have been playing with my modlist (that you can see in the mod itself) and haven't faced that. I'm sure that's a mod incompatibility.
Luckzifer 2022 年 8 月 14 日 上午 10:14 
引用自 PepperCat
Not sure what would cause this. I have been playing with my modlist (that you can see in the mod itself) and haven't faced that. I'm sure that's a mod incompatibility.

Only happens when i "grab" an object, i make a video

https://youtu.be/6_5MrVpWZtw
PepperCat  [开发者] 2022 年 8 月 14 日 上午 10:53 
Oh... by Grabing through the context menu, didn't test that one. Will test and see what could it be. Thanks for the report.
Slider-Man 2022 年 8 月 20 日 上午 12:59 
I also get the error when i grab something with the context menu

function: perform -- file: DTByMovingObjects.lua line # 164 | MOD: Dynamic Traits.
[20-08-22 02:56:55.170] ERROR: General , 1660982215170> 209,307,942> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in perform at KahluaUtil.fail line:82..
[20-08-22 02:56:55.170] ERROR: General , 1660982215170> 209,307,942> DebugLogStream.printException> Stack trace:.
[20-08-22 02:56:55.173] LOG : General , 1660982215173> 209,307,944> -----------------------------------------
STACK TRACE
-----------------------------------------
function: perform -- file: DTByMovingObjects.lua line # 164 | MOD: Dynamic Traits.
Danny 2022 年 8 月 21 日 上午 10:25 
I have the same error.
Jon 2022 年 8 月 23 日 上午 1:46 
Strangely enough, this seems it might be the cause of some issues in Multiplayer. A friend of mine washes his clothes so frequently, but after a while it seems almost garenteed that it will error while he washes, and then all his clothes just don't render afterwards. In his error log is this same error reported, and something must break down the line for the visual effects, but it appears washing enough clothes at once or just frequently enough can make this bug crop up too.
PepperCat  [开发者] 2022 年 8 月 23 日 上午 5:31 
Hmm nope, that can't be, this function is only in charge of moving objects, texture related things are not even mentioned here. Pretty sure that when the person checked the log them didn't consider the hour, that error may happened during the gameplay and them checked after the session finished.
I haven't fixed this error yet because it is completely low priority (as is not breaking anything so hard) but I'm researching it.
Bleddy 2022 年 8 月 24 日 下午 9:44 
just wanted to throw my bit of information in. i have been receiving the exact same error as described previously, and from testing it does tend to make whatever item the person is grabbing disappear entirely.
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50