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 bukkit.org by Unknown author, 1 year ago
java.lang.NullPointerException:
at org.bukkit.craftbukkit.inventory.CraftInventory.getItem(CraftInventory.java:30)
at org.bukkit.craftbukkit.inventory.CraftInventoryPlayer.getHelmet(CraftInventoryPlayer.java:33)
at net.citizensnpcs.traders.TraderTask.clonePlayerInventory(TraderTask.java:331)
at net.citizensnpcs.traders.TraderTask.(TraderTask.java:44)
at net.citizensnpcs.traders.Trader.onRightClick(Trader.java:157)
at net.citizensnpcs.resources.npclib.HumanNPC.callRightClick(HumanNPC.java:73)
at net.citizensnpcs.listeners.EntityListen.onEntityTarget(EntityListen.java:114)
at org.bukkit.plugin.java.JavaPluginLoader$71.execute(JavaPluginLoader.java:766)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:327)
at net.citizensnpcs.listeners.PlayerListen.onPlayerInteractEntity(PlayerListen.java:84)
at org.bukkit.plugin.java.JavaPluginLoader$12.execute(JavaPluginLoader.java:349)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:327)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:923)
at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)

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.