isXander / isXander/YetAnotherConfigLib
Uncaught exception in thread main, 1.21.10 on Modrinth Launcher
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 155
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Using the modrinth launcher on 1.21.10 with just Fabric API + YACL 3.8.2 prevents game from starting with the following error:
Uncaught exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.modrinth.theseus.MinecraftLaunch.relaunch(MinecraftLaunch.java:61) at com.modrinth.theseus.MinecraftLaunch.main(MinecraftLaunch.java:28) Caused by: java.lang.RuntimeException: Failed to read accessWidener file from mod yet_another_config_lib_v3 at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:534) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:145) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:66) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ... 3 more Caused by: net.fabricmc.loader.impl.lib.accesswidener.AccessWidenerFormatException: line 1: Invalid access widener file header. Expected: 'accessWidener <version> <namespace>' at net.fabricmc.loader.impl.lib.accesswidener.AccessWidenerReader.readHeader(AccessWidenerReader.java:158) at net.fabricmc.loader.impl.lib.accesswidener.AccessWidenerReader.read(AccessWidenerReader.java:78) at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:532) ... 7 more
Disabling YACL or switching to version 3.8.1 allows the game the start up normally
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the startup failure in Modrinth Launcher with Minecraft 1.21.10, Fabric API, and YACL 3.8.2, then compare it with YACL 3.8.1, which starts normally. Start with the FabricLoaderImpl.loadAccessWideners stack-trace path and the YACL 3.8.2 artifact; done means the minimal setup launches without the access widener header error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100