isXander / isXander/YetAnotherConfigLib

YACL 3.8.2+1.21.4-fabric crashes Fabric Loader with invalid access widener header

Open
#362 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
155
Forks
68
PR merge metrics
No merged PRs in 30d

Description

YACL 3.8.2+1.21.4-fabric crashes my Fabric 1.21.4 dedicated server during startup.

Tested versions from Modrinth:

  • YACL 3.7.1: works
  • YACL 3.8.1: works
  • YACL 3.8.2: crashes

Environment:

  • Minecraft: 1.21.4
  • Fabric Loader: 0.17.2
  • Java: 21

The crash occurs during Fabric's access widener loading phase:

Caused by: java.lang.RuntimeException: Failed to read accessWidener file from mod yet_another_config_lib_v3
...
Caused by: net.fabricmc.loader.impl.lib.accesswidener.AccessWidenerFormatException:
Invalid access widener file header. Expected: 'accessWidener <version> <namespace>'

Since downgrading YACL to 3.8.1 makes the exact same modpack start successfully, this appears to be specific to the 3.8.2 JAR or its packaging.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the YACL 3.8.1 and 3.8.2 JARs, focusing on the access widener file that Fabric Loader reads during startup. Reproduce the issue on a Minecraft 1.21.4 dedicated server with Fabric Loader 0.17.2, then verify that the packaged file has a valid access widener header and the server starts successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.