Weather, Storms & Tornadoes

Weather, Storms & Tornadoes

11M Downloads

NPE at weather2.util.WeatherUtilEntity.isParticleRotServerSafe:159

Stormwind99 opened this issue ยท 5 comments

commented

I have lots of mods loaded, so I assume it is probably an incompatibility between them.

[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: java.lang.NullPointerException
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at weather2.util.WeatherUtilEntity.isParticleRotServerSafe(WeatherUtilEntity.java:159)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at weather2.util.WeatherUtilEntity.getWeight(WeatherUtilEntity.java:87)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at weather2.util.WeatherUtilEntity.getWeight(WeatherUtilEntity.java:34)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at weather2.weathersystem.wind.WindManager.applyWindForceNew(WindManager.java:479)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at weather2.client.SceneEnhancer.tryWind(SceneEnhancer.java:1811)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at weather2.client.SceneEnhancer.tickClient(SceneEnhancer.java:182)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at weather2.ClientTickHandler.onTickInGame(ClientTickHandler.java:134)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at weather2.EventHandlerFML.tickClient(EventHandlerFML.java:76)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1095_EventHandlerFML_tickClient_ClientTickEvent.invoke(.dynamic)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at net.minecraftforge.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:343)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1706)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1096)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at net.minecraft.client.main.Main.main(SourceFile:123)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at java.lang.reflect.Method.invoke(Method.java:497)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[06:32:39] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

Later, it seems to be followed with:
[06:33:26] [main/INFO]: [weather2.EventHandlerFML:tickClient:78]: java.lang.NullPointerException

latest.log

commented

did it crash or just disconnect you? im guessing its Dynamic Surroundings causing issue. I dont know but thats my guess. and what version of minecraft?

commented

No crash but seemed to slow down due to NPEs, and I seem to get little/no weather. Attached log above has info: Forge Mod Loader version 14.23.4.2709 for Minecraft 1.12.2 loading

commented

Thanks!

commented

Yeah must be some modded particle that doesn't seem to have its world reference set correctly, and I didn't null check, will add in a check and avoid the crash.

commented

@GrasshopperFK - that sounds like a different issue than this one. Please create a new issue instead of commenting on this unrelated one.