Project Zomboid

Project Zomboid

St. Bernard's Hill
ooga66 26 ENE 2022 a las 9:52
Server Error
Whenever I start my server I get this in the log. I even made one with no other mods and it still showed up. Wanted to see if this was just my server.

26-01-22 19:46:44.376] WARN : Lua , 1643219204375> 27,964,214> LuaManager$GlobalObject.require> require("ISMapDefinitions") failed.
[26-01-22 19:46:44.376] LOG : General , 1643219204376> 27,964,215> -------------------------------------------------------------
attempted index: Init of non-table: null.
[26-01-22 19:46:44.378] LOG : General , 1643219204378> 27,964,217> -----------------------------------------
STACK TRACE
-----------------------------------------
function: StBernardHillMapDefinition.lua -- file: StBernardHillMapDefinition.lua line # 245.
[26-01-22 19:46:44.380] ERROR: General , 1643219204380> 27,964,218> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: Init of non-table: null at KahluaThread.tableget line:1689..
[26-01-22 19:46:44.380] ERROR: General , 1643219204380> 27,964,219> DebugLogStream.printException> Stack trace:.
[26-01-22 19:46:44.385] LOG : General , 1643219204385> 27,964,224> -----------------------------------------
STACK TRACE
-----------------------------------------
function: StBernardHillMapDefinition.lua -- file: StBernardHillMapDefinition.lua line # 245.
< >
Mostrando 1-7 de 7 comentarios
Master Splinter 8 MAR 2022 a las 22:41 
LOG : General , 1646808048225> 2,527,428,637> -----------------------------------------
STACK TRACE
-----------------------------------------
function: StBernardHillMapDefinition.lua -- file: StBernardHillMapDefinition.lua line # 245

ERROR: General , 1646808048226> 2,527,428,638> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: Init of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1646808048226> 2,527,428,639> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: Init 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:76)
at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:554)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:500)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:486)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:333)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:260)
at zombie.network.GameServer.doMinimumInit(GameServer.java:1417)
at zombie.network.GameServer.main(GameServer.java:705)
LOG : General , 1646808048227> 2,527,428,639> -----------------------------------------
STACK TRACE
-----------------------------------------
function: StBernardHillMapDefinition.lua -- file: StBernardHillMapDefinition.lua line # 245
Fantasiado  [desarrollador] 10 MAR 2022 a las 4:05 
yeah uhm i honestly dont know whats up with that one file in specific that causes so many errors, ive tried working on it multiple times now and at the end of the day one of the devs had to help me out on it, even himself doesnt know exactly what happened but aparently its not fixed, so im sorry
ULTRA PATRIOT 10 JUN 2022 a las 6:17 
I don't suppose there's been any workarounds for this since then?
NekoJess 12 MAR 2023 a las 15:51 
Stack trace Error from my coop-console.txt

LOG : Lua , 1678660122117> 13,787,989> Loading: steamapps/workshop/content/108600/2849455153/mods/SpecialEmergencyVehicles/media/lua/server/Items/SpecialEmergencyVehiclesArmordistributions.lua
LOG : Lua , 1678660122118> 13,787,990> Loading: steamapps/workshop/content/108600/2711501222/mods/St. Bernard's hill/media/lua/server/Items/StBernardHillMapDefinition.lua
WARN : Lua , 1678660122120> 13,787,992> LuaManager$GlobalObject.require> require("ISMapDefinitions") failed
LOG : General , 1678660122121> 13,787,993> -------------------------------------------------------------
attempted index: Init of non-table: null

LOG : General , 1678660122126> 13,787,998> -----------------------------------------
STACK TRACE
-----------------------------------------
function: StBernardHillMapDefinition.lua -- file: StBernardHillMapDefinition.lua line # 245 | MOD: ST. Bernard's Hill

ERROR: General , 1678660122129> 13,788,000> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: Init of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1678660122129> 13,788,001> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: Init 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:76)
at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:564)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:510)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:496)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:342)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:264)
at zombie.network.GameServer.doMinimumInit(GameServer.java:1417)
at zombie.network.GameServer.main(GameServer.java:688)
LOG : General , 1678660122130> 13,788,002> -----------------------------------------
STACK TRACE
-----------------------------------------
function: StBernardHillMapDefinition.lua -- file: StBernardHillMapDefinition.lua line # 245 | MOD: ST. Bernard's Hill

Mar 12, 2023 5:28:42 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException
Mar 12, 2023 5:28:42 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException:
Mar 12, 2023 5:28:42 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: at StBernardHillMapDefinition.lua:245

LOG : Lua , 1678660122143> 13,788,015> Loading: steamapps/workshop/content/108600/2711501222/mods/St. Bernard's hill/media/lua/server/Items/StBernardHillProceduralDistributions.lua
LOG : Lua , 1678660122144> 13,788,016> Loading: steamapps/workshop/content/108600/2623855083/mods/SmallTownResponders/media/lua/server/Items/STR_Distributions.lua
LOG : Lua , 1678660122147> 13,788,019> Loading: steamapps/workshop/content/108600/2623855083/mods/SmallTownResponders/media/lua/server/Items/STR_DistributionsRCR.lua
KodeMan 30 NOV 2023 a las 4:20 
Any update on this error? Shows up in our server log also.
KodeMan 30 NOV 2023 a las 10:44 
I simply removed lines 245 - 254 in media\lua\server\Items\StBernardHillMapDefinition.lua in a custom mod and no more stack trace errors. No clue what it actually does but dont really care. 1 less error is a win in my book.

Here's the lines removed in custom patch.

LootMaps.Init.STBernardHillMap = function(mapUI)
local mapAPI = mapUI.javaObject:getAPIv1()
MapUtils.initDirectoryMapData(mapUI, 'media/maps/StBernardshill')
MapUtils.initDefaultStyleV1(mapUI)
replaceWaterStyle(mapUI)
mapAPI:setBoundsInSquares(11487, 11486, 12985, 12395)
overlayPNG(mapUI, 11487, 11486, 0.666, "badge", "media/textures/worldMap/StBernardshillBadge.png")
overlayPNG(mapUI, 11487, 12000, 0.666, "legend", "media/textures/worldMap/Legend.png")
MapUtils.overlayPaper(mapUI)
end
KodeMan 30 NOV 2023 a las 10:48 
From a second look, it simply just overlays an image on the map ui when you enter st bernard
< >
Mostrando 1-7 de 7 comentarios
Por página: 1530 50