Project Zomboid

Project Zomboid

[B42] WaterPipes (Irrigation Pipes)
error
function: buildClusterWater -- file: WaterPipe.lua line # 475 | MOD: [B42] Drip Irrigation
function: updatePipes -- file: WaterPipe.lua line # 690 | MOD: [B42] Drip Irrigation

ERROR: General f:143363, t:1736761028200> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: attempted index: getAmount 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.pcallvoid(KahluaThread.java:1790)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:81)
zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:281)
zombie.GameTime.update(GameTime.java:751)
zombie.gameStates.IngameState.UpdateStuff(IngameState.java:600)
zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
zombie.gameStates.IngameState.updateInternal(IngameState.java:1774)
zombie.gameStates.IngameState.update(IngameState.java:1443)
zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
zombie.GameWindow.logic(GameWindow.java:372)
zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
zombie.GameWindow.frameStep(GameWindow.java:917)
zombie.GameWindow.run_ez(GameWindow.java:810)
zombie.GameWindow.mainThread(GameWindow.java:610)
java.base/java.lang.Thread.run(Unknown Source)
< >
Showing 1-7 of 7 comments
PrDatur  [developer] 13 Jan @ 1:50am 
Thanks, I put a check around that. Should be fixed. If not, please tell me the steps to reproduce this error.
Sari-n 13 Jan @ 1:37pm 
Getting similar

Reproduce steps, put irrigation lines from a rain barrel to crops (from the rain barrel with the trash bag), Fill rain barrel with water, The pipes then dissapear (closest to the barrel where connected) and this error pops up

`attempted index: pipes of non-table: null
function: loadPipe -- file: WaterPipe.lua line # 101 | MOD: [B42] Drip Irrigation
function: LoadGridsquare -- file: WaterPipe.lua line # 127 | MOD: [B42] Drip Irrigation
java.lang.RuntimeException: attempted index: pipes of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:479)
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:81)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:315)
at zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:4021)
at zombie.iso.IsoChunkMap.processAllLoadGridSquare(IsoChunkMap.java:192)
at zombie.gameStates.IngameState.enter(IngameState.java:780)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:372)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
at zombie.GameWindow.frameStep(GameWindow.java:917)
at zombie.GameWindow.run_ez(GameWindow.java:810)
at zombie.GameWindow.mainThread(GameWindow.java:610)
at java.base/java.lang.Thread.run(Unknown Source)
`
Rachel L 14 Jan @ 3:40pm 
Having this error when i spawn or i go a certain distance of the pipes:

`attempted index: pipes of non-table: null
function: loadPipe -- file: WaterPipe.lua line # 101 | MOD: [B42] Drip Irrigation
function: LoadGridsquare -- file: WaterPipe.lua line # 127 | MOD: [B42] Drip Irrigation
java.lang.RuntimeException: attempted index: pipes of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:479)
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:81)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:315)
at zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:4021)
at zombie.iso.IsoChunkMap.processAllLoadGridSquare(IsoChunkMap.java:192)
at zombie.gameStates.IngameState.enter(IngameState.java:780)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:372)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
at zombie.GameWindow.frameStep(GameWindow.java:917)
at zombie.GameWindow.run_ez(GameWindow.java:810)
at zombie.GameWindow.mainThread(GameWindow.java:610)
at java.base/java.lang.Thread.run(Unknown Source)
`
Fenrir 18 Jan @ 11:08am 
Game crashed today and cost me one and a half hours of progress.
Error message:

function: LoadGridsquare -- file: WaterPipe.lua line # 127 | MOD: [B42] Drip Irrigation.
[18-01-25 19:55:18.040] ERROR: General f:1680034, t:1737226518040> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: attempted index: pipes 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:479)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:81)
zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:315)
zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:4021)
zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
zombie.iso.IsoChunkMap.updateInternal(IsoChunkMap.java:243)
zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:102)
zombie.iso.IsoChunkMap.update(IsoChunkMap.java:204)
zombie.iso.IsoCell.updateInternal(IsoCell.java:5936)
zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:102)
zombie.iso.IsoCell.update(IsoCell.java:5897)
zombie.iso.IsoWorld.updateWorld(IsoWorld.java:3893)
zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3993)
zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:102)
zombie.iso.IsoWorld.update(IsoWorld.java:3917)
zombie.gameStates.IngameState.updateInternal(IngameState.java:1750)
zombie.gameStates.IngameState.update(IngameState.java:1443)
zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
zombie.GameWindow.logic(GameWindow.java:372)
zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
zombie.GameWindow.frameStep(GameWindow.java:917)
zombie.GameWindow.run_ez(GameWindow.java:810)
zombie.GameWindow.mainThread(GameWindow.java:610)
java.base/java.lang.Thread.run(Unknown Source)
izza 18 Jan @ 6:24pm 
`attempted index: pipes of non-table: null
function: loadPipe -- file: WaterPipe.lua line # 101 | MOD: [B42] Drip Irrigation
function: LoadGridsquare -- file: WaterPipe.lua line # 127 | MOD: [B42] Drip Irrigation
java.lang.RuntimeException: attempted index: pipes of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:479)
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:81)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:315)
at zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:4021)
at zombie.iso.IsoChunkMap.processAllLoadGridSquare(IsoChunkMap.java:192)
at zombie.gameStates.IngameState.enter(IngameState.java:780)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:372)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
at zombie.GameWindow.frameStep(GameWindow.java:917)
at zombie.GameWindow.run_ez(GameWindow.java:810)
at zombie.GameWindow.mainThread(GameWindow.java:610)
at java.base/java.lang.Thread.run(Unknown Source)
`
pptvirus 25 Jan @ 7:37pm 
so delete pipes desapear item

function: pipeRemove -- file: zpipe.lua line # 196 | MOD: [B42] Drip Irrigation
function: pipeRemoveTile -- file: zpipe.lua line # 176 | MOD: [B42] Drip Irrigation
function: onPickUp -- file: zpipe.lua line # 223 | MOD: [B42] Drip Irrigation
function: perform -- file: removePipeAction.lua line # 43 | MOD: [B42] Drip Irrigation.
[25-01-25 22:32:19.312] LOG : Lua f:194003, t:1737862339312> ISTimedActionQueue:tick: bugged action, cleared queue removePipeAction.


I was looking and it's replacing the text
Water Pipe.modData.waterPipes.pipes by WaterPipe.pipes
and WaterPipe.modData.WaterPipes.player by WaterPipe.player
in the zpipe.lua file
Last edited by pptvirus; 25 Jan @ 9:03pm
Meyar 23 Mar @ 8:11am 
Error I'm getting on my end

`attempted index: pipes of non-table: null
function: loadPipe -- file: WaterPipe.lua line # 101 | MOD: [B42] Drip Irrigation
function: LoadGridsquare -- file: WaterPipe.lua line # 127 | MOD: [B42] Drip Irrigation
java.lang.RuntimeException: attempted index: pipes of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:479)
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.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:5003)
at zombie.iso.IsoChunkMap.processAllLoadGridSquare(IsoChunkMap.java:193)
at zombie.gameStates.IngameState.enter(IngameState.java:836)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:388)
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)
`
< >
Showing 1-7 of 7 comments
Per page: 1530 50