Smooth not working in 1.12

Discussion in 'WorldEdit' started by DaveDevil, Oct 14, 2017.

  1. DaveDevil

    DaveDevil New Member

    Hello! I am new here

    I am reporting a bug with WE with the command "smooth" that I use a lot for terraforming. It generates this exception in console:

    [Server thread/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_144]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_144]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_144]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
    at com.sk89q.worldedit.util.command.parametric.ParametricCallable.call(ParametricCallable.java:228) ~[worldedit-bukkit-6.1.7.3.jar:?]
    at com.sk89q.worldedit.util.command.SimpleDispatcher.call(SimpleDispatcher.java:125) ~[worldedit-bukkit-6.1.7.3.jar:?]
    at org.primesoft.asyncworldedit.worldedit.util.command.DispatcherWrapper.call(DispatcherWrapper.java:119) ~[AsyncWorldEdit.jar:?]
    at com.sk89q.worldedit.extension.platform.CommandManager.handleCommand(CommandManager.java:248) [worldedit-bukkit-6.1.7.3.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_144]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_144]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
    at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58) [worldedit-bukkit-6.1.7.3.jar:?]
    at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) [worldedit-bukkit-6.1.7.3.jar:?]
    at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:187) [worldedit-bukkit-6.1.7.3.jar:?]
    at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173) [worldedit-bukkit-6.1.7.3.jar:?]
    at com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:247) [worldedit-bukkit-6.1.7.3.jar:?]
    at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54) [worldedit-bukkit-6.1.7.3.jar:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:641) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1385) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1220) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_144]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_144]
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
    Caused by: java.lang.VerifyError: Bad type on operand stack
    Exception Details:
    Location:
    com/sk89q/worldedit/command/RegionCommands$1.execute(Lcom/sk89q/worldedit/EditSession;)V @30: invokespecial
    Reason:
    Type 'com/sk89q/worldedit/math/convolution/GaussianKernel' (current frame, stack[2]) is not assignable to 'java/awt/image/Kernel'
    Current Frame:
    bci: @30
    flags: { }
    locals: { 'com/sk89q/worldedit/command/RegionCommands$1', 'com/sk89q/worldedit/EditSession', 'com/sk89q/worldedit/math/convolution/HeightMap' }
    stack: { uninitialized 17, uninitialized 17, 'com/sk89q/worldedit/math/convolution/GaussianKernel' }
    Bytecode:
    0x0000000: bb00 0859 2b2a b400 022a b400 03b7 0009
    0x0000010: 4dbb 000a 59bb 000b 5908 0fb7 000c b700
    0x0000020: 0d4e 2c2d 2ab4 0004 b600 0e36 042a b400
    0x0000030: 05bb 000f 59b7 0010 1211 b600 1215 04b6
    0x0000040: 0013 1214 b600 12b6 0015 b900 1602 002b
    0x0000050: b600 17a7 000f 4d2a b400 0512 19b9 001a
    0x0000060: 0200 b1
    Exception Handler Table:
    bci [0, 83] => handler: 86
    Stackmap Table:
    same_locals_1_stack_item_extended(@86,Object[#63])
    same_frame(@98)

    at com.sk89q.worldedit.command.RegionCommands.smooth(RegionCommands.java:251) ~[?:?]
    ... 33 more
  2. wizjany

    wizjany Administrator Developer

    pastebin your full server log
  3. DaveDevil

    DaveDevil New Member

    all of it? it's about 13.000 rows from 8 am to now...
  4. wizjany

    wizjany Administrator Developer

    get a clean startup then, or just all the startup parts
  5. DaveDevil

    DaveDevil New Member

  6. wizjany

    wizjany Administrator Developer

    remove asyncworldedit
  7. DaveDevil

    DaveDevil New Member

    does it create problems? without it it's impossible for me to use WE, it freezes the server when I do big operations
  8. wizjany

    wizjany Administrator Developer

    you tell me that