java.lang.NullPointerException

bukkit.org | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.bukkit.craftbukkit.inventory.CraftInventory.getItem()
  2. org.bukkit.craftbukkit
    CraftInventoryPlayer.getHelmet
    1. org.bukkit.craftbukkit.inventory.CraftInventory.getItem(CraftInventory.java:30)
    2. org.bukkit.craftbukkit.inventory.CraftInventoryPlayer.getHelmet(CraftInventoryPlayer.java:33)
    2 frames
  3. net.citizensnpcs.traders
    Trader.onRightClick
    1. net.citizensnpcs.traders.TraderTask.clonePlayerInventory(TraderTask.java:331)
    2. net.citizensnpcs.traders.TraderTask.<init>(TraderTask.java:44)
    3. net.citizensnpcs.traders.Trader.onRightClick(Trader.java:157)
    3 frames
  4. net.citizensnpcs.resources
    HumanNPC.callRightClick
    1. net.citizensnpcs.resources.npclib.HumanNPC.callRightClick(HumanNPC.java:73)
    1 frame
  5. net.citizensnpcs.listeners
    EntityListen.onEntityTarget
    1. net.citizensnpcs.listeners.EntityListen.onEntityTarget(EntityListen.java:114)
    1 frame
  6. Bukkit
    SimplePluginManager.callEvent
    1. org.bukkit.plugin.java.JavaPluginLoader$71.execute(JavaPluginLoader.java:766)
    2. org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    3. org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:327)
    3 frames
  7. net.citizensnpcs.listeners
    PlayerListen.onPlayerInteractEntity
    1. net.citizensnpcs.listeners.PlayerListen.onPlayerInteractEntity(PlayerListen.java:84)
    1 frame
  8. Bukkit
    SimplePluginManager.callEvent
    1. org.bukkit.plugin.java.JavaPluginLoader$12.execute(JavaPluginLoader.java:349)
    2. org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    3. org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:327)
    3 frames
  9. MC Server
    ThreadServerApplication.run
    1. net.minecraft.server.NetServerHandler.a(NetServerHandler.java:923)
    2. net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
    3. net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    4. net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    5. net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    6. net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
    7. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    8. net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    8 frames