Project Zomboid

Project Zomboid

need some help pointing out which mod is crashing my game
cant figure out if its a mod or if my game files are just cooked

but i have this issue where i constantly crash when walking about 80 squares away from spawn and the only error i get that repeats itself in the log is as follows



ERROR: General f:0> IsoChunk.doLoadGridsquare> Exception thrown
java.lang.NullPointerException: Cannot invoke "zombie.inventory.InventoryItem.setAlcoholPower(float)" because "item" is null at Item.InstanceItem(Item.java:1849).
Stack trace:
zombie.scripting.objects.Item.InstanceItem(Item.java:1849)
zombie.inventory.InventoryItemFactory.createItemInternal(InventoryItemFactory.java:126)
zombie.inventory.InventoryItemFactory.CreateItem(InventoryItemFactory.java:78)
zombie.inventory.InventoryItemFactory.CreateItem(InventoryItemFactory.java:58)
zombie.inventory.InventoryItemFactory.CreateItem(InventoryItemFactory.java:33)
zombie.inventory.ItemSpawner.spawnItem(ItemSpawner.java:241)
zombie.inventory.ItemPickerJava.tryAddItemToContainer(ItemPickerJava.java:1027)
zombie.inventory.ItemPickerJava.doRollItemInternal(ItemPickerJava.java:1302)
zombie.inventory.ItemPickerJava.doRollItemInternal(ItemPickerJava.java:1243)
zombie.inventory.ItemPickerJava.rollProceduralItemInternal(ItemPickerJava.java:1163)
zombie.inventory.ItemPickerJava.rollItemInternal(ItemPickerJava.java:1223)
zombie.inventory.ItemPickerJava.fillContainerTypeInternal(ItemPickerJava.java:996)
zombie.inventory.ItemPickerJava.fillContainerInternal(ItemPickerJava.java:960)
zombie.inventory.ItemPickerJava.fillContainer(ItemPickerJava.java:839)
zombie.LoadGridsquarePerformanceWorkaround$ItemPicker.checkObject(LoadGridsquarePerformanceWorkaround.java:69)
zombie.LoadGridsquarePerformanceWorkaround.LoadGridsquare(LoadGridsquarePerformanceWorkaround.java:34)
zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:3956)
zombie.iso.IsoChunkMap.processAllLoadGridSquare(IsoChunkMap.java:174)
zombie.gameStates.IngameState.enter(IngameState.java:729)
zombie.gameStates.GameStateMachine.update(GameStateMachine.java:95)
zombie.GameWindow.logic(GameWindow.java:389)
zombie.GameWindow.frameStep(GameWindow.java:801)
zombie.GameWindow.mainThreadStep(GameWindow.java:579)
zombie.MainThread.mainLoop(MainThread.java:69)
java.base/java.lang.Thread.run(Unknown Source)
< >
Showing 1-5 of 5 comments
Could be any mod, but might be item related mods. The game seems to be trying to load value to alcohol items but can't because the items in question are missing.

Try scrolling further up on your log file. There could be a clue on what mod it is.
Search for "stack" in the log and look in that general area. It'll usually have the exact mod and file listed.
my only option rn is to literally disable all mods except error log and mod manager and run each mod 1 by 1 till i can figure it out because i have disabled and so far 0 success , also got a new error log involving backpacks despite me having 0 mods that include such items , ty build 42 <3
Mod manager is not needed for B42. You can sort load order in the vanilla game. Also delete the default.txt because any listing it contains, those mods will still load even if you disable them in game.
Maybe it's not mod but missing files instead then. Have you tried verifying file integrity?
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: May 4 @ 6:19pm
Posts: 5