WorldEdit

WorldEdit

43M Downloads

//schematic list returns IllegalArguementException

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDEDIT-3105 - Reported by Deamon.VoxelBox

Using the command '//schematic list' returns an error. The schematics folder has a great many schematics including schematics in nested folder structures if that is any help.

Stack Trace:

[21:05:52 INFO]: Deamon5550 issued server command: //schematic list
[21:05:52 WARN]: java.lang.IllegalArgumentException: Comparison method violates its general contract!
[21:05:52 WARN]: at java.util.TimSort.mergeHi(TimSort.java:868)
[21:05:52 WARN]: at java.util.TimSort.mergeAt(TimSort.java:485)
[21:05:52 WARN]: at java.util.TimSort.mergeCollapse(TimSort.java:410)
[21:05:52 WARN]: at java.util.TimSort.sort(TimSort.java:214)
[21:05:52 WARN]: at java.util.TimSort.sort(TimSort.java:173)
[21:05:52 WARN]: at java.util.Arrays.sort(Arrays.java:659)
[21:05:52 WARN]: at com.sk89q.worldedit.commands.SchematicCommands.list(SchematicCommands.java:231)
[21:05:52 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[21:05:52 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[21:05:52 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[21:05:52 WARN]: at java.lang.reflect.Method.invoke(Method.java:606)
[21:05:52 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:533)
[21:05:52 WARN]: at com.sk89q.worldedit.WorldEdit$1.invokeMethod(WorldEdit.java:258)
[21:05:52 WARN]: at com.sk89q.worldedit.WorldEdit$1.invokeMethod(WorldEdit.java:189)
[21:05:52 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:520)
[21:05:52 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:475)
[21:05:52 WARN]: at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:425)
[21:05:52 WARN]: at com.sk89q.worldedit.WorldEdit.handleCommand(WorldEdit.java:1464)
[21:05:52 WARN]: at org.primesoft.asyncworldedit.worldedit.WorldEditProxy.handleCommand(WorldEditProxy.java:309)
[21:05:52 WARN]: at com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:242)
[21:05:52 WARN]: at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:52)
[21:05:52 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180)
[21:05:52 WARN]: at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:719)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:984)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:829)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:65)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472)
[21:05:52 WARN]: at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618)

version
[21:17:14 INFO]: This server is running CraftBukkit version git-Spigot-1366 (MC: 1.7.5) (Implementing API version 1.7.5-R0.1-SNAPSHOT)
version WorldEdit
[21:17:19 INFO]: WorldEdit version 5.6

and in case this helps too:

$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

$ uname -srvm
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64

commented

Comment by wizjany

WorldEdit doesn't like sub-directories in the schematics folder. Should be fixed now (as in, you won't get the error, sub-directories will still be ignored).