1.0.2: NPE using /help

Gilba

New Member
Jul 29, 2019
8
0
0
Version:
1.0.2

What is the bug:
Direwolf20 1.0.2 Server Linux, x64, java 1.8.0_25 (let me know if you need more specific environment details)
While accessing help on the server console:

/help
--- Showing help page 1 of 16 (/help <page>) ---
/AlterRate <essentia rate> <vis rate>
An unknown error occurred while attempting to perform this command
Couldn't process command: 'help'
java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1283) ~[?:1.8.0_05]
at java.util.regex.Matcher.reset(Matcher.java:309) ~[?:1.8.0_05]
at java.util.regex.Matcher.<init>(Matcher.java:229) ~[?:1.8.0_05]
at java.util.regex.Pattern.matcher(Pattern.java:1093) ~[?:1.8.0_05]
at net.minecraft.util.ChatComponentTranslation.func_150269_b(SourceFile:61) ~[fr.class:?]
at net.minecraft.util.ChatComponentTranslation.func_150270_g(SourceFile:48) ~[fr.class:?]
at net.minecraft.util.ChatComponentTranslation.iterator(SourceFile:147) ~[fr.class:?]
at net.minecraft.util.ChatComponentStyle.func_150260_c(SourceFile:63) ~[fe.class:?]
at net.minecraft.server.MinecraftServer.func_145747_a(MinecraftServer.java:849) ~[MinecraftServer.class:?]
at net.minecraft.command.CommandHelp.func_71515_b(SourceFile:72) ~[au.class:?]
at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:94) [z.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:370) [lt.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:335) [lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]

Mod & Version:
Using Server downloaded through FTB Client 1.4.3. for Direwolf20 1.0.2 for MC 1.7.10

Paste.feed-the-beast.com log:


Can it be repeated:
Every time.
Start server in cli.
Issue /help
Error.

Only seems to impact page one.
/help 2 -/help 15 all seem ok

Known Fix:
 

McJty

Over-Achiever
Mod Developer
May 13, 2014
2,015
2,519
228
twitter.com
This is a problem that I've had forever with modded Minecraft. With 1.6.4 and 1.7.10. With all modpacks that I ever played and also with my own custom modpacks. Never found out what causes it though.