Error on getEntityClass MobManager

Issue #8 new
Alexander Cory created an issue

Im getting an error attempting to configure mob spawns for some mods. Im sure this is way too much but... my friend wanted mo creatures and I wanted Advent of Ascension. AoA tends to spam the spawn rate and block most other things from spawning. Which is why I wanted to try out this addon and see if I could limit it. but I get an error:

[08:16:25] [Server thread/ERROR] [FML/]: A fatal exception occurred during the server about to start event java.lang.NullPointerException at java.lang.Class.isAssignableFrom(Native Method) ~[?:1.8.0_91] at com.bloodnbonesgaming.advancedspawncontrol.MobManager.getEntityClass(MobManager.java:326) ~[MobManager.class:?] at com.bloodnbonesgaming.advancedspawncontrol.MobManager.fillSpawnRegistry(MobManager.java:277) ~[MobManager.class:?] at com.bloodnbonesgaming.advancedspawncontrol.MobControl.loadComplete(MobControl.java:88) ~[MobControl.class:?]

Full log here: https://www.dropbox.com/s/6wmrqvopzu7b6s4/fml-server-latest.log?dl=0

JSON file here: https://www.dropbox.com/s/428ztkhd7f5qzjh/AdvancedSpawnControl.json?dl=0


Just a thought, but couldn't you just add validation to check for null before doing anything with it? That should be a relatively simple fix right? and then maybe log a message of like "cant find entity blah" or something.

I apologize if I'm asking for too much. Maybe there's something I'm missing with this. Or somewhere I'm messing up.

Your assistance is appreciated, thanks.


Minecraft 1.7.10

Windows 10 64-bit

Java 8 Update 91 64-Bit

AdvancedSpawnControl-0.9.1

Comments (1)

  1. Log in to comment