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

Solutions on the web

via GitHub by AnrDaemon
, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at com.forgeessentials.scripting.ScriptEventHandler.playerSleep(ScriptEventHandler.java:126)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_294_ScriptEventHandler_playerSleep_PlayerSleepInBedEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at openblocks.common.item.ItemSleepingBag.vanillaCanSleep(ItemSleepingBag.java:136)
at openblocks.common.item.ItemSleepingBag.canPlayerSleep(ItemSleepingBag.java:156)
at openblocks.common.item.ItemSleepingBag.onArmorTick(ItemSleepingBag.java:110)
at net.minecraft.entity.player.InventoryPlayer.func_70429_k(InventoryPlayer.java:319)
at net.minecraft.entity.player.EntityPlayer.func_70636_d(EntityPlayer.java:538)
at api.player.server.ServerPlayerAPI.onLivingUpdate(Unknown Source)
at net.minecraft.entity.player.EntityPlayerMP.func_70636_d(EntityPlayerMP.java)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1611)
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:288)
at api.player.server.ServerPlayerAPI.onUpdateEntity(Unknown Source)
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java)
at net.minecraft.network.NetHandlerPlayServer.func_147347_a(NetHandlerPlayServer.java:303)
at net.minecraft.network.play.client.C03PacketPlayer.func_148833_a(SourceFile:137)
at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.func_148833_a(SourceFile:20)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

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.