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

Game Crashes when Shift + Command + Delete 18 characters at once on Anvil

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.14.4 Pre-Release 7
    • Minecraft 1.14.3
    • None
    • Community Consensus
    • Crash

      How to reproduce

      1. Launch Minecraft 1.14.3
      2. Launch any world from any gamemode
      3. Place an item on an anvil, rename it with any 18 character string
      4. attempt to delete all text with shift + command + delete
        game crashes, displaying "saving world"

      Crash report

      Description: Rendering screen
      
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      	at java.lang.String.substring(String.java:1931)
      	at cxa.renderButton(SourceFile:413)
      	at cws.render(SourceFile:83)
      	at dat.render(SourceFile:132)
      	at dko.a(SourceFile:686)
      	at cvo.e(SourceFile:954)
      	at cvo.b(SourceFile:411)
      	at net.minecraft.client.main.Main.main(SourceFile:154)
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- Head --
      Thread: Client thread
      Stacktrace:
      	at java.lang.String.substring(String.java:1931)
      	at cxa.renderButton(SourceFile:413)
      	at cws.render(SourceFile:83)
      	at dat.render(SourceFile:132)
      
      -- Screen render details --
      Details:
      	Screen name: dat
      	Mouse location: Scaled: (243, 82). Absolute: (974.335938, 328.136719)
      	Screen size: Scaled: (480, 270). Absolute: (1920, 1080). Scale factor of 4.000000
      
      -- Affected level --
      Details:
      	All players: 2 total; [dkb['evllve'/402302, l='MpServer', x=-387.23, y=16.00, z=47.24], dkc['Tyzortyler'/401927, l='MpServer', x=-388.75, y=16.00, z=47.53]]
      	Chunk stats: Client Chunk Cache: 729, 484
      	Level dimension: minecraft:overworld
      	Level name: MpServer
      	Level seed: 0
      	Level generator: ID 00 - default, ver 1. Features enabled: false
      	Level generator options: {}
      	Level spawn location: World: (256,63,-160), Chunk: (at 0,3,0 in 16,-10; contains blocks 256,0,-160 to 271,255,-145), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
      	Level time: 65614048 game time, 67581148 day time
      	Level storage version: 0x00000 - Unknown?
      	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
      	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
      	Server brand: vanilla
      	Server type: Non-integrated multiplayer server
      Stacktrace:
      	at dhr.a(SourceFile:421)
      	at cvo.b(SourceFile:1923)
      	at cvo.b(SourceFile:426)
      	at net.minecraft.client.main.Main.main(SourceFile:154)
      

            grum [Mojang] Grum (Erik Broes)
            mhaest Martin
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: