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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by Kosyne
, 9 months ago
This exception has no message.
java.lang.NullPointerException:
at net.minecraft.util.math.BlockPos.func_177967_a(SourceFile:158)
at net.minecraft.util.math.BlockPos.func_177972_a(SourceFile:150)
at me.ferdz.placeableitems.event.RightClickHandler.onItemRightClick(RightClickHandler.java:27)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_47_RightClickHandler_onItemRightClick_RightClickBlock.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at org.spongepowered.mod.event.SpongeForgeEventFactory.createPlayerInteractEvent(SpongeForgeEventFactory.java:800)
at org.spongepowered.mod.event.SpongeForgeEventFactory.callForgeEvent(SpongeForgeEventFactory.java:439)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:281)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:326)
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:314)
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:144)
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractBlockEventSecondary(SpongeCommonEventFactory.java:408)
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractBlockEventSecondary(SpongeCommonEventFactory.java:398)
at org.spongepowered.common.network.PacketUtil.firePreEvents(PacketUtil.java:222)
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:87)
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zjb000(SourceFile:39)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at net.minecraft.util.Util.func_181617_a(SourceFile:46)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:679)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:384)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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