Using /minecraft:give displays error #644


  • Defect
  • Waiting
Open
  • _ForgeUser8402331 created this issue Mar 22, 2014

    If you attempt to use /minecraft:give then the command executes correctly, but also displays a NPE in the console.

    This issue occurs when using bPermssions and Vanish as the only plugins on the server. Being (or targeting someone who is) un-vanished, or removing bPermssions corrects the issue.

    bPermissions version: 2.12-DEV
    vanish version: 3.18.9
    Bukkit version: build 3024

    NOTE: I fully understand that this issue is likely not related directly to either plugin or bukkit, as all three work in isolation, but it is also the combination of these three that is causing the issue, so I am posting it to both plugin authors and to the bukkit team.

    Here's the error it causes in the console.

    [14:25:54] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing 'minecraft:give Raemis210 1 1' in org.bukkit.craftbukkit.v1_7_R1.command.VanillaCommandWrapper(give)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:179) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    Caused by: java.lang.NullPointerException
        at net.minecraft.server.v1_7_R1.CommandGive.b(SourceFile:68) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at org.bukkit.craftbukkit.v1_7_R1.command.VanillaCommandWrapper.execute(VanillaCommandWrapper.java:60) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
        ... 12 more

  • _ForgeUser8402331 added the tags New Defect Mar 22, 2014
  • jesster1234 removed a tag New Jan 20, 2015
  • jesster1234 added a tag Waiting Jan 20, 2015
  • jesster1234 posted a comment Jan 20, 2015

    Does this still occur on the latest version? 2.10.9


To post a comment, please login or register a new account.