The-Fireplace-Minecraft-Mods / TickDynamic

Public Issues repository for the Minecraft mod Tick Dynamic.
MIT License
15 stars 3 forks source link

Failed to tab complete `/tickdynamic world` command #56

Open f-michaut opened 4 years ago

f-michaut commented 4 years ago

I was trying to autocomplete the world id for the /tickdynamic world in the server's console, and i run into this error :

[11:58:13] [Server console handler/ERROR] [net.minecraftforge.server.console.ConsoleCommandCompleter]: Failed to tab complete
java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_231]
        at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_231]
        at net.minecraftforge.server.console.ConsoleCommandCompleter.complete(ConsoleCommandCompleter.java:67) ~[server.jar:?]
        at org.jline.reader.impl.LineReaderImpl.doComplete(LineReaderImpl.java:3765) ~[jline-3.5.1.jar:?]
        at org.jline.reader.impl.LineReaderImpl.expandOrComplete(LineReaderImpl.java:3684) ~[jline-3.5.1.jar:?]
        at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:552) [jline-3.5.1.jar:?]
        at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:390) [jline-3.5.1.jar:?]
        at net.minecraftforge.server.console.TerminalHandler.handleCommands(TerminalHandler.java:61) [TerminalHandler.class:?]
        at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:99) [nz$2.class:?]
Caused by: java.lang.NullPointerException
        at net.minecraft.server.MinecraftServer.getTabCompletions(MinecraftServer.java:922) ~[MinecraftServer.class:?]
        at net.minecraftforge.server.console.ConsoleCommandCompleter.lambda$complete$0(ConsoleCommandCompleter.java:63) ~[ConsoleCommandCompleter.class:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_231]
        at net.minecraft.util.Util.runTask(SourceFile:529) ~[h.class:?]
        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:723) ~[MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:397) ~[nz.class:?]
        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) ~[MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) ~[MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_231]
[11:58:13] [Server thread/FATAL] [VanillaFix]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_231]
        at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_231]
        at net.minecraft.util.Util.runTask(SourceFile:531) [h.class:?]
        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:723) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:397) [nz.class:?]
        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231]
Caused by: java.lang.NullPointerException
        at net.minecraft.server.MinecraftServer.getTabCompletions(MinecraftServer.java:922) ~[MinecraftServer.class:?]
        at net.minecraftforge.server.console.ConsoleCommandCompleter.lambda$complete$0(ConsoleCommandCompleter.java:63) ~[ConsoleCommandCompleter.class:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_231]
        at net.minecraft.util.Util.runTask(SourceFile:529) ~[h.class:?]
        ... 5 more
> /tickdynamic world

TickDynamic : Version 1.0.2 for MC 1.12.2 Forge : Version 14.23.5.2847 for MC 1.12.2

(i'm using some others mods, i can give a full list with all the versions if needed)