Project Zomboid

Project Zomboid

Survivor Journals
 This topic has been pinned, so it's probably important
Darkfighter9090  [developer] 22 Aug @ 2:06pm
Report Bugs
Post any bugs or errors here
< >
Showing 1-8 of 8 comments
marty 22 Aug @ 5:41pm 
Hi, I moved all my other mods out of the workshop folder so Survivor Journals was the only mod installed. This is in version 42.11. I started a new game and this is the errors I'm getting;

Callframe at: get function: Add -- file: PoliceLog_Server.lua line # 74 | MOD: Survivor Journal. [22-08-25 10:54:07.524] ERROR: General f:0, t:1755824047524> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor54.invoke(null:-1).

and

Callframe at: get function: Add -- file: SurvivorJournal_Server.lua line # 229 | MOD: Survivor Journal. [22-08-25 10:54:07.525] ERROR: General f:0, t:1755824047525> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor54.invoke(null:-1).

These errors repeat and went up into the hundreds. I can post the whole log if you want.
Last edited by marty; 22 Aug @ 5:41pm
Darkfighter9090  [developer] 22 Aug @ 5:59pm 
Originally posted by marty:
Hi, I moved all my other mods out of the workshop folder so Survivor Journals was the only mod installed. This is in version 42.11. I started a new game and this is the errors I'm getting;

Callframe at: get function: Add -- file: PoliceLog_Server.lua line # 74 | MOD: Survivor Journal. [22-08-25 10:54:07.524] ERROR: General f:0, t:1755824047524> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor54.invoke(null:-1).

and

Callframe at: get function: Add -- file: SurvivorJournal_Server.lua line # 229 | MOD: Survivor Journal. [22-08-25 10:54:07.525] ERROR: General f:0, t:1755824047525> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor54.invoke(null:-1).

These errors repeat and went up into the hundreds. I can post the whole log if you want.


Thank you for the log. I'm looking into resolving the issue.
Darkfighter9090  [developer] 24 Aug @ 6:53am 
I looked into the errors, it should be fixed in the next update.
marty 25 Aug @ 11:31pm 
Thanks, I look forward to it!
attempted index: inventory of non-table: null

LOG : General f:0, t:1757168072182> -----------------------------------------
STACK TRACE
-----------------------------------------
function: preDistributionMerge_SurvivorJournal -- file: SurvivorJournalSpawns.lua line # 66 | MOD: Survivor Journal

ERROR: General f:0, t:1757168072184> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: attempted index: inventory of non-table: null at KahluaThread.tableget(KahluaThread.java:1530).
Fixed it with this .......................
-- Police zombies
if SuburbsDistributions["Police"] and SuburbsDistributions["Police"]["inventory"] then
table.insert(SuburbsDistributions["Police"]["inventory"].items, "Base.SurvivorJournal")
table.insert(SuburbsDistributions["Police"]["inventory"].items, 5)
table.insert(SuburbsDistributions["Police"]["inventory"].items, "Base.SJPoliceLog")
table.insert(SuburbsDistributions["Police"]["inventory"].items, 10)
end

-- Nurse zombies
if SuburbsDistributions["Nurse"] and SuburbsDistributions["Nurse"]["inventory"] then
table.insert(SuburbsDistributions["Nurse"]["inventory"].items, "Base.SurvivorJournal")
table.insert(SuburbsDistributions["Nurse"]["inventory"].items, 6)
end

-- Fire officer zombies
if SuburbsDistributions["Fireman"] and SuburbsDistributions["Fireman"]["inventory"] then
table.insert(SuburbsDistributions["Fireman"]["inventory"].items, "Base.SurvivorJournal")
table.insert(SuburbsDistributions["Fireman"]["inventory"].items, 4)
end

-- Construction worker zombies
if SuburbsDistributions["ConstructionWorker"] and SuburbsDistributions["ConstructionWorker"]["inventory"]then
table.insert(SuburbsDistributions["ConstructionWorker"]["inventory"].items, "Base.SurvivorJournal")
table.insert(SuburbsDistributions["ConstructionWorker"]["inventory"].items, 2)
end

-- Park ranger zombies
if SuburbsDistributions["ParkRanger"] and SuburbsDistributions["ParkRanger"]["inventory"]then
table.insert(SuburbsDistributions["ParkRanger"]["inventory"].items, "Base.SurvivorJournal")
table.insert(SuburbsDistributions["ParkRanger"]["inventory"].items, 3)
end
On entering game:

[08-09-25 16:15:55.158] LOG : General f:0, t:1757340955158> -----------------------------------------
STACK TRACE
-----------------------------------------
function: preDistributionMerge_SurvivorJournal -- file: SurvivorJournalSpawns.lua line # 66 | MOD: Survivor Journal.
[08-09-25 16:15:55.159] ERROR: General f:0, t:1757340955159> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: attempted index: inventory of non-table: null at KahluaThread.tableget(KahluaThread.java:1530).
Stack trace:
se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1530)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:403)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:72)
zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:281)
zombie.iso.IsoWorld.init(IsoWorld.java:2584)
zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:335)
zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:287)
java.base/java.lang.Thread.run(Unknown Source)
Got this error on attempting to start a save with this mod.

`attempted index: inventory of non-table: null
function: preDistributionMerge_SurvivorJournal -- file: SurvivorJournalSpawns.lua line # 66 | MOD: Survivor Journal
java.lang.RuntimeException: attempted index: inventory of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1530)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:403)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
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:281)
at zombie.iso.IsoWorld.init(IsoWorld.java:2589)
at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:335)
at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:287)
at java.base/java.lang.Thread.run(Unknown Source)
`
< >
Showing 1-8 of 8 comments
Per page: 1530 50