Project Zomboid

Project Zomboid

Apprenticeship! (XP boosts with friends!)
kris00  [developer] 29 Aug @ 6:57pm
Bug Reports
Report any issues you have with our mod or conflicts with other mods here. Please post a detailed description of what you were doing at the time of the crash, alongside a list of loaded mods and the crash log.
< >
Showing 1-2 of 2 comments
Gojita 29 Aug @ 7:01pm 
Context:

- No game-crash, just error notifications.
- Errors pop up right after spawned into the world.
- Load order are below every other skill-related mods.
- Single Player, not sure about MP, was trying to test it on SP first before apply it to my server.


function: AddXP -- file: ApprenticeshipClient.lua line # 58 | MOD: Apprenticeship
Callframe at: AddXPNoMultiplier
function: addTraitToPlayerOnCreation -- file: DeleteOneFix_Workaround.lua line # 64 | MOD: Literacy Skill: A Literature Overhaul

ERROR: General , 1756516966288> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: size of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1756516966288> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: size of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
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.pcallvoid(KahluaThread.java:1812)
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:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:173)
at zombie.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:186)
at zombie.characters.IsoGameCharacter$XP.AddXP(IsoGameCharacter.java:14994)
at zombie.characters.IsoGameCharacter$XP.AddXP(IsoGameCharacter.java:14808)
at zombie.characters.IsoGameCharacter$XP.AddXPNoMultiplier(IsoGameCharacter.java:14817)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:188)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
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.pcallvoid(KahluaThread.java:1812)
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:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:134)
at zombie.gameStates.GameLoadingState.exit(GameLoadingState.java:405)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:105)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1756516966291> -----------------------------------------
STACK TRACE
-----------------------------------------
function: AddXP -- file: ApprenticeshipClient.lua line # 58 | MOD: Apprenticeship
Callframe at: AddXPNoMultiplier
function: addTraitToPlayerOnCreation -- file: DeleteOneFix_Workaround.lua line # 64 | MOD: Literacy Skill: A Literature Overhaul
Last edited by Gojita; 29 Aug @ 7:13pm
kris00  [developer] 29 Aug @ 7:22pm 
Hey Gojita, thank you for your bug report.

After extensive testing in both Singleplayer and Multiplayer modes, we were unable to recreate the issue that you're experiencing.

Apprenticeship is not meant to be loading in Singleplayer saves and as such may throw errors upon trying to use the mod in this way.

We loaded the Literature Overhaul with Apprenticeship in multiple loading orders and each time we did, it threw no error. The only time we could get it to throw an error was upon loading it in Solo.

My suggestion would be to try hosting a server and trying to use the mod on there for an extended period. It should work even with the added perks and not crash. You might also consider changing the load order of our mod if that doesn't help, perhaps bringing it closer to the top of your load order.

Thanks!
< >
Showing 1-2 of 2 comments
Per page: 1530 50