java.lang.NoSuchMethodError exception in the console log
LadyCailinBot opened this issue ยท 3 comments
WORLDEDIT-3790 - Reported by WaterDemon
Looks like latest spigot and worldedit are not ok. not sure which one)
Bunch of errors in the console like:
[13:43:11] [Server thread/INFO]: MOBStorage issued server command: //set 0 [13:43:11] [Server thread/ERROR]: [WorldEdit] An unexpected error while handling a WorldEdit command java.lang.NoSuchMethodError: net.minecraft.server.v1_13_R2.NBTTagInt.e()I at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_13_R2.toNative(Spigot_v1_13_R2.java:403) ~[?:?] at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_13_R2.toNative(Spigot_v1_13_R2.java:391) ~[?:?] at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_13_R2.getBlock(Spigot_v1_13_R2.java:237) ~[?:?] at com.sk89q.worldedit.bukkit.BukkitWorld.getFullBlock(BukkitWorld.java:445) ~[?:?] 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.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:63) ~[?:?] 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:518) ~[?:?] at com.sk89q.worldedit.EditSession.setBlock(EditSession.java:561) ~[?:?] 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.composition.SelectionCommand.call(SelectionCommand.java:84) ~[?:?] at com.sk89q.worldedit.command.composition.SelectionCommand.call(SelectionCommand.java:46) ~[?:?] at com.sk89q.worldedit.util.command.composition.LegacyCommandAdapter.call(LegacyCommandAdapter.java:52) ~[?:?] at com.sk89q.worldedit.util.command.SimpleDispatcher.call(SimpleDispatcher.java:125) ~[?:?] at com.sk89q.worldedit.extension.platform.CommandManager.handleCommand(CommandManager.java:275) ~[?:?] at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] 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:187) ~[?:?] at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173) ~[?:?] at com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:231) ~[?:?] at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:139) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:702) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1641) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1476) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181] at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-survival-1.13.2.jar:git-Spigot-e769fe4-5f5a676] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
[13:59:02] [Server thread/INFO]: WorldEdit: MOBStorage (in "survival"): /regen - Region: (-11344, 0, 1520) - (-11297, 255, 1583) [13:59:04] [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_181] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at com.sk89q.worldedit.util.command.parametric.ParametricCallable.call(ParametricCallable.java:243) ~[?:?] at com.sk89q.worldedit.util.command.SimpleDispatcher.call(SimpleDispatcher.java:125) ~[?:?] at com.sk89q.worldedit.extension.platform.CommandManager.handleCommand(CommandManager.java:275) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] 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:187) ~[?:?] at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173) ~[?:?] at com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:231) ~[?:?] at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:139) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:702) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1641) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1476) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181] at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-survival-1.13.2.jar:git-Spigot-e769fe4-068dab5] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] Caused by: java.lang.NoSuchMethodError: net.minecraft.server.v1_13_R2.NBTTagShort.f()S at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_13_R2.toNative(Spigot_v1_13_R2.java:418) ~[?:?] at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_13_R2.toNative(Spigot_v1_13_R2.java:391) ~[?:?] at com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_13_R2.getBlock(Spigot_v1_13_R2.java:237) ~[?:?] at com.sk89q.worldedit.bukkit.BukkitWorld.getFullBlock(BukkitWorld.java:445) ~[?:?] at com.sk89q.worldedit.EditSession.getFullBlock(EditSession.java:482) ~[?:?] at com.sk89q.worldedit.bukkit.BukkitWorld.regenerate(BukkitWorld.java:180) ~[?:?] at com.sk89q.worldedit.command.RegionCommands.regenerateChunk(RegionCommands.java:355) ~[?:?] ... 32 more
[14:00:31 INFO]: This server is running CraftBukkit version git-Spigot-e769fe4-068dab5 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
[14:00:31 INFO]: You are running the latest version
worldedit version
[14:01:36 INFO]: WorldEdit version (unknown)
[14:01:36 INFO]: https://github.com/sk89q/worldedit/
[14:01:36 INFO]: ----------- Platforms -----------
[14:01:36 INFO]: * Bukkit-Official (7.0.0-SNAPSHOT;3955-b1d8d49)
[14:01:36 INFO]: ----------- Capabilities -----------
[14:01:36 INFO]: GAME_HOOKS: Bukkit-Official
[14:01:36 INFO]: CONFIGURATION: Bukkit-Official
[14:01:36 INFO]: USER_COMMANDS: Bukkit-Official
[14:01:36 INFO]: PERMISSIONS: Bukkit-Official
[14:01:36 INFO]: WORLDEDIT_CUI: Bukkit-Official
[14:01:36 INFO]: WORLD_EDITING: Bukkit-Official
Comment by WaterDemon
thank you @me4502 for such a lightning solution