VoxelSniper

VoxelSniper

1M Downloads

null-error by using spigot

Telbaru opened this issue ยท 1 comments

commented

Spigot-build: 1335 from http://ci.md-5.net/job/Spigot/changes
I found some null-error by using spigot and voxelsniper. Every time i clicked shift + right mousebutton on a material,than clicking right to destroy it with base-settings of the brush and than make /u 50 it comes this error:

[22:31:21 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'u' in plugin VoxelSniper v5.169.0-SNAPSHOT-jnks300-gita05af31
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit.jar:git-Spigot-1335]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[craftbukkit.jar:git-Spigot-1335]
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:706) ~[craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:984) [craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:829) [craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:65) [craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.ServerConnection.c(ServerConnection.java:77) [craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:700) [craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:562) [craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Spigot-1335]
        at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Spigot-1335]
Caused by: java.util.NoSuchElementException
        at java.util.LinkedList.remove(Unknown Source) ~[?:1.6.0_38]
        at java.util.LinkedList.removeFirst(Unknown Source) ~[?:1.6.0_38]
        at java.util.LinkedList.pop(Unknown Source) ~[?:1.6.0_38]
        at com.thevoxelbox.voxelsniper.Sniper.undo(Sniper.java:393) ~[?:?]
        at com.thevoxelbox.voxelsniper.VoxelSniperListener.commandSniperU(VoxelSniperListener.java:455) ~[?:?]
        at com.thevoxelbox.voxelsniper.VoxelSniperListener.onCommand(VoxelSniperListener.java:74) ~[?:?]
        at com.thevoxelbox.voxelsniper.VoxelSniper.onCommand(VoxelSniper.java:141) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit.jar:git-Spigot-1335]
        ... 13 more

the normal /u is without error only if you made the steps on the top of the issue, it apears.

EDIT by @MikeMatrix: Cleaned up formatting

commented

i missed to say, that this error comes with the build 300 of voxel.