Silent Gear

Silent Gear

36M Downloads

Cannot invoke "net.silentchaos512.gear.gear.part.PartInstance.getDisplayName()" because "part" is null

pietro-lopes opened this issue ยท 3 comments

commented

Versions

  • Silent Gear: 4.0.28
  • Silent's Gems: x.x.x
  • Silent Lib: x.x.x
  • NeoForge: 21.1.203
  • Modpack: ATM10 + extra mods
  • Optifine Installed: No

Expected Behavior

No crash/errors

Actual Behavior

Crashes

Links/Images

Steps to Reproduce the Problem

  1. Setup a server with ATM10 mods + Randomium
  2. Try to connect
  3. Log shows that error and cascade into a bunch of errors
commented

Do you have any information about the item that causes the crash?

commented

No

commented

Since this error isn't reproducible with just Silent Gear and involves a critical class, I want to find the root cause instead of just treating the symptoms. So I'm adding some checks that will throw an error as soon as the list receives a null element. Might be a weird edge case or another mod doing something strange. I could only guess.