Bassebombecraft

Bassebombecraft

18.5k Downloads

Mod fails to start due to exception: NullPointerException

athrane opened this issue ยท 1 comments

commented

Stacktrace:

Caused by: java.lang.ExceptionInInitializerError
	at bassebombecraft.potion.effect.AggroMobEffect.<init>(AggroMobEffect.java:54) ~[?:?]
	at bassebombecraft.potion.effect.RegisteredEffects.register(RegisteredEffects.java:55) ~[?:?]
	at bassebombecraft.potion.effect.RegisteredEffects.<clinit>(RegisteredEffects.java:34) ~[?:?]
	at bassebombecraft.event.projectile.ProjectileModifierEventHandler.lambda$3(ProjectileModifierEventHandler.java:139) ~[?:?]
	at bassebombecraft.event.projectile.ProjectileModifierEventHandler.<clinit>(ProjectileModifierEventHandler.java:145) ~[?:?]
	at bassebombecraft.config.ModConfiguration.setupGeneralConfig(ModConfiguration.java:881) ~[?:?]
	at bassebombecraft.config.ModConfiguration.<clinit>(ModConfiguration.java:779) ~[?:?]
	at bassebombecraft.entity.commander.command.AttackNearestMobCommand.<init>(AttackNearestMobCommand.java:50) ~[?:?]
	at bassebombecraft.entity.commander.DefaultMobCommanderRepository.<clinit>(DefaultMobCommanderRepository.java:23) ~[?:?]
	at bassebombecraft.client.proxy.ClientProxy.<init>(ClientProxy.java:192) ~[?:?]
	at bassebombecraft.BassebombeCraft.lambda$2(BassebombeCraft.java:59) ~[?:?]
	at net.minecraftforge.fml.DistExecutor.unsafeRunForDist(DistExecutor.java:174) ~[forge:?]
	at net.minecraftforge.fml.DistExecutor.runForDist(DistExecutor.java:157) ~[forge:?]
	at bassebombecraft.BassebombeCraft.<clinit>(BassebombeCraft.java:59) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_211]
	at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_211]
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.<init>(FMLModContainer.java:61) ~[forge:36.1]
	... 41 more
Caused by: java.lang.NullPointerException
	at bassebombecraft.potion.effect.AmplifierEffect.<init>(AmplifierEffect.java:37) ~[?:?]
	at bassebombecraft.ModConstants.<clinit>(ModConstants.java:391) ~[?:?]
	at bassebombecraft.potion.effect.AggroMobEffect.<init>(AggroMobEffect.java:54) ~[?:?]
	at bassebombecraft.potion.effect.RegisteredEffects.register(RegisteredEffects.java:55) ~[?:?]
	at bassebombecraft.potion.effect.RegisteredEffects.<clinit>(RegisteredEffects.java:34) ~[?:?]
	at bassebombecraft.event.projectile.ProjectileModifierEventHandler.lambda$3(ProjectileModifierEventHandler.java:139) ~[?:?]

commented

RWC: 12068bf