java.lang.NullPointerException

GitHub | teamaonn | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at net.citizensnpcs.commands.NPCCommands.npc()
  2. net.citizensnpcs.commands
    NPCCommands.npc
    1. net.citizensnpcs.commands.NPCCommands.npc(NPCCommands.java:982)
    1 frame
  3. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  4. net.citizensnpcs.api
    CommandManager.executeSafe
    1. net.citizensnpcs.api.command.CommandManager.executeMethod(CommandManager.java:152)
    2. net.citizensnpcs.api.command.CommandManager.execute(CommandManager.java:87)
    3. net.citizensnpcs.api.command.CommandManager.executeSafe(CommandManager.java:175)
    3 frames
  5. net.citizensnpcs
    Citizens.onCommand
    1. net.citizensnpcs.Citizens.onCommand(Citizens.java:236)
    1 frame
  6. Bukkit
    SimpleCommandMap.dispatch
    1. org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    2. org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    2 frames
  7. org.bukkit.craftbukkit
    CraftServer.dispatchCommand
    1. org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646)
    1 frame
  8. net.minecraft.server
    PlayerConnectionUtils$1.run
    1. net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1351)
    2. net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186)
    3. net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
    4. net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
    5. net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
    5 frames
  9. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2 frames
  10. net.minecraft.server
    MinecraftServer.run
    1. net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
    2. net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:737)
    3. net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399)
    4. net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:673)
    5. net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:572)
    5 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame