mojira.dev
MC-130136

Converting options.txt: java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Exception while converting options.txt

[0523/212946:INFO:GameCallbacks.cpp(178)] game/xm (Client thread) error Something went wrong upgrading!
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1918)
	at aak.a(SourceFile:23)
	at aak$$Lambda$647/1258120701.apply(Unknown Source)
	at xx.a(SourceFile:154)
	at xx$$Lambda$641/1124131392.apply(Unknown Source)
	at acv$a$1.a(SourceFile:33)
	at acv$a$1$$Lambda$642/1194106760.apply(Unknown Source)
	at wz$a.a(SourceFile:81)
	at adm$1.a(SourceFile:48)
	at adm$1$$Lambda$643/1493755606.apply(Unknown Source)
	at acv$a$1.a(SourceFile:33)
	at acv$a$1$$Lambda$642/1194106760.apply(Unknown Source)
	at acv$a$1.a(SourceFile:33)
	at acv$a$1$$Lambda$642/1194106760.apply(Unknown Source)
	at xx.a(SourceFile:154)
	at xx.b(SourceFile:128)
	at xx.b(SourceFile:123)
	at aak.a(SourceFile:15)
	at aak$$Lambda$580/1671214984.apply(Unknown Source)
	at xi.a(SourceFile:63)
	at xi$$Lambda$537/1649158187.apply(Unknown Source)
	at xi$a.apply(SourceFile:114)
	at aat.b(SourceFile:26)
	at abb$$Lambda$604/1507885816.apply(Unknown Source)
	at aey.a(SourceFile:133)
	at aey.a(SourceFile:124)
	at aey$$Lambda$603/1553893991.apply(Unknown Source)
	at java.util.Optional.map(Optional.java:215)
	at aey.a(SourceFile:123)
	at aey$$Lambda$584/1693658782.apply(Unknown Source)
	at java.util.Optional.flatMap(Optional.java:241)
	at aey.a(SourceFile:122)
	at xm.a(SourceFile:37)
	at xl.b(SourceFile:22)
	at cip.a(SourceFile:1038)
	at cip.a(SourceFile:804)
	at cip.<init>(SourceFile:377)
	at cim.an(SourceFile:404)
	at cim.a(SourceFile:366)
	at net.minecraft.client.main.Main.main(SourceFile:144)

[0523/212946:INFO:GameCallbacks.cpp(178)] game/cip (Client thread) warn Skipping bad option: key_key.command:181
[0523/212946:INFO:GameCallbacks.cpp(178)] game/cip (Client thread) warn Skipping bad option: key_key.screenshot:key.f2
[0523/212946:INFO:GameCallbacks.cpp(178)] game/cip (Client thread) warn Skipping bad option: key_key.hotbar.9:key.9
[0523/212946:INFO:GameCallbacks.cpp(178)] game/cip (Client thread) warn Skipping bad option: key_key.togglePerspective:key.f5
[0523/212946:INFO:GameCallbacks.cpp(178)] game/cip (Client thread) warn Skipping bad option: key_key.chat:key.enter
[0523/212946:INFO:GameCallbacks.cpp(178)] game/cip (Client thread) warn Skipping bad option: key_key.inventory:key.e
[0523/212946:INFO:GameCallbacks.cpp(178)] game/cip (Client thread) warn Skipping bad option: key_key.fullscreen:key.f11
[0523/212946:INFO:GameCallbacks.cpp(178)] game/cip (Client thread) warn Skipping bad option: key_key.loadToolbarActivator:key.x
[0523/212946:INFO:GameCallbacks.cpp(178)] game/cip (Client thread) warn Skipping bad option: key_key.swapHands:key.v

Linked issues

Attachments

Comments

kumasasa

Without logs ?
There is always a log:

Please add the file [.minecraft/launcher_log.txt|http://hopper.minecraft.net/help/finding-minecraft-data-folder] to this ticket.

Mateus Moreira

I apologize, I didn't know about the luncher_log file.
I updated the report and added the file.

kumasasa

Wow, three crashes in one run...
At least the third and fatal one is MC-130088

kumasasa

Ok, that were two crashes, a non-fatal and a fatal. I've split off second one since it's already in an own ticket.

wobst.michael

Please check if that's still an issue for you in 1.13.1.

Mateus Moreira

(Unassigned)

Unconfirmed

Minecraft 18w21a

Retrieved