Project Zomboid

Project Zomboid

STALKER - Sunrise Suit
KodeMan Jun 1, 2022 @ 4:37pm
Stack Trace
A player on our server sent me his log after receiving errors just now.


SEVERE: Error found in LUA file: C:/Program Files (x86)/Steam/steamapps/workshop/content/108600/2766223413/mods/SunriseSuit/media/lua/Server/Items/SUN_Distributions.lua
ERROR: General , 1654126255900> ExceptionLogger.logException> Exception thrown se.krka.kahlua.vm.KahluaException: SUN_Distributions.lua:6: '<name>' expected near `[` at LexState.lexerror line:278.
ERROR: General , 1654126255900> DebugLogStream.printException> Stack trace:
se.krka.kahlua.vm.KahluaException: SUN_Distributions.lua:6: '<name>' expected near `[`
at org.luaj.kahluafork.compiler.LexState.lexerror(LexState.java:278)
at org.luaj.kahluafork.compiler.LexState.syntaxerror(LexState.java:289)
at org.luaj.kahluafork.compiler.LexState.error_expected(LexState.java:683)
at org.luaj.kahluafork.compiler.LexState.check(LexState.java:696)
at org.luaj.kahluafork.compiler.LexState.str_checkname(LexState.java:724)
at org.luaj.kahluafork.compiler.LexState.checkname(LexState.java:735)
at org.luaj.kahluafork.compiler.LexState.field(LexState.java:876)
at org.luaj.kahluafork.compiler.LexState.primaryexp(LexState.java:1134)
at org.luaj.kahluafork.compiler.LexState.simpleexp(LexState.java:1211)
at org.luaj.kahluafork.compiler.LexState.subexpr(LexState.java:1303)
at org.luaj.kahluafork.compiler.LexState.expr(LexState.java:1321)
at org.luaj.kahluafork.compiler.LexState.explist1(LexState.java:1036)
at org.luaj.kahluafork.compiler.LexState.funcargs(LexState.java:1059)
at org.luaj.kahluafork.compiler.LexState.primaryexp(LexState.java:1156)
at org.luaj.kahluafork.compiler.LexState.exprstat(LexState.java:1691)
at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1779)
at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1790)
at org.luaj.kahluafork.compiler.LexState.compile(LexState.java:198)
at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:132)
at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:124)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:537)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:501)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:487)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:334)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:261)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:91)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
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:680)
at zombie.GameWindow.mainThread(GameWindow.java:494)
at java.base/java.lang.Thread.run(Unknown Source)
< >
Showing 1-2 of 2 comments
Kyne's Peace  [developer] Jun 2, 2022 @ 2:58pm 
Originally posted by KodeMan:
A player on our server sent me his log after receiving errors just now.


SEVERE: Error found in LUA file: C:/Program Files (x86)/Steam/steamapps/workshop/content/108600/2766223413/mods/SunriseSuit/media/lua/Server/Items/SUN_Distributions.lua
ERROR: General , 1654126255900> ExceptionLogger.logException> Exception thrown se.krka.kahlua.vm.KahluaException: SUN_Distributions.lua:6: '<name>' expected near `[` at LexState.lexerror line:278.
ERROR: General , 1654126255900> DebugLogStream.printException> Stack trace:
se.krka.kahlua.vm.KahluaException: SUN_Distributions.lua:6: '<name>' expected near `[`
at org.luaj.kahluafork.compiler.LexState.lexerror(LexState.java:278)
at org.luaj.kahluafork.compiler.LexState.syntaxerror(LexState.java:289)
at org.luaj.kahluafork.compiler.LexState.error_expected(LexState.java:683)
at org.luaj.kahluafork.compiler.LexState.check(LexState.java:696)
at org.luaj.kahluafork.compiler.LexState.str_checkname(LexState.java:724)
at org.luaj.kahluafork.compiler.LexState.checkname(LexState.java:735)
at org.luaj.kahluafork.compiler.LexState.field(LexState.java:876)
at org.luaj.kahluafork.compiler.LexState.primaryexp(LexState.java:1134)
at org.luaj.kahluafork.compiler.LexState.simpleexp(LexState.java:1211)
at org.luaj.kahluafork.compiler.LexState.subexpr(LexState.java:1303)
at org.luaj.kahluafork.compiler.LexState.expr(LexState.java:1321)
at org.luaj.kahluafork.compiler.LexState.explist1(LexState.java:1036)
at org.luaj.kahluafork.compiler.LexState.funcargs(LexState.java:1059)
at org.luaj.kahluafork.compiler.LexState.primaryexp(LexState.java:1156)
at org.luaj.kahluafork.compiler.LexState.exprstat(LexState.java:1691)
at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1779)
at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1790)
at org.luaj.kahluafork.compiler.LexState.compile(LexState.java:198)
at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:132)
at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:124)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:537)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:501)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:487)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:334)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:261)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:91)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
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:680)
at zombie.GameWindow.mainThread(GameWindow.java:494)
at java.base/java.lang.Thread.run(Unknown Source)

Got it, will try to fix and update tomorrow (in about 12 hours). Thanks!
Kyne's Peace  [developer] Jun 3, 2022 @ 2:18am 
Originally posted by KodeMan:
A player on our server sent me his log after receiving errors just now.


SEVERE: Error found in LUA file: C:/Program Files (x86)/Steam/steamapps/workshop/content/108600/2766223413/mods/SunriseSuit/media/lua/Server/Items/SUN_Distributions.lua
ERROR: General , 1654126255900> ExceptionLogger.logException> Exception thrown se.krka.kahlua.vm.KahluaException: SUN_Distributions.lua:6: '<name>' expected near `[` at LexState.lexerror line:278.
ERROR: General , 1654126255900> DebugLogStream.printException> Stack trace:
se.krka.kahlua.vm.KahluaException: SUN_Distributions.lua:6: '<name>' expected near `[`
at org.luaj.kahluafork.compiler.LexState.lexerror(LexState.java:278)
at org.luaj.kahluafork.compiler.LexState.syntaxerror(LexState.java:289)
at org.luaj.kahluafork.compiler.LexState.error_expected(LexState.java:683)
at org.luaj.kahluafork.compiler.LexState.check(LexState.java:696)
at org.luaj.kahluafork.compiler.LexState.str_checkname(LexState.java:724)
at org.luaj.kahluafork.compiler.LexState.checkname(LexState.java:735)
at org.luaj.kahluafork.compiler.LexState.field(LexState.java:876)
at org.luaj.kahluafork.compiler.LexState.primaryexp(LexState.java:1134)
at org.luaj.kahluafork.compiler.LexState.simpleexp(LexState.java:1211)
at org.luaj.kahluafork.compiler.LexState.subexpr(LexState.java:1303)
at org.luaj.kahluafork.compiler.LexState.expr(LexState.java:1321)
at org.luaj.kahluafork.compiler.LexState.explist1(LexState.java:1036)
at org.luaj.kahluafork.compiler.LexState.funcargs(LexState.java:1059)
at org.luaj.kahluafork.compiler.LexState.primaryexp(LexState.java:1156)
at org.luaj.kahluafork.compiler.LexState.exprstat(LexState.java:1691)
at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1779)
at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1790)
at org.luaj.kahluafork.compiler.LexState.compile(LexState.java:198)
at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:132)
at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:124)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:537)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:501)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:487)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:334)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:261)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:91)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
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:680)
at zombie.GameWindow.mainThread(GameWindow.java:494)
at java.base/java.lang.Thread.run(Unknown Source)

This should be now fixed. Please let me know if anything similar happens again! Thanks!
< >
Showing 1-2 of 2 comments
Per page: 1530 50