
NPE when trying to enter too many departures
SolDev69 opened this issue ยท 1 comments
Before reporting, I have confirmed that
- This bug does not appear to be reported on GitHub Issues before.
- This bug still exists in the latest version of the Minecraft Transit Railway mod.
- I have tested this in the official version of Minecraft Transit Railway, not a modified, custom, or unofficial build.
Describe the Bug
Softlock when trying to enter too many real time departures
Reproduction Steps
- Try entering a bunch of departures
- 9999999
- NPE + softlock (game doesn't crash but is not responding)
In-game Log and Crash Report
[17:13:18] [Server thread/INFO] [minecraft/MinecraftServer]: [SolDev69: Gave 1 [Rail Node] to SolDev69]
[17:13:18] [Render thread/INFO] [minecraft/ChatComponent]: [System] [CHAT] Gave 1 [Rail Node] to SolDev69
[17:14:18] [Server thread/INFO] [TransportSimulationCore/]: - Changed sidings: 1
[17:14:18] [Server thread/INFO] [TransportSimulationCore/]: - Changed rails: 1
[17:14:18] [Server thread/INFO] [TransportSimulationCore/]: Save complete for minecraft/overworld in 0.005 second(s)
[17:14:48] [Server thread/INFO] [TransportSimulationCore/]: - Changed rails: 2
[17:14:48] [Server thread/INFO] [TransportSimulationCore/]: Save complete for minecraft/overworld in 0.003 second(s)
[17:15:18] [Server thread/INFO] [TransportSimulationCore/]: - Changed depots: 1
[17:15:18] [Server thread/INFO] [TransportSimulationCore/]: Save complete for minecraft/overworld in 0.006 second(s)
[17:15:35] [Server thread/INFO] [TransportSimulationCore/]: Starting path generation for Kappa Line Depot...
[17:15:35] [Server thread/INFO] [TransportSimulationCore/]: Path generation complete for Kappa Line Depot
[17:15:35] [Thread-5/ERROR] [MinecraftTransitRailway/]:
java.lang.NullPointerException: null
[17:15:48] [Server thread/INFO] [TransportSimulationCore/]: - Changed depots: 3
[17:15:48] [Server thread/INFO] [TransportSimulationCore/]: Save complete for minecraft/overworld in 0.007 second(s)
[17:16:24] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: SolDev69 lost connection: Timed out
[17:16:24] [Server thread/INFO] [minecraft/MinecraftServer]: SolDev69 left the game
[17:16:24] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: Stopping singleplayer server as player logged out
[17:16:24] [Server thread/INFO] [TransportSimulationCore/]: Stopping...
Mod Loader
Forge
Minecraft Version
1.20.1
Minecraft Transit Railway Version
4.0.0-pre2
Operating System
Windows 11
List of Mods or Modpack You Were Using
Extra Information
No response