Chuckleberry-Finn / Chuckleberry-Finn/moddingAlertSystem
[Bug] Error 2
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Game Version
Build 42.20
Severity
Medium — Minor feature broken
Expected Behavior
Once i join in dedicated server it shows error 2 and no ui and just stuck
Platform
Windows 11
Other Active Mods
Only Skill Recovery Journal, errorMagnifier, and chuckleberryModdingAlertSystem i dont know which of this mod cause this error because i have tested all mods one by one so far this three was the culprit
Additional Context
LOG : General f:0 st:0> Reloading Lua - ERRORS!
ERROR: General f:0 st:0> ConnectToServerState.Finish> Exception thrown
java.lang.NullPointerException: Cannot invoke "se.krka.kahlua.vm.KahluaTable.rawget(Object)" because "globals" is null at ZomboidGlobals.Load(ZomboidGlobals.java:69).
Stack trace:
zombie.ZomboidGlobals.Load(ZomboidGlobals.java:69)
zombie.core.Core.ResetLua(Core.java:4203)
zombie.gameStates.ConnectToServerState.receiveServerOptions(ConnectToServerState.java:135)
zombie.gameStates.ConnectToServerState.Finish(ConnectToServerState.java:696)
zombie.gameStates.ConnectToServerState.update(ConnectToServerState.java:104)
zombie.gameStates.MainScreenState.update(MainScreenState.java:780)
zombie.gameStates.GameStateMachine.update(GameStateMachine.java:65)
zombie.GameWindow.logic(GameWindow.java:390)
zombie.GameWindow.frameStep(GameWindow.java:790)
zombie.GameWindow.mainThreadStep(GameWindow.java:567)
zombie.MainThread.mainLoop(MainThread.java:69)
java.base/java.lang.Thread.run(Unknown Source)
LOG : General f:0 st:0> waiting for UdpEngine thread termination
LOG : General f:0 st:0> GameThread exited.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by joining a dedicated server on Build 42.20 with the Mod Update and Alert System and the three listed active mods. Start with the reported stack trace at ZomboidGlobals.Load(ZomboidGlobals.java:69) and ConnectToServerState.receiveServerOptions; done means the server join completes without Error 2, the UI appears, and the reported exception no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100