tab-completion for the schem command crashes in 1.9
LadyCailinBot opened this issue ยท 2 comments
WORLDEDIT-3400 - Reported by justdave72
Typing "/schem load " then hitting tab to see the available completions results in a traceback in the log (and no completions) in 1.9.
Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
at com.sk89q.worldedit.bukkit.BukkitServerInterface.getConnectedUsers(BukkitServerInterface.java:183) ~[worldedit-bukkit-6.1.1-SNAPSHOT-dist.jar:?]
at com.sk89q.worldedit.internal.command.UserCommandCompleter.getSuggestions(UserCommandCompleter.java:60) ~[worldedit-bukkit-6.1.1-SNAPSHOT-dist.jar:?]
at com.sk89q.worldedit.util.command.parametric.ParametricCallable.getSuggestions(ParametricCallable.java:276) ~[worldedit-bukkit-6.1.1-SNAPSHOT-dist.jar:?]
at com.sk89q.worldedit.util.command.SimpleDispatcher.getSuggestions(SimpleDispatcher.java:166) ~[worldedit-bukkit-6.1.1-SNAPSHOT-dist.jar:?]
at com.sk89q.worldedit.util.command.SimpleDispatcher.getSuggestions(SimpleDispatcher.java:166) ~[worldedit-bukkit-6.1.1-SNAPSHOT-dist.jar:?]
at com.sk89q.worldedit.extension.platform.CommandManager.handleCommandSuggestion(CommandManager.java:331) ~[worldedit-bukkit-6.1.1-SNAPSHOT-dist.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_74]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_74]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_74]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_74]
at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58) ~[worldedit-bukkit-6.1.1-SNAPSHOT-dist.jar:?]
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[worldedit-bukkit-6.1.1-SNAPSHOT-dist.jar:?]
... 20 more
Comment by wizjany
worldedit version?
also i'd like to add that most if not all of worldedit commands don't actually have completions programmed in.
Comment by justdave72
Build 3448 from http://builds.enginehub.org/job/worldedit?branch=master
I'm guessing if there's not supposed to be a completion it shouldn't be throwing a traceback either. :-) I'm not real concerned because it doesn't actually crash, it just dumps the traceback in the log. I just figured it might have been something someone missed when porting it to 1.9.