mojira.dev
MC-177788

text dosent align on book (crashes)

I was playing Minecraft on a dissent sized server then I was righting a book and quill, but the flashing line that usually appears did not align properly with where I was actually typing (it was a few letters behind but wasn't consistent), then I decided to click on it do select exactly where I type then it crashed (it said text out of bounds on the launcher)

in the image you can see the _ under a letter it's supposed to show up as an l if it's in the middle but I'm actually selecting the last letter of this book

Environment


Minecraft Crash Report ----
// Don't do that.

Time: 4/8/20 9:50 AM
Description: Rendering screen

java.lang.StringIndexOutOfBoundsException: String index out of range: 200
at java.lang.String.substring(String.java:1951)
at dha.m(SourceFile:573)
at dha.render(SourceFile:532)
at dqn.a(SourceFile:604)
at dbn.d(SourceFile:989)
at dbn.d(SourceFile:619)
at net.minecraft.client.main.Main.main(SourceFile:204)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

– Head –
Thread: Render thread
Stacktrace:
at java.lang.String.substring(String.java:1951)
at dha.m(SourceFile:573)
at dha.render(SourceFile:532)

– Screen render details –
Details:
Screen name: dha
Mouse location: Scaled: (354, 168). Absolute: (1063.000000, 505.000000)
Screen size: Scaled: (640, 360). Absolute: (1920, 1080). Scale factor of 3.000000

– Affected level –
Details:
All players: 1 total; [dqb['ender_master4'/1075478, l='MpServer', x=1611.42, y=52.38, z=-1252.01]]
Chunk stats: Client Chunk Cache: 18225, 122
Level dimension: minecraft:overworld
Level name: MpServer
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options: {}
Level spawn location: World: (-675,51,-106), Chunk: (at 13,3,6 in -43,-7; contains blocks -688,0,-112 to -673,255,-97), Region: (-2,-1; contains chunks -64,-32 to -33,-1, blocks -1024,0,-512 to -513,255,-1)
Level time: 80304 game time, 6000 day time
Known server brands:
Level was modded: false
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Server brand: Waterfall (git:Waterfall-Bootstrap:1.15-SNAPSHOT:a16947e:318) <- Paper
Server type: Non-integrated multiplayer server
Stacktrace:
at dno.a(SourceFile:450)
at dbn.c(SourceFile:1921)
at dbn.d(SourceFile:634)
at net.minecraft.client.main.Main.main(SourceFile:204)

– System Details –
Details:
Minecraft Version: 1.15.2
Minecraft Version ID: 1.15.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 958740720 bytes (914 MB) / 1912602624 bytes (1824 MB) up to 2147483648 bytes (2048 MB)
CPUs: 8
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Launched Version: 1.15.2
Backend library: LWJGL version 3.2.2 build 10
Backend API: Intel(R) HD Graphics 4600 GL version 4.3.0 - Build 20.19.15.5058, Intel
GL Caps: Using framebuffer using OpenGL 3.0
Using VBOs: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs: vanilla, file/Lower Fire (incompatible), file/Lower Shield (incompatible)
Current Language: English (Canada)
CPU: 8x Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz

Linked issues

Attachments

Comments 3

This is likely a duplicate of MC-149792, which is fixed. Please check if it still affects the latest version (currently 1.16-Prerelease 2).

This is likely a duplicate of MC-149792, which is fixed. Please check if it still affects the latest version (currently 1.16-Prerelease 2).

migrated

(Unassigned)

Unconfirmed

1.15.2

Retrieved