TeamMidnightDust/MidnightControls

Crash: Creative inventory tab switch crash

Pokeblue992 opened this issue · 0 comments

Describe the bug
Attempting to switch tabs using bumpers in the creative inventory causes a crash

To Reproduce
Steps to reproduce the behavior:

  1. Start Minecraft (Fabric 0.15.11-1.20.6)
  2. Open any world or server with access to creative mode
  3. Open creative mode inventory
  4. Press A while cursor is on a tab; it works as intended.
  5. Attempt to switch tabs by pressing either bumper button, game freezes for a moment and crashes

Expected behavior
Pressing right or left bumper moves creative inventory view to the next or previous category respectively.

Screenshots
2024-06-20_12 51 23
**
image
**

Desktop (please complete the following information):

  • OS: Windows 10
  • Minecraft 1.20.6
  • Fabric 0.15.11-1.20.6
  • FabricAPI 0.100.2
  • Mods: MidnightControls 1.9.5
  • Controller: Xbox One (MicroUSB, default controls)

CRASH LOG
as a file:
crash-2024-06-20_12.45.39-client.txt

plain text:
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 2024-06-20 12:45:39
Description: Unexpected error

java.lang.NoClassDefFoundError: net/fabricmc/fabric/impl/client/itemgroup/CreativeGuiExtensions
at eu.midnightdust.midnightcontrols.client.controller.InputHandlers.lambda$getVisibleGroups$0(InputHandlers.java:70)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722)
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.AbstractPipeline.evaluate(AbstractPipeline.java:575)
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
at eu.midnightdust.midnightcontrols.client.controller.InputHandlers.getVisibleGroups(InputHandlers.java:71)
at eu.midnightdust.midnightcontrols.client.controller.InputHandlers.lambda$handleHotbar$3(InputHandlers.java:104)
at eu.midnightdust.midnightcontrols.client.controller.ButtonBinding.handle(ButtonBinding.java:265)
at eu.midnightdust.midnightcontrols.client.controller.InputManager.lambda$updateBindings$10(InputManager.java:363)
at it.unimi.dsi.fastutil.objects.Object2ObjectMap.lambda$forEach$0(Object2ObjectMap.java:209)
at it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap$MapEntrySet.fastForEach(Object2ObjectOpenHashMap.java:1004)
at it.unimi.dsi.fastutil.objects.Object2ObjectMap.forEach(Object2ObjectMap.java:211)
at eu.midnightdust.midnightcontrols.client.controller.InputManager.updateBindings(InputManager.java:361)
at eu.midnightdust.midnightcontrols.client.MidnightInput.tickController(MidnightInput.java:151)
at eu.midnightdust.midnightcontrols.client.MidnightControlsClient.onTick(MidnightControlsClient.java:221)
at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.lambda$static$0(ClientTickEvents.java:34)
at net.minecraft.class_310.handler$zfi000$fabric-lifecycle-events-v1$onStartTick(class_310.java:4242)
at net.minecraft.class_310.method_1574(class_310.java)
at net.minecraft.class_310.method_1523(class_310.java:1281)
at net.minecraft.class_310.method_1514(class_310.java:888)
at net.minecraft.client.main.Main.main(Main.java:265)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.impl.client.itemgroup.CreativeGuiExtensions
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
... 29 more

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

-- Head --
Thread: Render thread
Stacktrace:
at eu.midnightdust.midnightcontrols.client.controller.InputHandlers.lambda$getVisibleGroups$0(InputHandlers.java:70)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722)
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.AbstractPipeline.evaluate(AbstractPipeline.java:575)
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
at eu.midnightdust.midnightcontrols.client.controller.InputHandlers.getVisibleGroups(InputHandlers.java:71)
at eu.midnightdust.midnightcontrols.client.controller.InputHandlers.lambda$handleHotbar$3(InputHandlers.java:104)
at eu.midnightdust.midnightcontrols.client.controller.ButtonBinding.handle(ButtonBinding.java:265)
at eu.midnightdust.midnightcontrols.client.controller.InputManager.lambda$updateBindings$10(InputManager.java:363)
at it.unimi.dsi.fastutil.objects.Object2ObjectMap.lambda$forEach$0(Object2ObjectMap.java:209)
at it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap$MapEntrySet.fastForEach(Object2ObjectOpenHashMap.java:1004)
at it.unimi.dsi.fastutil.objects.Object2ObjectMap.forEach(Object2ObjectMap.java:211)
at eu.midnightdust.midnightcontrols.client.controller.InputManager.updateBindings(InputManager.java:361)
at eu.midnightdust.midnightcontrols.client.MidnightInput.tickController(MidnightInput.java:151)
at eu.midnightdust.midnightcontrols.client.MidnightControlsClient.onTick(MidnightControlsClient.java:221)
at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.lambda$static$0(ClientTickEvents.java:34)
at net.minecraft.class_310.handler$zfi000$fabric-lifecycle-events-v1$onStartTick(class_310.java:4242)

-- Uptime --
Details:
JVM uptime: 54.387s
Wall uptime: 39.280s
High-res time: 36.898s
Client ticks: 581 ticks / 29.050s
Stacktrace:
at net.minecraft.class_310.method_1587(class_310.java:2548)
at net.minecraft.class_310.method_54580(class_310.java:983)
at net.minecraft.class_310.method_1514(class_310.java:911)
at net.minecraft.client.main.Main.main(Main.java:265)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
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['yocarmine'/45, l='ClientLevel', x=-12.16, y=6.12, z=266.83]]
Chunk stats: 1849, 1261
Level dimension: minecraft:overworld
Level spawn location: World: (-32,4,240), Section: (at 0,4,0 in -2,0,15; chunk contains blocks -32,-64,240 to -17,319,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
Level time: 253552 game time, 13000 day time
Server brand: fabric
Server type: Integrated singleplayer server
Tracked entity count: 236

-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: vanilla, fabric, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-models-v0, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, midnightcontrols, midnightlib, spruceui

-- System Details --
Details:
Minecraft Version: 1.20.6
Minecraft Version ID: 1.20.6
Operating System: Windows 10 (amd64) version 10.0
Java Version: 21.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 587252640 bytes (560 MiB) / 1174405120 bytes (1120 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 12
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Identifier: Intel64 Family 6 Model 158 Stepping 10
Microarchitecture: Coffee Lake
Frequency (GHz): 3.19
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: NVIDIA GeForce GTX 1080
Graphics card #0 vendor: NVIDIA
Graphics card #0 VRAM (MB): 8192.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 31.0.15.5134
Graphics card #1 name: Intel(R) UHD Graphics 630
Graphics card #1 vendor: Intel Corporation
Graphics card #1 VRAM (MB): 1024.00
Graphics card #1 deviceId: VideoController2
Graphics card #1 versionInfo: 31.0.101.2111
Memory slot #0 capacity (MB): 16384.00
Memory slot #0 clockSpeed (GHz): 2.67
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 16384.00
Memory slot #1 clockSpeed (GHz): 2.67
Memory slot #1 type: DDR4
Memory slot #2 capacity (MB): 16384.00
Memory slot #2 clockSpeed (GHz): 2.67
Memory slot #2 type: DDR4
Memory slot #3 capacity (MB): 16384.00
Memory slot #3 clockSpeed (GHz): 2.67
Memory slot #3 type: DDR4
Virtual memory max (MB): 75125.70
Virtual memory used (MB): 13122.11
Swap memory total (MB): 9728.00
Swap memory used (MB): 3.05
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:
fabric-api: Fabric API 0.100.2+1.20.6
fabric-api-base: Fabric API Base 0.4.40+80f8cf51b0
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.59+e9d2a72bb0
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.25+be5d88beb0
fabric-block-api-v1: Fabric Block API (v1) 1.0.20+6dfe4c9bb0
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.8+80f8cf51b0
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.50+80f8cf51b0
fabric-client-tags-api-v1: Fabric Client Tags 1.1.12+7f945d5bb0
fabric-command-api-v1: Fabric Command API (v1) 1.2.45+f71b366fb0
fabric-command-api-v2: Fabric Command API (v2) 2.2.24+80f8cf51b0
fabric-commands-v0: Fabric Commands (v0) 0.2.62+df3654b3b0
fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.6+b82b2392b0
fabric-convention-tags-v1: Fabric Convention Tags 2.0.7+7f945d5bb0
fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.1.3+f4bfb622b0
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.27+80f8cf51b0
fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.1.17+2a2c66b6b0
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 19.2.3+a5d5299db0
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.68+94793913b0
fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.8+e9d2a72bb0
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.6+c5fc38b3b0
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.50+80f8cf51b0
fabric-item-api-v1: Fabric Item API (v1) 8.2.3+6e5bbc4ab0
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.1.1+f4bfb622b0
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.45+80f8cf51b0
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.43+df3654b3b0
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.4+c5fc38b3b0
fabric-loot-api-v2: Fabric Loot API (v2) 3.0.6+97f703dab0
fabric-message-api-v1: Fabric Message API (v1) 6.0.11+a7dc0e41b0
fabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.12+80f8cf51b0
fabric-models-v0: Fabric Models (v0) 0.4.11+9386d8a7b0
fabric-networking-api-v1: Fabric Networking API (v1) 4.2.0+a916f7c5b0
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.1.5+c5fc38b3b0
fabric-particles-v1: Fabric Particles (v1) 4.0.0+c5fc38b3b0
fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.5+c5fc38b3b0
fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.0.18+a916f7c5b0
fabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.12+97f703dab0
fabric-renderer-indigo: Fabric Renderer - Indigo 1.5.14+41791025b0
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.61+df3654b3b0
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.46+73761d2eb0
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.3+2c869dedb0
fabric-rendering-v0: Fabric Rendering (v0) 1.1.64+df3654b3b0
fabric-rendering-v1: Fabric Rendering (v1) 4.2.4+b21c00cbb0
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.2.0+a5d5299db0
fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.1.1+f4bfb622b0
fabric-screen-api-v1: Fabric Screen API (v1) 2.0.21+7b70ea8ab0
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.75+8c7b71c2b0
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.21+c5fc38b3b0
fabric-transfer-api-v1: Fabric Transfer API (v1) 5.1.6+c5fc38b3b0
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.0.10+74e2f560b0
fabricloader: Fabric Loader 0.15.11
mixinextras: MixinExtras 0.3.5
java: OpenJDK 64-Bit Server VM 21
midnightcontrols: MidnightControls 1.9.5+1.20
midnightlib: MidnightLib 1.5.4
org_aperlambda_lambdajcommon: lambdajcommon 1.8.1
spruceui: SpruceUI 5.0.3+1.20.4
minecraft: Minecraft 1.20.6
Launched Version: fabric-loader-0.15.11-1.20.6
Launcher name: minecraft-launcher
Backend library: LWJGL version 3.3.3-snapshot
Backend API: NVIDIA GeForce GTX 1080/PCIe/SSE2 GL version 3.2.0 NVIDIA 551.34, 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'; Server brand changed to 'fabric'
Universe: 400921fb54442d18
Type: Integrated Server (map_client.txt)
Graphics mode: fancy
Render Distance: 18/18 chunks
Resource Packs: vanilla, fabric, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-models-v0, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, midnightcontrols, midnightlib, spruceui
Current Language: en_us
Locale: en_US
CPU: 12x Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Server Running: true
Player Count: 1 / 8; [class_3222['yocarmine'/45, l='ServerLevel[Creative 2]', x=-12.16, y=6.12, z=266.83]]
Active Data Packs: vanilla, fabric, fabric-convention-tags-v2
Available Data Packs: bundle, fabric, fabric-convention-tags-v2, trade_rebalance, update_1_21, vanilla
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: -8974046596297065699