Project Zomboid

Project Zomboid

[B41] Fishing+
Valkerion™ 10 Dec, 2023 @ 1:53pm
Error when fishing and then can't move
`attempted index: name of non-table: null
function: getFish -- file: FishingPlus.lua line # 231 | MOD: Fishing+
function: perform -- file: ISFishingAction.lua line # 138 | Vanilla
function: perform -- file: FishingPlus.lua line # 58 | MOD: Fishing+
java.lang.RuntimeException: attempted index: name of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
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:9726)
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:9464)
at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:1943)
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:1924)
at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:79)
at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:145)
at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:2955)
at zombie.iso.IsoCell.updateInternal(IsoCell.java:5750)
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:5696)
at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3499)
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:3427)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1617)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
< >
Showing 1-6 of 6 comments
Dragon_7 22 Dec, 2023 @ 4:06pm 
I got the same error, seems to have something to do with the ISFishingAction being bugged. I sped up the fishing action using the in-game speed up time in the top right and got it using the speed just before the clock symbol. I tried to get out by crouching and crawling (from a mod) to overwrite the frozen animation but to no avail.

Since I'm using Cheat Menu: Rebirth I spawned a zombie next to me and his attack animation overwrote the frozen one so I able to walk around and kill him, and everything was back to normal.

Tested it a bit more but I wasn't able to get frozen in place again from the fishing action, so I'm not sure if it was something to do with catching a specific fish or item, or the loss of a tackle / bait (I was using an orange tackle and normal fishing rod when it originally happened), or a keyboard input / mouse input / camera movement.


LOG : General , 1703287626466> -----------------------------------------
STACK TRACE
-----------------------------------------
function: getFish -- file: FishingPlus.lua line # 231 | MOD: Fishing+
function: perform -- file: FishingPlus.lua line # 90 | MOD: Fishing+

ERROR: General , 1703287626467> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: name of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1703287626467> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: name of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
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:9726)
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:9464)
at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:1943)
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:1924)
at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:79)
at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:145)
at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:2955)
at zombie.iso.IsoCell.updateInternal(IsoCell.java:5750)
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:5696)
at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3499)
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:3427)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1617)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1703287626475> -----------------------------------------
STACK TRACE
-----------------------------------------
function: getFish -- file: FishingPlus.lua line # 231 | MOD: Fishing+
function: perform -- file: FishingPlus.lua line # 90 | MOD: Fishing+

LOG : General , 1703287626481> bugged action, cleared queue ISFishingAction
LOG : General , 1703287626620> [Amputation] Firearm sound volume: 1
LOG : General , 1703287626621> [Amputation] Firearm sound radius: 6
LOG : General , 1703287626621> [Amputation] Firearm sound: LargeCrossbowFire
LOG : General , 1703287643138> popup: table 0x600764719 2
RaptorMother 15 Jan, 2024 @ 1:40am 
can confirm the same error happening. I thought at first it was related to having actions happen faster (as from cheat "complete actions immediately" or from trait Fast Worker), but even without those things, the same thing keeps happening. Upon the end of the fishing action, the character will be stuck in place unable to move or do anything except turn around
MassCraxx  [developer] 2 Apr, 2024 @ 10:53am 
Hmm, I am not sure what caused this, I was not able to reproduce it, but the newest update should fix the crash for now and simply give out UnusableWood in this border case. Please confirm if this is working for you.
Will look further into it in the future.
Last edited by MassCraxx; 2 Apr, 2024 @ 11:01am
MassCraxx  [developer] 4 Apr, 2024 @ 2:24pm 
Played around and could find no way of reproducing this. If the error persists, please share your log located in your User/Zomboid folder.
Mr. J Soda 2 Jul, 2024 @ 10:57pm 
function: getSizeFromRoll -- file: FishingPlus.lua line # 455 | MOD: Fishing+
function: createFish -- file: FishingPlus.lua line # 373 | MOD: Fishing+
function: createFish -- file: isfishing.lua line # 3 | MOD: Customizable Weight Multiplier Fish
function: getFish -- file: FishingPlus.lua line # 252 | MOD: Fishing+
function: perform -- file: FishingPlus.lua line # 90 | MOD: Fishing+.
[03-07-24 01:49:32.284] ERROR: General , 1719985772284> 2,805,417,351> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: 1.0 of non-table: null at KahluaThread.tableget line:1689..
[03-07-24 01:49:32.284] ERROR: General , 1719985772284> 2,805,417,351> DebugLogStream.printException> Stack trace:.
[03-07-24 01:49:32.286] LOG : General , 1719985772286> 2,805,417,353> -----------------------------------------
STACK TRACE

Got this error as well, looks like it might have something to do with the weight of the wish when using mods that adjust weight like Customizable Weight Multiplier
MassCraxx  [developer] 7 Aug, 2024 @ 9:55am 
Hi Mr. J Soda. What you encounter is not at all the same error previous people did encounter. I was able to reproduce it by also using the Customizable Weight Multiplier mod.

Turns out that mod overrides the same methods as this mod, so it is not at all compatible unfortunately. This is not a bug on Fishing+ side.
< >
Showing 1-6 of 6 comments
Per page: 1530 50