Skip to content

Instantly share code, notes, and snippets.

@AlexandreGerault
Last active June 15, 2022 21:35
Show Gist options
  • Save AlexandreGerault/d4a4dc6c225a7420b170068f745e6159 to your computer and use it in GitHub Desktop.
Save AlexandreGerault/d4a4dc6c225a7420b170068f745e6159 to your computer and use it in GitHub Desktop.
---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.
Time: 15/06/2022 23:20
Description: Rendering screen
java.lang.ClassCastException: class net.minecraft.text.LiteralTextContent cannot be cast to class net.minecraft.text.Text (net.minecraft.text.LiteralTextContent and net.minecraft.text.Text are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @146ba0ac)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at net.minecraft.client.gui.screen.Screen.renderTooltip(Screen.java:181)
at net.minecraft.client.gui.screen.Screen.renderTooltip(Screen.java:176)
at net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.renderTooltip(CreativeInventoryScreen.java:577)
at net.minecraft.client.gui.screen.ingame.HandledScreen.drawMouseoverTooltip(HandledScreen.java:170)
at net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.render(CreativeInventoryScreen.java:548)
at net.minecraft.client.render.GameRenderer.render(GameRenderer.java:884)
at net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1074)
at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:724)
at net.minecraft.client.main.Main.main(Main.java:214)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at net.minecraft.client.gui.screen.Screen.renderTooltip(Screen.java:181)
at net.minecraft.client.gui.screen.Screen.renderTooltip(Screen.java:176)
at net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.renderTooltip(CreativeInventoryScreen.java:577)
at net.minecraft.client.gui.screen.ingame.HandledScreen.drawMouseoverTooltip(HandledScreen.java:170)
at net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.render(CreativeInventoryScreen.java:548)
-- Screen render details --
Details:
Screen name: net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen
Mouse location: Scaled: (213, 120). Absolute: (427.000000, 240.000000)
Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2.000000
Stacktrace:
at net.minecraft.client.render.GameRenderer.render(GameRenderer.java:884)
at net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1074)
at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:724)
at net.minecraft.client.main.Main.main(Main.java:214)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
-- Affected level --
Details:
All players: 1 total; [ClientPlayerEntity['Player429'/193, l='ClientLevel', x=-196.95, y=65.00, z=-239.38]]
Chunk stats: 961, 615
Level dimension: minecraft:overworld
Level spawn location: World: (-112,66,-144), Section: (at 0,2,0 in -7,4,-9; chunk contains blocks -112,-64,-144 to -97,319,-129), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,-64,-512 to -1,319,-1)
Level time: 341928 game time, 341928 day time
Server brand: fabric
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.world.ClientWorld.addDetailsToCrashReport(ClientWorld.java:424)
at net.minecraft.client.MinecraftClient.addDetailsToCrashReport(MinecraftClient.java:2053)
at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:742)
at net.minecraft.client.main.Main.main(Main.java:214)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: Default, Fabric Mods
-- System Details --
Details:
Minecraft Version: 1.19
Minecraft Version ID: 1.19
Operating System: Windows 11 (amd64) version 10.0
Java Version: 18.0.1.1, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 3111070608 bytes (2966 MiB) / 4873781248 bytes (4648 MiB) up to 8535408640 bytes (8140 MiB)
CPUs: 20
Processor Vendor: GenuineIntel
Processor Name: 12th Gen Intel(R) Core(TM) i7-12700K
Identifier: Intel64 Family 6 Model 151 Stepping 2
Microarchitecture: unknown
Frequency (GHz): 3,61
Number of physical packages: 1
Number of physical CPUs: 12
Number of logical CPUs: 20
Graphics card #0 name: Intel(R) UHD Graphics 770
Graphics card #0 vendor: Intel Corporation (0x8086)
Graphics card #0 VRAM (MB): 1024,00
Graphics card #0 deviceId: 0x4680
Graphics card #0 versionInfo: DriverVersion=30.0.101.1340
Graphics card #1 name: Radeon (TM) RX 470 Graphics
Graphics card #1 vendor: Advanced Micro Devices, Inc. (0x1002)
Graphics card #1 VRAM (MB): 4095,00
Graphics card #1 deviceId: 0x67df
Graphics card #1 versionInfo: DriverVersion=30.0.13023.4001
Memory slot #0 capacity (MB): 16384,00
Memory slot #0 clockSpeed (GHz): 2,13
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 16384,00
Memory slot #1 clockSpeed (GHz): 2,13
Memory slot #1 type: DDR4
Virtual memory max (MB): 37423,87
Virtual memory used (MB): 25904,49
Swap memory total (MB): 4864,00
Swap memory used (MB): 0,00
JVM Flags: 0 total;
Fabric Mods:
fabric: Fabric API 0.56.0+1.19
fabric-api-base: Fabric API Base 0.4.9+e62f51a3a9
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.7+9ff28f40a9
fabric-biome-api-v1: Fabric Biome API (v1) 9.0.13+b2a4a624a9
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.18+9ff28f40a9
fabric-command-api-v2: Fabric Command API (v2) 2.1.1+cda9839ba9
fabric-content-registries-v0: Fabric Content Registries (v0) 3.1.0+4a3ec384a9
fabric-convention-tags-v1: Fabric Convention Tags 1.0.8+37622d24a9
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.3+bd0a0d4aa9
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 5.0.1+2a5b9210a9
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.27+72da3b3da9
fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.16+9ff28f40a9
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.26+9ff28f40a9
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.19+18990361a9
fabric-gametest-api-v1: Fabric Game Test API (v1) 1.0.30+e62f51a3a9
fabric-item-api-v1: Fabric Item API (v1) 1.5.4+767db26ea9
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.23+9ff28f40a9
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.18+9ff28f40a9
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.1.0+33fbc738a9
fabric-loot-api-v2: Fabric Loot API (v2) 1.0.1+9e7660c6a9
fabric-message-api-v1: Fabric Message API (v1) 1.0.1+513f4a59a9
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.8+33fbc738a9
fabric-models-v0: Fabric Models (v0) 0.3.15+9ff28f40a9
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.27+7fe97409a9
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 4.0.5+9ff28f40a9
fabric-particles-v1: Fabric Particles (v1) 1.0.8+dc39553aa9
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.16+92cf9a3ea9
fabric-renderer-api-v1: Fabric Renderer API (v1) 1.0.8+9ff28f40a9
fabric-renderer-indigo: Fabric Renderer - Indigo 0.6.6+9ff28f40a9
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.12+9ff28f40a9
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.5+9ff28f40a9
fabric-rendering-v1: Fabric Rendering (v1) 1.10.14+9ff28f40a9
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.9+e62f51a3a9
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.5.3+9e7660c6a9
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.23+9ff28f40a9
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.6+9ff28f40a9
fabric-textures-v0: Fabric Textures (v0) 1.0.18+9ff28f40a9
fabric-transfer-api-v1: Fabric Transfer API (v1) 2.0.9+e62f51a3a9
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.1.1+9e7660c6a9
fabricloader: Fabric Loader 0.14.8
java: OpenJDK 64-Bit Server VM 18
mcrp: Mcrp 1.9+1.0.3-SNAPSHOT
minecraft: Minecraft 1.19
nbttooltip: NBT Tooltip 1.6.0
cloth-config: Cloth Config v6 6.2.57
cloth-basic-math: cloth-basic-math 0.6.0
Launched Version: Fabric
Backend library: LWJGL version 3.3.1 SNAPSHOT
Backend API: Radeon (TM) RX 470 Graphics GL version 3.2.14761 Core Profile Forward-Compatible Context 21.30.23.04 30.0.13023.4001, ATI Technologies Inc.
Window size: 854x480
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
Type: Integrated Server (map_client.txt)
Graphics mode: fancy
Resource Packs: vanilla, Fabric Mods
Current Language: English (US)
CPU: 20x 12th Gen Intel(R) Core(TM) i7-12700K
Server Running: true
Player Count: 1 / 8; [ServerPlayerEntity['Player429'/193, l='ServerLevel[New World]', x=-196.95, y=65.00, z=-239.38]]
Data Packs: vanilla, Fabric Mods
World Generation: Stable
```
java.lang.ClassCastException: class net.minecraft.text.LiteralTextContent cannot be cast to class net.minecraft.text.Text (net.minecraft.text.LiteralTextContent and net.minecraft.text.Text are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @6e06451e)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at net.minecraft.client.gui.screen.Screen.renderTooltip(Screen.java:181)
Caused by: java.lang.ClassCastException: class net.minecraft.text.LiteralTextContent cannot be cast to class net.minecraft.text.Text (net.minecraft.text.LiteralTextContent and net.minecraft.text.Text are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @6e06451e)
at net.minecraft.client.gui.screen.Screen.renderTooltip(Screen.java:176)
at net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.renderTooltip(CreativeInventoryScreen.java:577)
at net.minecraft.client.gui.screen.ingame.HandledScreen.drawMouseoverTooltip(HandledScreen.java:170)
at net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.render(CreativeInventoryScreen.java:548)
at net.minecraft.client.render.GameRenderer.render(GameRenderer.java:884)
at net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1074)
at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:724)
at net.minecraft.client.main.Main.main(Main.java:214)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment