Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minecraft:give errors #44

Open
ScottWoodward opened this issue Mar 22, 2014 · 2 comments
Open

Minecraft:give errors #44

ScottWoodward opened this issue Mar 22, 2014 · 2 comments

Comments

@ScottWoodward
Copy link

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.

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
@itsaphel
Copy link

This has nothing to do with bPermissions. Nothing in that stacktrace relates to bPermissions. Remove Vanish and then try.

@ScottWoodward
Copy link
Author

The issue is only around when both are present. Removing either one or both alleviates the issue. The stack trace also has nothing to do with vanish but it is a combination of both plugins that seems to be causing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants