Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classpath broken on Fabric #65

Open
otomir23 opened this issue May 29, 2024 · 1 comment
Open

Classpath broken on Fabric #65

otomir23 opened this issue May 29, 2024 · 1 comment
Labels
bug Something isn't working package Topic: Deals with nix-minecraft packages

Comments

@otomir23
Copy link

Looks like fa037f4 makes Fabric Loader have two instances on the classpath at once, which is an illegal state. The server fails to start.

Stack trace for reference (fabric-1.20.1-0.15.11)
java.lang.IllegalStateException: trying to load net.fabricmc.loader.impl.FabricLoaderImpl from target class loader
        at net.fabricmc.loader.impl.util.LoaderUtil.verifyNotInTargetCl(LoaderUtil.java:55) ~[16h8ywfxn9dhw6mci6cz40yglyvp456r-fabric-loader-0.15.11.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.<clinit>(FabricLoaderImpl.java:619) ~[16h8ywfxn9dhw6mci6cz40yglyvp456r-fabric-loader-0.15.11.jar:?]
        at net.fabricmc.loader.api.FabricLoader.getInstance(FabricLoader.java:42) ~[16h8ywfxn9dhw6mci6cz40yglyvp456r-fabric-loader-0.15.11.jar:?]
        at net.minecraft.class_6396.mdf82ea6$fabric-crash-report-info-v1$lambda$fillSystemDetails$0$1(class_6396.java:544) ~[server-intermediary.jar:?]
        at net.minecraft.class_6396.method_37123(class_6396.java:66) ~[server-intermediary.jar:?]
        at net.minecraft.class_6396.handler$zzm000$fabric-crash-report-info-v1$fillSystemDetails(class_6396.java:541) ~[server-intermediary.jar:?]
        at net.minecraft.class_6396.<init>(class_6396.java:58) ~[server-intermediary.jar:?]
        at net.minecraft.class_128.<init>(class_128.java:34) ~[server-intermediary.jar:?]
        at net.minecraft.class_128.method_24305(class_128.java:274) ~[server-intermediary.jar:?]
        at net.minecraft.server.Main.main(Main.java:102) ~[server-intermediary.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[16h8ywfxn9dhw6mci6cz40yglyvp456r-fabric-loader-0.15.11.jar:?]
        ... 3 more
@Infinidoge
Copy link
Owner

Infinidoge commented May 29, 2024

Hmm. I thought that was one I explicitly tested, but nope it's broken, pain!

Reverted the commit for now, will do more testing.

@Infinidoge Infinidoge added bug Something isn't working package Topic: Deals with nix-minecraft packages labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package Topic: Deals with nix-minecraft packages
Projects
None yet
Development

No branches or pull requests

2 participants