java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.NullPointerException:
at me.ryanhamshire.griefprevention.event.BlockEventHandler.onBlockCollide(BlockEventHandler.java:240)
at org.spongepowered.common.event.listener.CollideBlockEventListener_BlockEventHandler_onBlockCollide80.handle(Unknown Source)
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:349)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:390)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:362)
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:138)
at org.spongepowered.common.event.SpongeCommonEventFactory.handleCollideBlockEvent(SpongeCommonEventFactory.java:394)
at net.minecraft.entity.Entity.onEntityCollideWithBlockState(Entity.java:1012)
at net.minecraft.entity.Entity.func_145775_I(Entity.java:934)
at net.minecraft.entity.Entity.func_70091_d(Entity.java:855)
at net.minecraft.entity.EntityLivingBase.func_70612_e(EntityLivingBase.java:1802)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2224)
at net.minecraft.entity.monster.EntityMob.func_70636_d(SourceFile:47)
at net.minecraft.entity.monster.EntityZombie.func_70636_d(EntityZombie.java:279)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2020)
at net.minecraft.entity.monster.EntityMob.func_70071_h_(SourceFile:52)
at net.minecraft.entity.monster.EntityZombie.func_70071_h_(EntityZombie.java:356)
at net.minecraft.entity.monster.EntityPigZombie.func_70071_h_(SourceFile:70)
at org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:95)
at net.minecraft.world.WorldServer.onCallEntityUpdate(WorldServer.java:1141)
at net.minecraft.world.World.func_72866_a(World.java:1964)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:838)
at net.minecraft.world.World.func_72870_g(World.java:1934)
at net.minecraft.world.World.func_72939_s(World.java:1260)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.