Project Zomboid

Project Zomboid

[B42/B41] Bandits NPC
B42, Consistent Crash around Valley Station Road
Hi there, I recently started a Week One playthrough. I started experiencing a consistent crash around a very specific area, the Valley Station Road strip club. My game was heavily modded, so it took a lot of time to hunt down the mod causing the issue.

After lots of trial and error, I eventually narrowed it down to only running Bandits and experienced the consistent crash in the same area.

The two most common errors I saw in the crash logs were:

[04-10-25 02:27:43.379] ERROR: General f:3761, t:1759534063379> ExceptionLogger.logException> Exception thrown java.lang.NullPointerException: Cannot read field "objects" because "this.def" is null at IsoRoom.hasLightSwitches(IsoRoom.java:770). Stack trace: zombie.iso.areas.IsoRoom.hasLightSwitches(IsoRoom.java:770) zombie.iso.objects.IsoLightSwitch.chunkLoaded(IsoLightSwitch.java:1077) zombie.iso.IsoChunk.loadInMainThread(IsoChunk.java:3627) zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:4842) zombie.iso.IsoChunkMap.updateInternal(IsoChunkMap.java:247) zombie.iso.IsoChunkMap.update(IsoChunkMap.java:206) zombie.iso.IsoCell.updateInternal(IsoCell.java:5940) zombie.iso.IsoCell.update(IsoCell.java:5897) zombie.iso.IsoWorld.updateWorld(IsoWorld.java:4203) zombie.iso.IsoWorld.updateInternal(IsoWorld.java:4323) zombie.iso.IsoWorld.update(IsoWorld.java:4237) zombie.gameStates.IngameState.updateInternal(IngameState.java:1700) zombie.gameStates.IngameState.update(IngameState.java:1465) zombie.gameStates.GameStateMachine.update(GameStateMachine.java:87) zombie.GameWindow.logic(GameWindow.java:386) zombie.GameWindow.frameStep(GameWindow.java:923) zombie.GameWindow.mainThreadStep(GameWindow.java:647) zombie.MainThread.mainLoop(MainThread.java:76) java.base/java.lang.Thread.run(Unknown Source)

and

ERROR: IntegerConfigOption.setValue() "MaximumRatIndex" 100 is greater than max=50.

Here's the latest crash log: https://pastebin.com/SVVwTqE7

Nevermind the extra code tags in it, tried to post it here first, but it was way too long.
Last edited by Cpt.Moottorimarkka ®; 5 hours ago