mojira.dev
MC-156389

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

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

1.14.3\: [^crash-2019-07-09_16.22.47-client.txt]

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)

Linked issues

Attachments

Comments 2

Please attach the crash report found in [minecraft/crash-reports/crash-<DATE>-client.txt|http://hopper.minecraft.net/help/guides/finding-minecraft-data-folder] here.
If you cannot find a crash report, please attach the full launcher log found in [minecraft/launcher_log.txt|http://hopper.minecraft.net/help/guides/minecraft-logs/].

This issue has been temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

I was able to reproduce the bug

Martin

Erik Broes

Community Consensus

Crash

Minecraft 1.14.3

1.14.4 Pre-Release 7

Retrieved