Server Crash on Startup with Create 6.0.6 - NullPointerException for "create:copycat" Registry Entry
McPersson opened this issue · 2 comments
Context
Mod Version: Steam 'n' Rails 1.6.11-alpha (Forge 1.20.1)
Minecraft Version: 1.20.1
Forge Version: 47.4.4
Create Version: 6.0.6
Other Relevant Mods:
- Sinytra Connector 1.0.0-beta.46+1.20.1
- No other Create addons seem directly involved, but the pack has several (e.g., createbigcannons, createdeco).
Description:
The server crashes during mod loading (FMLModContainer.constructMod) with an ExceptionInInitializerError in Create mod. The root cause is a NullPointerException when trying to register/access the "create:copycat" registry entry.
This only happens when Steam 'n' Rails is installed. Removing Steam 'n' Rails allows the server to start normally. It seems like an incompatibility with Create 6.0.6's API changes (e.g., REGISTRATE becoming private), possibly because Steam 'n' Rails expects or registers something related to copycat blocks that isn't present.
Attachments:
Additional Notes:
- The server runs fine without Steam 'n' Rails.
- Tried updating addons and configs, but no luck.
- Possibly related to Create 6.x changes (private REGISTRATE field breaking addon registrations). Similar issues reported in Create's GitHub (e.g., #8835, but for other addons).
- Environment: Linux server, Java 17.0.7, 14GB RAM allocated.
Thanks for the mod—it's great otherwise! Let me know if you need more info.
Crash Report
Same here
Steam_Rails-1.6.11-alpha+forge-mc1.20.1.jar
mod removal removes crashing
while using crashes before minecraft initialises
Exception message: java.lang.NullPointerException: Registry entry not present: create:copycat
This has been posted already
#611