1. Guest, as per the stickied thread, this forum has not been in use since 2014. All bugs and feature requests should be posted to JIRA.

Bug [SOLVED] WorldEdit spits out 10+ errors when i use any command

Discussion in 'Bugs & Feature Requests' started by JavaMonster, Aug 11, 2019.

  1. Hello,
    I have recently created a new server using a spigot jar i built using the newest BuildTools.
    The first thing i installed was WorldEdit because i see it as a "must" when you want to build something big.
    However, when i use any command "//set, //walls, etc..." it just spits out these errors in the console:
    Code (Text):
     An unexpected error while handling a WorldEdit command
    java.lang.NoSuchMethodError: net.minecraft.server.v1_14_R1.IBlockState.d()Ljava/util/Collection;
            at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_14_R2.getProperties(Spigot_v1_14_R2.java:398) ~[?:?]
            at com.sk89q.worldedit.bukkit.BukkitBlockRegistry.getProperties(BukkitBlockRegistry.java:52) ~[?:?]
            at com.sk89q.worldedit.world.block.BlockType.lambda$getPropertyMap$1(BlockType.java:121) ~[?:?]
            at com.sk89q.worldedit.world.block.BlockType.updateField(BlockType.java:74) ~[?:?]
            at com.sk89q.worldedit.world.block.BlockType.getPropertyMap(BlockType.java:120) ~[?:?]
            at com.sk89q.worldedit.extension.factory.parser.DefaultBlockParser.parseProperties(DefaultBlockParser.java:171) ~[?:?]
            at com.sk89q.worldedit.extension.factory.parser.DefaultBlockParser.parseLogic(DefaultBlockParser.java:314) ~[?:?]
            at com.sk89q.worldedit.extension.factory.parser.DefaultBlockParser.parseFromInput(DefaultBlockParser.java:88) ~[?:?]
            at com.sk89q.worldedit.extension.factory.parser.DefaultBlockParser.parseFromInput(DefaultBlockParser.java:61) ~[?:?]
            at com.sk89q.worldedit.internal.registry.AbstractFactory.parseFromInput(AbstractFactory.java:73) ~[?:?]
            at com.sk89q.worldedit.bukkit.BukkitAdapter$1.apply(BukkitAdapter.java:391) ~[?:?]
            at com.sk89q.worldedit.bukkit.BukkitAdapter$1.apply(BukkitAdapter.java:386) ~[?:?]
            at java.util.HashMap.computeIfAbsent(Unknown Source) ~[?:1.8.0_221]
            at com.sk89q.worldedit.bukkit.BukkitAdapter.adapt(BukkitAdapter.java:386) ~[?:?]
            at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_14_R2.getBlock(Spigot_v1_14_R2.java:231) ~[?:?]
            at com.sk89q.worldedit.bukkit.BukkitWorld.getFullBlock(BukkitWorld.java:446) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:75) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:75) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:75) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:75) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:75) ~[?:?]
            at com.sk89q.worldedit.extent.cache.LastAccessExtentCache.getFullBlock(LastAccessExtentCache.java:66) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:75) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:75) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:75) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:75) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:75) ~[?:?]
            at com.sk89q.worldedit.extent.ChangeSetExtent.setBlock(ChangeSetExtent.java:66) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:80) ~[?:?]
            at com.sk89q.worldedit.extent.MaskingExtent.setBlock(MaskingExtent.java:69) ~[?:?]
            at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:80) ~[?:?]
            at com.sk89q.worldedit.extent.validation.BlockChangeLimiter.setBlock(BlockChangeLimiter.java:87) ~[?:?]
            at com.sk89q.worldedit.EditSession.setBlock(EditSession.java:624) ~[?:?]
            at com.sk89q.worldedit.EditSession.setBlock(EditSession.java:667) ~[?:?]
            at com.sk89q.worldedit.function.block.BlockReplace.apply(BlockReplace.java:53) ~[?:?]
            at com.sk89q.worldedit.function.visitor.RegionVisitor.resume(RegionVisitor.java:57) ~[?:?]
            at com.sk89q.worldedit.function.operation.Operations.completeBlindly(Operations.java:74) ~[?:?]
            at com.sk89q.worldedit.command.RegionCommands.set(RegionCommands.java:97) ~[?:?]
            at com.sk89q.worldedit.command.RegionCommandsRegistration._set(RegionCommandsRegistration.java:387) ~[?:?]
            at org.enginehub.piston.CommandManager.execute(CommandManager.java:158) ~[?:?]
            at com.sk89q.worldedit.extension.platform.PlatformCommandManager.handleCommand(PlatformCommandManager.java:471) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_221]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_221]
            at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58) ~[?:?]
            at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[?:?]
            at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:193) ~[?:?]
            at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:181) ~[?:?]
            at com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:328) ~[?:?]
            at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:55) ~[?:?]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:710) ~[spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.PlayerConnection.handleCommand(PlayerConnection.java:1641) ~[spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1481) ~[spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:144) [spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:118) [spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:909) [spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:902) [spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(SourceFile:127) [spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:886) [spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:819) [spigot-1.14.4.jar:git-Spigot-ea7e48b-368f4e9]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
    I have programmed in java in the past but i don't really know what these Spigot/Bukkit-specific errors mean.

    Any help or answer is greatly appreciated (even if you think it might not be important)!! :)
     
  2. I have the same issue. Seems like WorldEdit is no longer up to date. Is it still maintained?
     
  3. I think so..
    I'll try using the WorldEdit Release Candidate for 1.14.4 as it might fix it
     
  4. Fixed it by installing this release candidate.
    Turns out the latest stable one was for 1.14.3
    (I really should stop mixing versions)
     
  5. For future references, a NoSuchMethodError tends to refer to version mitchmatches.
     
  6. Thanks!!
    I'll start downloading right away!!