Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-130136

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Awaiting Response
    • Affects Version/s: Minecraft 18w21a
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Java 18w21a, Windows 10, java 1.8
    • Confirmation Status:
      Unconfirmed

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                LichtHund Mateus Moreira
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: