UI Utils

UI Utils

3.7k Downloads

Crash when clicking on Fabricate Packet

Philipou opened this issue ยท 6 comments

commented

Windows 11 1.20.1, when clicking on Fabricate Packet, it just crashes the game.

commented

Logs : ---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 2023-07-30 19:29:03
Description: mouseClicked event handler

java.awt.HeadlessException
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
at java.desktop/java.awt.Window.(Window.java:553)
at java.desktop/java.awt.Frame.(Frame.java:428)
at java.desktop/javax.swing.JFrame.(JFrame.java:224)
at org.uiutils.MainClient.lambda$createWidgets$20(MainClient.java:134)
at net.minecraft.class_4185.method_25306(class_4185.java:94)
at net.minecraft.class_4264.method_25348(class_4264.java:56)
at net.minecraft.class_339.method_25402(class_339.java:189)
at net.minecraft.class_4069.method_25402(class_4069.java:38)
at net.minecraft.class_465.method_25402(class_465.java:290)
at net.minecraft.class_312.method_1611(class_312.java:98)
at net.minecraft.class_437.method_25412(class_437.java:409)
at net.minecraft.class_312.method_1601(class_312.java:98)
at net.minecraft.class_312.method_22686(class_312.java:169)
at net.minecraft.class_1255.execute(class_1255.java:102)
at net.minecraft.class_312.method_22684(class_312.java:169)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:201)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:212)
at net.minecraft.class_1041.method_15998(class_1041.java:288)
at net.minecraft.class_310.method_1523(class_310.java:1241)
at net.minecraft.class_310.method_1514(class_310.java:802)
at net.minecraft.client.main.Main.main(Main.java:250)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

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

-- Head --
Thread: Render thread
Stacktrace:
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
at java.desktop/java.awt.Window.(Window.java:553)
at java.desktop/java.awt.Frame.(Frame.java:428)
at java.desktop/javax.swing.JFrame.(JFrame.java:224)
at org.uiutils.MainClient.lambda$createWidgets$20(MainClient.java:134)
at net.minecraft.class_4185.method_25306(class_4185.java:94)
at net.minecraft.class_4264.method_25348(class_4264.java:56)
at net.minecraft.class_339.method_25402(class_339.java:189)
at net.minecraft.class_4069.method_25402(class_4069.java:38)
at net.minecraft.class_465.method_25402(class_465.java:290)
at net.minecraft.class_312.method_1611(class_312.java:98)
at net.minecraft.class_437.method_25412(class_437.java:409)
at net.minecraft.class_312.method_1601(class_312.java:98)
at net.minecraft.class_312.method_22686(class_312.java:169)
at net.minecraft.class_1255.execute(class_1255.java:102)
at net.minecraft.class_312.method_22684(class_312.java:169)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:201)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:212)

-- Affected screen --
Details:
Screen name: net.minecraft.class_476
Stacktrace:
at net.minecraft.class_437.method_25412(class_437.java:409)
at net.minecraft.class_312.method_1601(class_312.java:98)
at net.minecraft.class_312.method_22686(class_312.java:169)
at net.minecraft.class_1255.execute(class_1255.java:102)
at net.minecraft.class_312.method_22684(class_312.java:169)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:201)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:212)
at net.minecraft.class_1041.method_15998(class_1041.java:288)
at net.minecraft.class_310.method_1523(class_310.java:1241)
at net.minecraft.class_310.method_1514(class_310.java:802)
at net.minecraft.client.main.Main.main(Main.java:250)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Affected level --
Details:
All players: 1 total; [class_746['Philipou_'/238, l='ClientLevel', x=-74.86, y=19.00, z=-112.47]]
Chunk stats: 1024, 145
Level dimension: minecraft:overworld
Level spawn location: World: (7,-54,4), Section: (at 7,10,4 in 0,-4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Level time: 3698589 game time, 4000 day time
Server brand: vanilla
Server type: Non-integrated multiplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:458)
at net.minecraft.class_310.method_1587(class_310.java:2406)
at net.minecraft.class_310.method_1514(class_310.java:821)
at net.minecraft.client.main.Main.main(Main.java:250)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: vanilla, fabric, file/VanillaTweaks_r980496.zip, essential

-- System Details --
Details:
Minecraft Version: 1.20.1
Minecraft Version ID: 1.20.1
Operating System: Windows 11 (amd64) version 10.0
Java Version: 17.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 374197704 bytes (356 MiB) / 805306368 bytes (768 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 16
Processor Vendor: GenuineIntel
Processor Name: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
Identifier: Intel64 Family 6 Model 141 Stepping 1
Microarchitecture: unknown
Frequency (GHz): 2.30
Number of physical packages: 1
Number of physical CPUs: 8
Number of logical CPUs: 16
Graphics card #0 name: Intel(R) UHD Graphics
Graphics card #0 vendor: Intel Corporation (0x8086)
Graphics card #0 VRAM (MB): 1024.00
Graphics card #0 deviceId: 0x9a60
Graphics card #0 versionInfo: DriverVersion=30.0.101.1273
Graphics card #1 name: NVIDIA GeForce RTX 3070 Laptop GPU
Graphics card #1 vendor: NVIDIA (0x10de)
Graphics card #1 VRAM (MB): 4095.00
Graphics card #1 deviceId: 0x249d
Graphics card #1 versionInfo: DriverVersion=31.0.15.3667
Memory slot #0 capacity (MB): 8192.00
Memory slot #0 clockSpeed (GHz): 3.20
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 8192.00
Memory slot #1 clockSpeed (GHz): 3.20
Memory slot #1 type: DDR4
Virtual memory max (MB): 17571.30
Virtual memory used (MB): 12669.13
Swap memory total (MB): 1408.00
Swap memory used (MB): 88.06
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
Fabric Mods:
betteradvancements: Better Advancements 0.3.2.161
betterf3: BetterF3 7.0.1
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.8+e3d6ed2577
blur: Blur (Fabric) 3.1.0
midnightlib: MidnightLib 1.4.1
satin: Satin 1.13.0
cloth-config: Cloth Config v11 11.1.106
cloth-basic-math: cloth-basic-math 0.6.1
elementa: Elementa 590
essential: Essential 13437+deploy-staging+gd2fc09762
essential-container: essential-container 1.0.0
essential-loader: essential-loader 1.2.0
fabric-api: Fabric API 0.85.0+1.20.1
fabric-api-base: Fabric API Base 0.4.29+b04edc7a77
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.34+4d8536c977
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.10+b3afc78b77
fabric-block-api-v1: Fabric Block API (v1) 1.0.9+e022e5d177
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.39+b3afc78b77
fabric-client-tags-api-v1: Fabric Client Tags 1.1.0+97bb207577
fabric-command-api-v1: Fabric Command API (v1) 1.2.32+f71b366f77
fabric-command-api-v2: Fabric Command API (v2) 2.2.11+b3afc78b77
fabric-commands-v0: Fabric Commands (v0) 0.2.49+df3654b377
fabric-containers-v0: Fabric Containers (v0) 0.1.61+df3654b377
fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.8+b3afc78b77
fabric-convention-tags-v1: Fabric Convention Tags 1.5.3+b3afc78b77
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.18+aeb40ebe77
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 12.1.12+b3afc78b77
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.51+b3afc78b77
fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.21+b3afc78b77
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.0+b3afc78b77
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.61+df3654b377
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.38+b04edc7a77
fabric-item-api-v1: Fabric Item API (v1) 2.1.26+b3afc78b77
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.8+40e50c4677
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.36+fb8d95da77
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.34+df3654b377
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.20+b3afc78b77
fabric-loot-api-v2: Fabric Loot API (v2) 1.1.38+b3afc78b77
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.42+9e7660c677
fabric-message-api-v1: Fabric Message API (v1) 5.1.6+b3afc78b77
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.48+b3afc78b77
fabric-models-v0: Fabric Models (v0) 0.3.35+b3afc78b77
fabric-networking-api-v1: Fabric Networking API (v1) 1.3.8+b3afc78b77
fabric-networking-v0: Fabric Networking (v0) 0.3.48+df3654b377
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.1.0+6beca84877
fabric-particles-v1: Fabric Particles (v1) 1.1.0+201a23a077
fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.18+b3afc78b77
fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.2.6+b3afc78b77
fabric-renderer-api-v1: Fabric Renderer API (v1) 3.1.0+c154966e77
fabric-renderer-indigo: Fabric Renderer - Indigo 1.4.0+c154966e77
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.44+df3654b377
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.33+b3afc78b77
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.26+b3afc78b77
fabric-rendering-v0: Fabric Rendering (v0) 1.1.47+df3654b377
fabric-rendering-v1: Fabric Rendering (v1) 3.0.6+b3afc78b77
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.5+ea08f9d877
fabric-screen-api-v1: Fabric Screen API (v1) 2.0.6+b3afc78b77
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.27+b3afc78b77
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.12+b3afc78b77
fabric-transfer-api-v1: Fabric Transfer API (v1) 3.2.3+43a3fedd77
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.2.0+b3afc78b77
fabric-language-kotlin: Fabric Language Kotlin 1.8.2+kotlin.1.7.10
fabricloader: Fabric Loader 0.14.21
forgeconfigapiport: Forge Config API Port 8.0.0
indium: Indium 1.0.21+mc1.20.1
iris: Iris 1.6.4
io_github_douira_glsl-transformer: glsl-transformer 2.0.0-pre13
org_anarres_jcpp: jcpp 1.4.14
org_antlr_antlr4-runtime: antlr4-runtime 4.11.1
java: OpenJDK 64-Bit Server VM 17
lithium: Lithium 0.11.2
logical_zoom: Logical Zoom 0.0.20
minecraft: Minecraft 1.20.1
mobplaques: Mob Plaques 8.0.0
modmenu: Mod Menu 7.2.1
org_jetbrains_annotations: annotations 13.0
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.7.10
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.7.10
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.7.10
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.7.10
org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.18.2
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.6.4
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.6.4
org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.4.0
org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.3.3
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.3.3
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.3.3
puzzleslib: Puzzles Lib 8.0.7
sodium: Sodium 0.4.10+build.27
starlight: Starlight 1.1.2+fabric.dbc156f
uiutils: UI Utils 1.3.1
universalcraft: UniversalCraft 277
vigilance: Vigilance 284
Loaded Shaderpack: (off)
NEC status: No NEC detected
Launched Version: fabric-loader-0.14.21-1.20.1
Backend library: LWJGL version 3.3.1 SNAPSHOT
Backend API: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2 GL version 3.2.0 NVIDIA 536.67, NVIDIA Corporation
Window size: 1920x1080
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
Graphics mode: fancy
Resource Packs: vanilla, fabric, file/VanillaTweaks_r980496.zip
Current Language: en_us
CPU: 16x 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz

commented

image
Can you tell if it has something to do with my installed mods pls thx

commented

I'm not sure if any of the mods are causing that, what launcher do you use? I might be able to provide a fix.

commented

Whatever launcher you are using should be able to change some JVM flags, add -Djava.awt.headless=false, that should fix it.

commented

OK thanks, ill try. I'm using vanilla launcher, the default one

commented

Ok it works thanks ! Sorry for the really long reply, also does the item shadowing works on multiplayer servers ? I can't get the lectern trick to work on hypixel SMP...
(message on discord : philipou for response)