Open Weigurde opened 1 month ago
Right. And gadget uses 0.4.2
mapping-io right now.
I should probably switch to shadowing and relocating mapping-io (because of stuff like this) but a quick fix would be to update it to the latest
Can you check whether this is fixed with the newest release?
no, but i do get a slightly different stack trace
[20:34:55] [main/INFO]: Loading Minecraft 1.21 with Fabric Loader 0.16.0
[20:34:55] [main/INFO]: Loading 67 mods:
- fabric-api 0.100.6+1.21
|-- fabric-api-base 0.4.42+6573ed8cd1
|-- fabric-api-lookup-api-v1 1.6.67+b5597344d1
|-- fabric-biome-api-v1 13.0.28+6fc22b99d1
|-- fabric-block-api-v1 1.0.22+0af3f5a7d1
|-- fabric-block-view-api-v2 1.0.10+6573ed8cd1
|-- fabric-blockrenderlayer-v1 1.1.52+0af3f5a7d1
|-- fabric-client-tags-api-v1 1.1.15+6573ed8cd1
|-- fabric-command-api-v1 1.2.49+f71b366fd1
|-- fabric-command-api-v2 2.2.28+6ced4dd9d1
|-- fabric-commands-v0 0.2.66+df3654b3d1
|-- fabric-content-registries-v0 8.0.14+b5597344d1
|-- fabric-convention-tags-v1 2.0.17+7f945d5bd1
|-- fabric-convention-tags-v2 2.4.1+86024ea6d1
|-- fabric-crash-report-info-v1 0.2.29+0af3f5a7d1
|-- fabric-data-attachment-api-v1 1.1.24+6a6dfa19d1
|-- fabric-data-generation-api-v1 20.2.11+16c4ae25d1
|-- fabric-dimensions-v1 4.0.0+6fc22b99d1
|-- fabric-entity-events-v1 1.6.12+6fc22b99d1
|-- fabric-events-interaction-v0 0.7.10+e633f883d1
|-- fabric-game-rule-api-v1 1.0.53+6ced4dd9d1
|-- fabric-item-api-v1 11.0.0+afdfc921d1
|-- fabric-item-group-api-v1 4.1.2+78017270d1
|-- fabric-key-binding-api-v1 1.0.47+0af3f5a7d1
|-- fabric-keybindings-v0 0.2.45+df3654b3d1
|-- fabric-lifecycle-events-v1 2.3.11+8f3583aed1
|-- fabric-loot-api-v2 3.0.12+3f89f5a5d1
|-- fabric-loot-api-v3 1.0.0+3f89f5a5d1
|-- fabric-message-api-v1 6.0.13+6573ed8cd1
|-- fabric-model-loading-api-v1 2.0.0+fe474d6bd1
|-- fabric-networking-api-v1 4.2.0+ab7edbacd1
|-- fabric-object-builder-api-v1 15.1.12+d1321076d1
|-- fabric-particles-v1 4.0.2+6573ed8cd1
|-- fabric-recipe-api-v1 5.0.10+65089712d1
|-- fabric-registry-sync-v0 5.0.24+6ced4dd9d1
|-- fabric-renderer-api-v1 3.3.0+0ae0b97dd1
|-- fabric-renderer-indigo 1.6.5+48fb1586d1
|-- fabric-renderer-registries-v1 3.2.67+df3654b3d1
|-- fabric-rendering-data-attachment-v1 0.3.48+73761d2ed1
|-- fabric-rendering-fluids-v1 3.1.6+b5597344d1
|-- fabric-rendering-v0 1.1.70+df3654b3d1
|-- fabric-rendering-v1 5.0.4+5a8c785ed1
|-- fabric-resource-conditions-api-v1 4.2.1+d153f344d1
|-- fabric-resource-loader-v0 1.1.5+78017270d1
|-- fabric-screen-api-v1 2.0.24+b5597344d1
|-- fabric-screen-handler-api-v1 1.3.81+b5597344d1
|-- fabric-sound-api-v1 1.0.23+6573ed8cd1
|-- fabric-transfer-api-v1 5.1.15+3dccd343d1
\-- fabric-transitive-access-wideners-v1 6.0.12+6573ed8cd1
- fabricloader 0.16.0
\-- mixinextras 0.4.0
- gadget 0.2.4+1.21
|-- fabric-permissions-api-v0 0.3.1
|-- net_auoeke_reflect 6.3.0
|-- net_auoeke_result 0.4.1
|-- net_auoeke_unsafe 1.7.3
\-- net_fabricmc_mapping-io 0.6.1
- java 22
- minecraft 1.21
- owo 0.12.10+1.21
|-- blue_endless_jankson 1.2.2
|-- io_wispforest_endec 0.1.0
|-- io_wispforest_endec_gson 0.1.0
|-- io_wispforest_endec_jankson 0.1.0
\-- io_wispforest_endec_netty 0.1.0
- stackdeobfuscator 1.4.3+08e71cc
|-- net_fabricmc_mapping-io 0.6.1
\-- stackdeobfuscator-common 1.4.3+08e71cc
[20:34:56] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/B:/old/Users/weigurde/AppData/Roaming/.multimc/libraries/net/fabricmc/sponge-mixin/0.15.0+mixin.0.8.7/sponge-mixin-0.15.0+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT
[20:34:58] [main/INFO]: Compatibility level set to JAVA_17
[20:34:58] [main/INFO]: Loading gadget on Knot/Fabric
[20:34:59] [main/WARN]: Error loading class: xyz/nucleoid/server/translations/impl/language/SystemDelegatedLanguage (java.lang.ClassNotFoundException: xyz/nucleoid/server/translations/impl/language/SystemDelegatedLanguage)
[20:34:59] [main/WARN]: Error loading class: org/jetbrains/annotations/ApiStatus$Internal (java.lang.ClassNotFoundException: org/jetbrains/annotations/ApiStatus$Internal)
[20:34:59] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.0).
[20:35:00] [Datafixer Bootstrap/INFO]: 226 Datafixer optimizations took 365 milliseconds
[20:35:06] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[20:35:06] [Render thread/INFO]: Setting user: weigurde
[20:35:06] [Render thread/INFO]: Noaaan: I'm talking to my inner demons. Which is all of you
[20:35:06] [Render thread/INFO]: Creating asynchronous mapping cache executor...
[20:35:06] [Mappings Cache Thread #1/INFO]: Verifying cache of yarn mappings...
[20:35:06] [Mappings Cache Thread #1/INFO]: Refreshing latest yarn build (last refresh was 119 hour(s) ago)...
[20:35:06] [Mappings Cache Thread #1/INFO]: Fetching latest yarn build...
[20:35:06] [Mappings Cache Thread #1/INFO]: Trying to request GET https://maven.fabricmc.net/net/fabricmc/yarn/maven-metadata.xml... (try #0)
[20:35:06] [Render thread/INFO]: [Indigo] Registering Indigo renderer!
[20:35:06] [Render thread/INFO]: Backend library: LWJGL version 3.3.3-snapshot
[20:35:07] [Render thread/WARN]: @Inject(@At("INVOKE")) Shift.BY=2 on gadget.mixins.json:client.KeyboardMixin from mod gadget::handler$zob000$gadget$afterKeyPressed exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[20:35:08] [Render thread/INFO]: Reloading ResourceManager: 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-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, 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, gadget, owo, stackdeobfuscator, stackdeobfuscator-common
[20:35:08] [Worker-Main-4/INFO]: Found unifont_all_no_pua-15.1.05.hex, loading
[20:35:08] [Worker-Main-2/INFO]: Found unifont_jp_patch-15.1.05.hex, loading
[20:35:09] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[20:35:09] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[20:35:09] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Speakers (JBL Quantum 400* Game)
[20:35:09] [Render thread/INFO]: Sound engine started
[20:35:09] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[20:35:09] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[20:35:09] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[20:35:09] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[20:35:09] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[20:35:09] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[20:35:09] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[20:35:09] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[20:35:09] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[20:35:10] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[20:35:10] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas
[20:35:10] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[20:35:10] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[20:35:10] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[20:35:10] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[20:35:11] [Mappings Cache Thread #1/INFO]: Received 120844 bytes (118 KB) with status 200 from GET https://maven.fabricmc.net/net/fabricmc/yarn/maven-metadata.xml in 4807ms
[20:35:11] [Mappings Cache Thread #1/INFO]: Cached latest yarn build version: 1.21+build.9
[20:35:11] [Mappings Cache Thread #1/INFO]: Mappings for yarn build 1.21+build.9 are already downloaded
[20:35:11] [Mappings Cache Thread #1/INFO]: Verified cache of yarn mappings (took 4835ms)
[20:35:11] [Mappings Cache Thread #1/INFO]: Parsing yarn mappings...
[20:35:11] [Mappings Cache Thread #1/INFO]: Parsed yarn mappings (took 132ms)
[20:35:11] [Mappings Cache Thread #1/INFO]: Caching yarn mappings...
[20:35:11] [Mappings Cache Thread #1/INFO]: Cached yarn mappings (took 34ms)
[20:35:11] [Mappings Cache Thread #1/INFO]: Cached mappings have been built (took 5005ms)
[20:35:11] [Mappings Cache Thread #1/INFO]: Classes: 7535
[20:35:11] [Mappings Cache Thread #1/INFO]: Methods: 27617
[20:35:11] [Mappings Cache Thread #1/INFO]: Fields: 32175
[20:35:11] [ForkJoinPool.commonPool-worker-1/INFO]: Shutting down asynchronous mapping cache executor...
[20:35:11] [ForkJoinPool.commonPool-worker-1/INFO]: Injecting into root logger...
[20:35:17] [Render thread/INFO]: Loaded 1290 recipes
[20:35:17] [Render thread/INFO]: Loaded 1399 advancements
[20:35:24] [Render thread/INFO]: 0 mutations caused 5 inflations
[20:35:24] [ForkJoinPool.commonPool-worker-3/ERROR]: Loading failed with exception
java.util.concurrent.CompletionException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) [?:?]
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) [?:?]
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649) [?:?]
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) [?:?]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507) [?:?]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491) [?:?]
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073) [?:?]
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035) [?:?]
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187) [?:?]
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at io.wispforest.gadget.decompile.QuiltflowerManager.loadHandler(QuiltflowerManager.java:89) ~[gadget-0.2.4+1.21.jar:?]
at io.wispforest.gadget.client.resource.ViewClassesScreen.<init>(ViewClassesScreen.java:53) ~[gadget-0.2.4+1.21.jar:?]
at io.wispforest.gadget.client.resource.ViewClassesScreen.lambda$openWithProgress$2(ViewClassesScreen.java:72) ~[gadget-0.2.4+1.21.jar:?]
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
... 6 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:72) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?]
at io.wispforest.gadget.decompile.QuiltflowerManager.loadHandler(QuiltflowerManager.java:87) ~[gadget-0.2.4+1.21.jar:?]
at io.wispforest.gadget.client.resource.ViewClassesScreen.<init>(ViewClassesScreen.java:53) ~[gadget-0.2.4+1.21.jar:?]
at io.wispforest.gadget.client.resource.ViewClassesScreen.lambda$openWithProgress$2(ViewClassesScreen.java:72) ~[gadget-0.2.4+1.21.jar:?]
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
... 6 more
Caused by: java.lang.NullPointerException: Cannot invoke "String.hashCode()" because "name" is null
at net.fabricmc.mappingio.tree.MemoryMappingTree$MemberKey.<init>(MemoryMappingTree.java:1707) ~[net_fabricmc_mapping-io-0.6.1-42030c8d435f0357.jar:?]
at net.fabricmc.mappingio.tree.MemoryMappingTree$MemberEntry.<init>(MemoryMappingTree.java:1140) ~[net_fabricmc_mapping-io-0.6.1-42030c8d435f0357.jar:?]
at net.fabricmc.mappingio.tree.MemoryMappingTree$MethodEntry.<init>(MemoryMappingTree.java:1236) ~[net_fabricmc_mapping-io-0.6.1-42030c8d435f0357.jar:?]
at net.fabricmc.mappingio.tree.MemoryMappingTree.queuePendingMember(MemoryMappingTree.java:494) ~[net_fabricmc_mapping-io-0.6.1-42030c8d435f0357.jar:?]
at net.fabricmc.mappingio.tree.MemoryMappingTree.visitMethod(MemoryMappingTree.java:471) ~[net_fabricmc_mapping-io-0.6.1-42030c8d435f0357.jar:?]
at net.fabricmc.mappingio.adapter.ForwardingMappingVisitor.visitMethod(ForwardingMappingVisitor.java:84) ~[net_fabricmc_mapping-io-0.6.1-42030c8d435f0357.jar:?]
at net.fabricmc.mappingio.format.tiny.Tiny2FileReader.readClass(Tiny2FileReader.java:156) ~[net_fabricmc_mapping-io-0.6.1-42030c8d435f0357.jar:?]
at net.fabricmc.mappingio.format.tiny.Tiny2FileReader.read(Tiny2FileReader.java:123) ~[net_fabricmc_mapping-io-0.6.1-42030c8d435f0357.jar:?]
at net.fabricmc.mappingio.format.tiny.Tiny2FileReader.read(Tiny2FileReader.java:62) ~[net_fabricmc_mapping-io-0.6.1-42030c8d435f0357.jar:?]
at io.wispforest.gadget.mappings.YarnMappings.load(YarnMappings.java:79) ~[gadget-0.2.4+1.21.jar:?]
at io.wispforest.gadget.mappings.LoadingMappings.load(LoadingMappings.java:101) ~[gadget-0.2.4+1.21.jar:?]
at io.wispforest.gadget.decompile.handle.QuiltflowerHandlerImpl.<init>(QuiltflowerHandlerImpl.java:78) ~[gadget-0.2.4+1.21.jar:?]
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?]
at io.wispforest.gadget.decompile.QuiltflowerManager.loadHandler(QuiltflowerManager.java:87) ~[gadget-0.2.4+1.21.jar:?]
at io.wispforest.gadget.client.resource.ViewClassesScreen.<init>(ViewClassesScreen.java:53) ~[gadget-0.2.4+1.21.jar:?]
at io.wispforest.gadget.client.resource.ViewClassesScreen.lambda$openWithProgress$2(ViewClassesScreen.java:72) ~[gadget-0.2.4+1.21.jar:?]
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
... 6 more
Oh. Honestly, I might've just forgotten to update the view classes screen to new Mapping IO. Good thing I marked the release as an alpha, then.
doesn't seem to be mixins