
NPE at TrackEdge.getLength()
DiegoRutolo opened this issue ยท 0 comments
Describe the Bug
Server crash when traversing a specific track due to a NullPointerException.
First lines in crash report:
java.lang.NullPointerException: Cannot invoke "com.simibubi.create.content.logistics.trains.TrackEdge.getLength()" because "initialEdge" is null at com.simibubi.create.content.logistics.trains.entity.Navigation.search(Navigation.java:580) ~[create-1.19.2-0.5.0.f.jar%23117!/:0.5.0.f] {re:classloading}
Reproduction Steps
Unable to reproduce at will.
Expected Result
Server should not crash.
Screenshots and Videos
No response
Crash Report or Log
Operating System
Linux server
Mod Version
0.5.0f
Minecraft Version
1.19.2
Forge Version
43.1.52
Other Mods
No response
Additional Context
It only happened once and I could not reproduce it, but since it's a NPE should be easy to prevent a full server crash.