`in:Entity_` in the spell programmer search causes client crash
vitrvvivs opened this issue ยท 0 comments
The game crashes as soon as the underscore is entered, before it's displayed. This does not happen on most inputs (in:Num_
works, but in:Number_
doesn't). No other character than underscore causes this crash, even random, non-displayable unicode.
This is the exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: 7
at java.lang.String.charAt(String.java:646)
at vazkii.psi.client.gui.GuiProgrammer.rankTextToken(GuiProgrammer.java:1016)
at vazkii.psi.client.gui.GuiProgrammer.ranking(GuiProgrammer.java:962)
at vazkii.psi.client.gui.GuiProgrammer.updatePanelButtons(GuiProgrammer.java:897)
at vazkii.psi.client.gui.GuiProgrammer.func_73869_a(GuiProgrammer.java:536)
at net.minecraft.client.gui.GuiScreen.func_146282_l(GuiScreen.java:558)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:512)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1759)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1098)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
And here are the full crash reports:
in:Entity_
: crash-2020-05-11_08.08.15-client.txt (String index out of range: 7
)
@psi_
: crash-2020-05-11_08.22.02-client.txt (String index out of range: 4
)
out:Number_
: crash-2020-05-11_08.25.45-client.txt (String index out of range: 7
)