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

Toad lib 1.2.1 1.20.1 crashes on dedicated server start #10

Open
thiccmeme opened this issue Jan 9, 2025 · 7 comments
Open

Toad lib 1.2.1 1.20.1 crashes on dedicated server start #10

thiccmeme opened this issue Jan 9, 2025 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@thiccmeme
Copy link

What operating systems are you seeing the problem on?

Windows

What the loader are you seeing the problem on?

Forge

Describe the bug

The important part of the crash log is below where it attempts to load a client side config class probably the gui if I had to guess on the server side.

com/mr_toad/lib/api/config/entry/BoolEntry for invalid dist DEDICATED_SERVER
[08Jan2025 19:07:16.076] [main/WARN] [mixin/]: Error loading class: com/mr_toad/lib/api/config/entry/BoolEntry (java.lang.RuntimeException: Attempted to load class com/mr_toad/lib/api/config/entry/BoolEntry for invalid dist DEDICATED_SERVER)
[08Jan2025 19:07:16.076] [main/WARN] [mixin/]: Not transforming member reference INVOKEVIRTUAL for com/mr_toad/lib/api/config/entry/BoolEntry.get()Ljava/lang/Object; as owner class was not found
[08Jan2025 19:07:16.449] [main/INFO] [net.minecraft.server.Bootstrap/]: ModernFix reached bootstrap stage (13.68 s after launch)
[08Jan2025 19:07:16.466] [main/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class com/mr_toad/lib/api/config/ToadConfig for invalid dist DEDICATED_SERVER

Steps to reproduce

update from 1.1.5 to 1.2.1 and try to launch server

crash before being able to finish launching

What version of the toadlib are you using?

1.2.1

@thiccmeme thiccmeme added the bug Something isn't working label Jan 9, 2025
@ITsMrToad
Copy link
Owner

I'm already fixing it, there's not much left.....

@ITsMrToad
Copy link
Owner

ToadLib should work on the client and not on the server, I don't have a way to test this.
As soon as version 1.2.2 is released, if you don't mind, I'd like you to test the new version and provide the results.

@thiccmeme
Copy link
Author

ToadLib should work on the client and not on the server, I don't have a way to test this. As soon as version 1.2.2 is released, if you don't mind, I'd like you to test the new version and provide the results.

I'd be happy to provide the results as soon as the new version is available, I can also build the file from source and test pre-release if necessary

@ITsMrToad
Copy link
Owner

ToadLib 1.2.2 is out.

@ITsMrToad
Copy link
Owner

Any news? Still the same crash, or a new one, maybe all is well?

@thiccmeme
Copy link
Author

[12Jan2025 01:44:59.360] [main/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class com/mr_toad/lib/api/config/entry/BoolEntry for invalid dist DEDICATED_SERVER
[12Jan2025 01:44:59.360] [main/WARN] [mixin/]: Error loading class: com/mr_toad/lib/api/config/entry/BoolEntry (java.lang.RuntimeException: Attempted to load class com/mr_toad/lib/api/config/entry/BoolEntry for invalid dist DEDICATED_SERVER)

Pretty much the same unfortunately sorry for the delay

@thiccmeme
Copy link
Author

That's all it prints out in the log regarding it unfortunately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants