Magnesium

Magnesium

4M Downloads

[Crash] When Magnesium installed with AutoRegLib game crashing on startup.

KKotik opened this issue ยท 3 comments

commented

Version information

magnesium-0.4.0-alpha5

Reproduction Steps

  1. Install AutoRegLib and Magnesium together.
  2. Boot the game.

Crash Report file

crash-2021-12-09_07.11.33-fml.txt

Additional information

Quark and AutoRegLib now in private beta, but still crash log may help determine the issue and also make a dissicion on which side it should be fixed. If it's nothing that can be done on Magnesium, I will redirect it to Vazkii.

commented

This appears to be something I can fix on my end. I'll look into it once AutoRegLib is officially released.

commented

There is builds at that you can look: https://ci.blamejared.com/job/AutoRegLib/job/master/106/

commented

for (Block block : blocks) {
this.blocksToColor.put(block, provider::getColor);

I think javac puts an implicit null-check here, while Quark passes null to ARL's color handling in a few spots, with ARL not checking for nullness. Should be fixed soon in ARL.