Project Zomboid

Project Zomboid

Daily Report Journal (Statistics & XP Gains)
Error message
`attempted index: skill of non-table: null
function: EveryDays -- file: dailyStatisticsAndGains.lua line # 1090 | MOD: Daily Report Journal (Statistics & XP Gains)
java.lang.RuntimeException: attempted index: skill 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:281)
at zombie.GameTime.update(GameTime.java:700)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:600)
at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1774)
at zombie.gameStates.IngameState.update(IngameState.java:1443)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:377)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
at zombie.GameWindow.frameStep(GameWindow.java:924)
at zombie.GameWindow.run_ez(GameWindow.java:817)
at zombie.GameWindow.mainThread(GameWindow.java:615)
at java.base/java.lang.Thread.run(Unknown Source)
`
idk why it do but, this happend in my errorReporter
< >
Showing 1-7 of 7 comments
DANi  [developer] 8 Feb @ 11:14pm 
Hi, thanks for letting me know. Did you continue a older save with the new mod update or was that on a new save on B42/41? Did the report show correctly or was there missing data?
Bobitec 9 Feb @ 3:54am 
i think the error pop when the clock display midnight but my character is not sleeping.
and it happend in my current game but the mod was here from the start...
DANi  [developer] 9 Feb @ 8:12am 
I'll test it again with the old version going past midnight, then switching to new version and going past midnight again. Maybe I can reproduce the error.
Bobitec 9 Feb @ 5:43pm 
and apparently, the last report is Day 16... what ever survive i do (in my game currently 2 months) the last reported day is the 16th ...
Ullatec 19 Feb @ 10:32am 
Yup, im getting a error like that myself right now at midnight when showing the daily stats.

It shows day 3 and im on like day 15 or so with my world.

I did die earlier and started a new character in that world on like day 5.

`attempted index: skill of non-table: null
function: EveryDays -- file: dailyStatisticsAndGains.lua line # 1182 | MOD: Daily Report Journal (Statistics & XP Gains)
java.lang.RuntimeException: attempted index: skill 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:281)
at zombie.GameTime.update(GameTime.java:622)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:652)
at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1633)
at zombie.gameStates.IngameState.update(IngameState.java:1361)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:377)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
at zombie.GameWindow.frameStep(GameWindow.java:909)
at zombie.GameWindow.run_ez(GameWindow.java:802)
at zombie.GameWindow.mainThread(GameWindow.java:600)
at java.base/java.lang.Thread.run(Unknown Source)
`
DANi  [developer] 24 Feb @ 1:37am 
Originally posted by Ullatec:
Yup, im getting a error like that myself right now at midnight when showing the daily stats.

It shows day 3 and im on like day 15 or so with my world.

I did die earlier and started a new character in that world on like day 5.

`attempted index: skill of non-table: null
function: EveryDays -- file: dailyStatisticsAndGains.lua line # 1182 | MOD: Daily Report Journal (Statistics & XP Gains)
java.lang.RuntimeException: attempted index: skill of non-table: null`

Hi, are you on b42 or b42, did you add skill mods mid-save, and did you start that save before the 6th of February? Because I think that may happen if the save was started with the earlier version of the mod, and then continued with the updated version.

Anyway, I've never seen this bug and couldn't reproduce it yet in 24 test-saves and 1 proper run. Also some streamers already 1 year in and it's working fine, even if they started the save with the initial mod version. Might be some weird edge-case, maybe if more skills (mods) were added mid-save and the daily report can't find it from previous day (because is wasn't there).
Ullatec 24 Feb @ 10:07am 
Yes, on build 42.3.1 . Started on normal date. The save that i got that on is no longer available due to a rage death/quit/delete lol.

2 things do come to mind tho from what you said. I know the mod was updated once during that that play through, and i have added/removed skills also. Most likely the lifestyle mod and driving skill mod.

Ill try to get some time in today to play and replicate what might have happened. I will do a clean install of this mod just to make sure. Since mods like to not full update without unsubbing and subbing again.

The other thing that could have done that is, i did die, made a new character to continue in that world and used the skill recovery journal mod to get my skills back to where they were at, or close to.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2503622437
< >
Showing 1-7 of 7 comments
Per page: 1530 50