Project Zomboid

Project Zomboid

Authentic Z
孙贰 20 Dec, 2023 @ 11:22am
Error reported after mod update
After the update of this mod on December 21, an error occurred when loading the game save. Hoping to get help, thank you!
function: PZ_AZLootDistributions.lua -- file: PZ_AZLootDistributions.lua line # 623 | MOD: Authentic Z - Lite LOG : General , 1703098638078> Object tried to call nil in PZ_AZLootDistributions.lua LOG : General , 1703098638238> [AuthenticZLite] creating new sourcewindow: E:/SteamLibrary/steamapps/workshop/content/108600/2335368829/mods/Authentic Z - Lite/media/lua/server/items/PZ_AZLootDistributions.lua ERROR: General , 1703098714388> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in PZ_AZLootDistributions.lua at KahluaUtil.fail line:82. ERROR: General , 1703098714388> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: Object tried to call nil in PZ_AZLootDistributions.lua at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:973) 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.gameStates.GameLoadingState.enter(GameLoadingState.java:97) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145) 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:681) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source)
Last edited by 孙贰; 21 Dec, 2023 @ 5:37am
< >
Showing 1-12 of 12 comments
KodeMan 20 Dec, 2023 @ 12:40pm 
From our server log. I've already fixed the error by deleting that line in loot distributions file and overriding the file with our mod.

Dec 20 11:27:20 ValhallaCommunity 20-12-23_17-26-31_DebugLog-server.txt STACK TRACE
Dec 20 11:27:20 ValhallaCommunity 20-12-23_17-26-31_DebugLog-server.txt -----------------------------------------
Dec 20 11:27:20 ValhallaCommunity 20-12-23_17-26-31_DebugLog-server.txt function: PZ_AZLootDistributions.lua -- file: PZ_AZLootDistributions.lua line # 623 | MOD: Authentic Z - Lite.
Dec 20 11:27:20 ValhallaCommunity 20-12-23_17-26-31_DebugLog-server.txt [20-12-23 17:27:20.662] ERROR: General , 1703093240662> 365,333,048> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in PZ_AZLootDistributions.lua at KahluaUtil.fail line:82..
Dec 20 11:27:20 ValhallaCommunity 20-12-23_17-26-31_DebugLog-server.txt [20-12-23 17:27:20.662] ERROR: General , 1703093240662> 365,333,048> DebugLogStream.printException> Stack trace:.
Dec 20 11:27:20 ValhallaCommunity 20-12-23_17-26-31_DebugLog-server.txt [20-12-23 17:27:20.663] LOG : General , 1703093240663> 365,333,048> -----------------------------------------
Dec 20 11:27:20 ValhallaCommunity 20-12-23_17-26-31_DebugLog-server.txt STACK TRACE
Dec 20 11:27:20 ValhallaCommunity 20-12-23_17-26-31_DebugLog-server.txt -----------------------------------------
Dec 20 11:27:20 ValhallaCommunity 20-12-23_17-26-31_DebugLog-server.txt function: PZ_AZLootDistributions.lua -- file: PZ_AZLootDistributions.lua line # 623 | MOD: Authentic Z - Lite.
KodeMan 20 Dec, 2023 @ 12:46pm 
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt [20-12-23 20:28:19.683] ERROR: General , 1703104099683> 376,192,068> ExceptionLogger.logException> Exception thrown java.util.concurrent.ExecutionException: zombie.util.PZXmlParserException: Exception thrown while parsing XML file "media/clothing/clothingItems/Belt_AZ.xml"
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt Caused by:
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt java.io.FileNotFoundException: media/clothing/clothingItems/Belt_AZ.xml (No such file or directory) at FutureTask.report. Message: media/clothing/clothingItems/Belt_AZ.xml.
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt [20-12-23 20:28:19.683] ERROR: General , 1703104099683> 376,192,069> DebugLogStream.printException> Stack trace:.
somewhatfrog 20 Dec, 2023 @ 2:19pm 
please use formatting
[code] log [/code]
Last edited by somewhatfrog; 20 Dec, 2023 @ 2:19pm
孙贰 20 Dec, 2023 @ 5:29pm 
Thank you for giving me the idea to solve this problem!
Donald Trump 21 Dec, 2023 @ 12:21am 
Same error
KodeMan 21 Dec, 2023 @ 3:22am 
java.security.InvalidParameterException: Error: Loosen;Stretch is not a valid parameter in item: Fat01_Coveralls.
StrayFox 21 Dec, 2023 @ 3:55pm 
Getting this same error as well, never had this error until today.
Jane Helldiver 21 Dec, 2023 @ 11:55pm 
Just a quick report of my own:

No errors or logs. No distribution errors. No missing map errors.

Tested on my server, spawned in some of the new items. 450 mods and only error I ever get is from the bic pen mod.

Tested in Solo Play. No errors. No logs. No missing map error.

I use the full version of the mode, not LITE, so that may be where the issue may be from.
トミー (Tommy) 22 Dec, 2023 @ 4:21am 
java.io.FileNotFoundException: media\clothing\clothingItems\Belt_AZ.xml (The system cannot find the file specified) at FutureTask.report. Message: media/clothing/clothingItems/Belt_AZ.xml.
KodeMan 22 Dec, 2023 @ 4:26am 
Originally posted by NerdgamerDave:
Just a quick report of my own:

No errors or logs. No distribution errors. No missing map errors.

Tested on my server, spawned in some of the new items. 450 mods and only error I ever get is from the bic pen mod.

Tested in Solo Play. No errors. No logs. No missing map error.

I use the full version of the mode, not LITE, so that may be where the issue may be from.

Yes, it's the LITE version that we're using. These exceptions in server log are horrifying. We have 300+ mods and the only exceptions we're getting in server logs are from this mod..
Authentic Peach  [developer] 22 Dec, 2023 @ 11:04am 
Originally posted by KodeMan:
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt [20-12-23 20:28:19.683] ERROR: General , 1703104099683> 376,192,068> ExceptionLogger.logException> Exception thrown java.util.concurrent.ExecutionException: zombie.util.PZXmlParserException: Exception thrown while parsing XML file "media/clothing/clothingItems/Belt_AZ.xml"
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt Caused by:
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt java.io.FileNotFoundException: media/clothing/clothingItems/Belt_AZ.xml (No such file or directory) at FutureTask.report. Message: media/clothing/clothingItems/Belt_AZ.xml.
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt [20-12-23 20:28:19.683] ERROR: General , 1703104099683> 376,192,069> DebugLogStream.printException> Stack trace:.
I forgot to include a file in the update, this bug will be fixed in the next update coming soon.
KodeMan 25 Dec, 2023 @ 2:54pm 
Originally posted by Authentic Peach:
Originally posted by KodeMan:
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt [20-12-23 20:28:19.683] ERROR: General , 1703104099683> 376,192,068> ExceptionLogger.logException> Exception thrown java.util.concurrent.ExecutionException: zombie.util.PZXmlParserException: Exception thrown while parsing XML file "media/clothing/clothingItems/Belt_AZ.xml"
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt Caused by:
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt java.io.FileNotFoundException: media/clothing/clothingItems/Belt_AZ.xml (No such file or directory) at FutureTask.report. Message: media/clothing/clothingItems/Belt_AZ.xml.
Dec 20 14:28:19 ValhallaCommunity 20-12-23_20-27-58_DebugLog-server.txt [20-12-23 20:28:19.683] ERROR: General , 1703104099683> 376,192,069> DebugLogStream.printException> Stack trace:.
I forgot to include a file in the update, this bug will be fixed in the next update coming soon.

Wondering when can we expect the update? Just so I can remove the override hopefully at the same time the update is pushed.
Last edited by KodeMan; 27 Dec, 2023 @ 3:21pm
< >
Showing 1-12 of 12 comments
Per page: 1530 50