WorldEdit

WorldEdit

43M Downloads

//mask throws InvocationTargetExeption (Bukkit 1.12)

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDEDIT-3574 - Reported by Budii

Plugins on the server: ClearLag, WorldEdit, Shopkeepers, Essentials
Server: Nitrado 2GB, 4 SLOTS
WE Version: 6.1.7

Command used:
Block in Hand: Stick then also tried it with other blocks

  1. //brush sphere 0 3
  2. //mask 17,18
    -> Throws the ITExeption
    also tried it with
    //mask 17
    and it also throws with the same exeption

[17:03:35 INFO]: Requaza123 issued server command: //brush sphere 0 3
[17:03:37 INFO]: Requaza123 issued server command: //mask 17
[17:03:37 ERROR]: [WorldEdit] An unexpected error while handling a WorldEdit command
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at com.sk89q.worldedit.util.command.parametric.BindingHelper.bind(BindingHelper.java:167) ~[worldedit-bukkit-6.1.7.jar:?]
at com.sk89q.worldedit.util.command.parametric.ParametricCallable.call(ParametricCallable.java:205) ~[worldedit-bukkit-6.1.7.jar:?]
at com.sk89q.worldedit.util.command.SimpleDispatcher.call(SimpleDispatcher.java:125) ~[worldedit-bukkit-6.1.7.jar:?]
at com.sk89q.worldedit.extension.platform.CommandManager.handleCommand(CommandManager.java:248) [worldedit-bukkit-6.1.7.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58) [worldedit-bukkit-6.1.7.jar:?]
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) [worldedit-bukkit-6.1.7.jar:?]
at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:187) [worldedit-bukkit-6.1.7.jar:?]
at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173) [worldedit-bukkit-6.1.7.jar:?]
at com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:247) [worldedit-bukkit-6.1.7.jar:?]
at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54) [worldedit-bukkit-6.1.7.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:622) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at com.sk89q.worldedit.bukkit.WorldEditListener.onPlayerCommandPreprocess(WorldEditListener.java:95) [worldedit-bukkit-6.1.7.jar:?]
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:296) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:498) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:483) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1319) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1186) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(SourceFile:37) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(SourceFile:9) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_101]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:695) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:366) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:650) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:554) [craftbukkit.jar:git-Bukkit-bb4ae3b]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
Caused by: java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770) ~[craftbukkit.jar:git-Bukkit-bb4ae3b]
at com.sk89q.worldedit.function.mask.AbstractExtentMask.setExtent(AbstractExtentMask.java:57) ~[?:?]
at com.sk89q.worldedit.function.mask.AbstractExtentMask.(AbstractExtentMask.java:39) ~[?:?]
at com.sk89q.worldedit.function.mask.BlockMask.(BlockMask.java:52) ~[?:?]
at com.sk89q.worldedit.extension.factory.DefaultMaskParser.getBlockMaskComponent(DefaultMaskParser.java:167) ~[?:?]
at com.sk89q.worldedit.extension.factory.DefaultMaskParser.parseFromInput(DefaultMaskParser.java:74) ~[?:?]
at com.sk89q.worldedit.extension.factory.DefaultMaskParser.parseFromInput(DefaultMaskParser.java:59) ~[?:?]
at com.sk89q.worldedit.internal.registry.AbstractFactory.parseFromInput(AbstractFactory.java:57) ~[?:?]
at com.sk89q.worldedit.internal.command.WorldEditBinding.getMask(WorldEditBinding.java:242) ~[?:?]
... 41 more

commented

Comment by Budii

Is this now really a bug or do only I get this exeption?