Project Zomboid

Project Zomboid

Manage Containers
 This topic has been pinned, so it's probably important
Jeff  [developer] 13 Nov, 2021 @ 6:35am
Bug Report
If it crash, me bug smash!

Try to describe what you were doing before the problem. If the issue caused a crash, please provide me the following:
1. The crash report
https://steamhost.cn/steamcommunity_com/app/108600/discussions/0/1696049513762410797/
2. The mods.txt file (%USERPROFILE%\Zomboid\Saves\**Game mode**\**SavefileName**\mods.txt)

https://www.file.io/ can be used to send files over.
Last edited by Jeff; 3 Jul, 2022 @ 8:35am
< >
Showing 1-15 of 186 comments
BeatlJoe 13 Nov, 2021 @ 4:22pm 
STACK TRACE
-----------------------------------------
function: DetectContainers -- file: placeInContainers.lua line # 26
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@8fe26b6c
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 251
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1418.
[14-11-21 00:05:55.676] ERROR: General , 1636844755676> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getModData of non-table: null at KahluaThread.tableget line:1689..
[14-11-21 00:05:55.677] ERROR: General , 1636844755677> DebugLogStream.printException> Stack trace:.
[14-11-21 00:05:55.681] LOG : General , 1636844755681> -----------------------------------------
STACK TRACE
-----------------------------------------
function: DetectContainers -- file: placeInContainers.lua line # 26
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@8fe26b6c
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 251
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1418.




I don't have any "manage container", this error occurred about 30 times. I just moved things between the backpacks on the ground and on my back
Jeff  [developer] 13 Nov, 2021 @ 4:59pm 
Having difficulties recreating your scenario. I've attempted a fix which should be up.

It's possibly a mod conflict but still unsure.

If you encounter the problem again, another paste of the stack trace is appreciated.
Fantasy System 13 Nov, 2021 @ 7:22pm 
I was playing local coop with my friend and i was on a controller, heres my error. it caused the controller controls to not highlight the join menu properly, and i got errors every time i was in a container

https://pastebin.com/vrR3CUPX

heres my full log if that will also be helpful, it seems the error eventually caused a out of memory crash https://drive.google.com/file/d/1RTmRf0BPaMiFAvT2_8hwS3LRPTi5pHT5/view?usp=sharing
Last edited by Fantasy System; 13 Nov, 2021 @ 7:22pm
Jeff  [developer] 13 Nov, 2021 @ 9:28pm 
Originally posted by The Scout:
I was playing local coop with my friend and i was on a controller, heres my error. it caused the controller controls to not highlight the join menu properly, and i got errors every time i was in a container

https://pastebin.com/vrR3CUPX

heres my full log if that will also be helpful, it seems the error eventually caused a out of memory crash https://drive.google.com/file/d/1RTmRf0BPaMiFAvT2_8hwS3LRPTi5pHT5/view?usp=sharing
I've applied a fix for the crash you've been having. In terms of controller support this mod will be restrictive. But if you swap to keyboard/mouse when you manage your inventory it should work. Hope this resolve your issue!
Fantasy System 14 Nov, 2021 @ 1:24am 
Thanks!, sadly i cant actually use a keyboard to control my player 2 inventory since windows has no way to tell apart keyboards or mice. but i can just make my coop partner my inventory management slave
Fantasy System 14 Nov, 2021 @ 1:25am 
il poke arround, and send you any more bugs when/if i find em
Fantasy System 14 Nov, 2021 @ 4:50am 
Got a new error for you. https://pastebin.com/sY7iWdzT
Jeff  [developer] 14 Nov, 2021 @ 6:21am 
Originally posted by The Scout:
Got a new error for you. https://pastebin.com/sY7iWdzT
Starting to feel it's more related to local coop. Since I've overlook this feature when developing the mod, I'll focus today on ensuring the functionability for it :spiffo:
Fantasy System 14 Nov, 2021 @ 6:45am 
Ah nice thanks for being willing to support it. Strangly though that bug is from my playing single player eariler last night. maybe its some sort of mod conflict.

Heres my mod list, https://pastebin.com/QxGKnYzA
and heres my full log from that session. https://drive.google.com/file/d/1MOPl4F8VXnqBDUDjDaJSu2-StuAcjtLF/view?usp=sharing
Last edited by Fantasy System; 14 Nov, 2021 @ 6:47am
co` 14 Nov, 2021 @ 7:38am 
Originally posted by The Scout:
Ah nice thanks for being willing to support it. Strangly though that bug is from my playing single player eariler last night. maybe its some sort of mod conflict.

Heres my mod list, https://pastebin.com/QxGKnYzA
and heres my full log from that session. https://drive.google.com/file/d/1MOPl4F8VXnqBDUDjDaJSu2-StuAcjtLF/view?usp=sharing
Are you able to reproduce the bug when you only have this mod enabled?
BeatlJoe 14 Nov, 2021 @ 10:26am 
Originally posted by BeatlJoe:
STACK TRACE
-----------------------------------------
function: DetectContainers -- file: placeInContainers.lua line # 26
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@8fe26b6c
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 251
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1418.
[14-11-21 00:05:55.676] ERROR: General , 1636844755676> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getModData of non-table: null at KahluaThread.tableget line:1689..
[14-11-21 00:05:55.677] ERROR: General , 1636844755677> DebugLogStream.printException> Stack trace:.
[14-11-21 00:05:55.681] LOG : General , 1636844755681> -----------------------------------------
STACK TRACE
-----------------------------------------
function: DetectContainers -- file: placeInContainers.lua line # 26
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@8fe26b6c
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 251
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1418.




I don't have any "manage container", this error occurred about 30 times. I just moved things between the backpacks on the ground and on my back


The error keeps recurring. Every time I click PMB on a thing in the container and I want to perform an action (eg tear the clothes stored in the container, etc.). I've tried turning off some mods, but I don't have any that affect the containers.

And according to the log, the error moved to line 25. Strange.

function: DetectContainers -- file: placeInContainers.lua line # 25
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@d9716879
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 251
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1418.
Jeff  [developer] 14 Nov, 2021 @ 11:55am 
Originally posted by The Scout:
Ah nice thanks for being willing to support it. Strangly though that bug is from my playing single player eariler last night. maybe its some sort of mod conflict.

Heres my mod list, https://pastebin.com/QxGKnYzA
and heres my full log from that session. https://drive.google.com/file/d/1MOPl4F8VXnqBDUDjDaJSu2-StuAcjtLF/view?usp=sharing

To test with your mod list, it would be easier if it was a mod collection. I want to help you, but manually finding and subscribing that long list of mods sounds unappealing lol
Jeff  [developer] 14 Nov, 2021 @ 5:07pm 
Originally posted by The Scout:
Ah nice thanks for being willing to support it. Strangly though that bug is from my playing single player eariler last night. maybe its some sort of mod conflict.

Heres my mod list, https://pastebin.com/QxGKnYzA
and heres my full log from that session. https://drive.google.com/file/d/1MOPl4F8VXnqBDUDjDaJSu2-StuAcjtLF/view?usp=sharing

I've added a basic gamepad support that allows selecting the categories and transferring all valid items by holding right trigger + Transfer All
Jeff  [developer] 14 Nov, 2021 @ 5:23pm 
Originally posted by BeatlJoe:
Originally posted by BeatlJoe:
STACK TRACE
-----------------------------------------
function: DetectContainers -- file: placeInContainers.lua line # 26
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@8fe26b6c
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 251
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1418.
[14-11-21 00:05:55.676] ERROR: General , 1636844755676> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getModData of non-table: null at KahluaThread.tableget line:1689..
[14-11-21 00:05:55.677] ERROR: General , 1636844755677> DebugLogStream.printException> Stack trace:.
[14-11-21 00:05:55.681] LOG : General , 1636844755681> -----------------------------------------
STACK TRACE
-----------------------------------------
function: DetectContainers -- file: placeInContainers.lua line # 26
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@8fe26b6c
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 251
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1418.




I don't have any "manage container", this error occurred about 30 times. I just moved things between the backpacks on the ground and on my back


The error keeps recurring. Every time I click PMB on a thing in the container and I want to perform an action (eg tear the clothes stored in the container, etc.). I've tried turning off some mods, but I don't have any that affect the containers.

And according to the log, the error moved to line 25. Strange.

function: DetectContainers -- file: placeInContainers.lua line # 25
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@d9716879
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 251
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1418.

I've applied a fix based on the error report but not on a scenario that I can reproduce unfortunately.

It's normal that the error moved line because I've added more code in that file.

I started a new world and right clicked on items in a container without an issue.

Cross fingers that this resolved the issue!
Fantasy System 14 Nov, 2021 @ 6:00pm 
Originally posted by Jeff:
To test with your mod list, it would be easier if it was a mod collection. I want to help you, but manually finding and subscribing that long list of mods sounds unappealing lol

Heres that collection, sorry my sleep schedule is so strange. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2655153461

and heres my mod presets file, so you can apply the two lists easily https://drive.google.com/file/d/1OCa0FxzOtodllSVd-7zU4IAd-kqLtdSv/view?usp=sharing
< >
Showing 1-15 of 186 comments
Per page: 1530 50