VerifyError: Bad type on operand stack
LadyCailinBot opened this issue ยท 2 comments
WORLDEDIT-3536 - Reported by mibby
WorldEdit dev 3674
Paper dev 1026 (Spigot 1.11.2)
Java 8 Update 112 (64-bit).
@wizjany This commit breaks worldedit for me.
66aa881
WorldEdit dev 3670 loads fine.
[00:04:27] [Server thread/INFO]: [WorldEdit] Enabling WorldEdit v6.1.7-SNAPSHOT;3674-9f24f84
[00:04:27] [Server thread/ERROR]: Error occurred while enabling WorldEdit v6.1.7-SNAPSHOT;3674-9f24f84 (Is it up to date?)
java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
com/sk89q/worldedit/command/RegionCommands.smooth(Lcom/sk89q/worldedit/entity/Player;Lcom/sk89q/worldedit/EditSession;Lcom/sk89q/worldedit/regions/Region;IZ)V @26: invokespecial
Reason:
Type 'com/sk89q/worldedit/math/convolution/GaussianKernel' (current frame, stack[2]) is not assignable to 'java/awt/image/Kernel'
Current Frame:
bci: @26
flags: { }
locals: { 'com/sk89q/worldedit/command/RegionCommands', 'com/sk89q/worldedit/entity/Player', 'com/sk89q/worldedit/EditSession', 'com/sk89q/worldedit/regions/Region', integer, integer, 'com/sk89q/worldedit/math/convolution/HeightMap' }
stack: { uninitialized 13, uninitialized 13, 'com/sk89q/worldedit/math/convolution/GaussianKernel' }
Bytecode:
0x0000000: bb02 8559 2c2d 1505 b702 883a 06bb 028a
0x0000010: 59bb 028c 5908 0fb7 028f b702 923a 0719
0x0000020: 0619 0715 04b6 0296 3608 b201 432b 04bd
0x0000030: 0004 5903 1508 b800 7753 b601 46b1
at com.sk89q.worldedit.extension.platform.CommandManager.<init>(CommandManager.java:164) ~[?:?]
at com.sk89q.worldedit.extension.platform.PlatformManager.<init>(PlatformManager.java:95) ~[?:?]
at com.sk89q.worldedit.WorldEdit.<init>(WorldEdit.java:95) ~[?:?]
at com.sk89q.worldedit.WorldEdit.<clinit>(WorldEdit.java:91) ~[?:?]
at com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:100) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[patched_1.11.2.jar:git-Paper-1026]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) [patched_1.11.2.jar:git-Paper-1026]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [patched_1.11.2.jar:git-Paper-1026]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:377) [patched_1.11.2.jar:git-Paper-1026]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:327) [patched_1.11.2.jar:git-Paper-1026]
at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:433) [patched_1.11.2.jar:git-Paper-1026]
at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:394) [patched_1.11.2.jar:git-Paper-1026]
at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:332) [patched_1.11.2.jar:git-Paper-1026]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:276) [patched_1.11.2.jar:git-Paper-1026]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:599) [patched_1.11.2.jar:git-Paper-1026]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_112]
[00:04:27] [Server thread/INFO]: [WorldEdit] Disabling WorldEdit v6.1.7-SNAPSHOT;3674-9f24f84
[00:04:27] [Server thread/ERROR]: Error occurred while disabling WorldEdit v6.1.7-SNAPSHOT;3674-9f24f84 (Is it up to date?)
java.lang.NoClassDefFoundError: Could not initialize class com.sk89q.worldedit.WorldEdit
at com.sk89q.worldedit.bukkit.WorldEditPlugin.onDisable(WorldEditPlugin.java:171) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:273) ~[patched_1.11.2.jar:git-Paper-1026]
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:344) [patched_1.11.2.jar:git-Paper-1026]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:320) [patched_1.11.2.jar:git-Paper-1026]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [patched_1.11.2.jar:git-Paper-1026]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:377) [patched_1.11.2.jar:git-Paper-1026]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:327) [patched_1.11.2.jar:git-Paper-1026]
at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:433) [patched_1.11.2.jar:git-Paper-1026]
at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:394) [patched_1.11.2.jar:git-Paper-1026]
at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:332) [patched_1.11.2.jar:git-Paper-1026]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:276) [patched_1.11.2.jar:git-Paper-1026]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:599) [patched_1.11.2.jar:git-Paper-1026]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_112]
Comment by wizjany
can you redownload the jar and make sure you don't have any other worldedit jars? we don't reference the awt kernel class anywhere anymore. http://i.imgur.com/Krrgysi.png