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

Error: java.lang.IllegalStateException: Mod 'architectury' is not available! #130

Open
Jocky69 opened this issue Jul 22, 2024 · 10 comments
Open
Labels
Crash Game crash Mod Bug Issue within or caused by a mod Reported to Mod Dev This issue has been reported to the mod dev

Comments

@Jocky69
Copy link

Jocky69 commented Jul 22, 2024

Possible Fixes

Yes

Modpack Version

10-.017 latest

What happened?

The laste 3 updates, i have the same crash error

Crash Log

https://gist.github.com/Jocky69/de24213405501dbb2cc79506f1cab61b

Latest.Log

No response

@ghost
Copy link

ghost commented Dec 22, 2024

This has been an issue for a long time
architectury/architectury-api#528
The usual go to solution has been to uninstall the game and the launcher completely, then reinstall.
Omega config has spent a long time in radio silence about this, the issue was put on their github half a year ago
Draylar/omega-config#26

@ghost
Copy link

ghost commented Dec 22, 2024

Given the age of the issue, unlikely to see a resolution. I will keep this one open to direct other duplicates to

@DeliciousBread481
Copy link

DeliciousBread481 commented Jan 1, 2025

I found that OmegaConfig is built into mostructures-neoforge-1.5.0+1.21.jar. Disabling it will allow you to enter the game normally, and this person's method is also effective.
click to see the solution

@BeholdIsLost
Copy link

@pr0saic
Copy link
Contributor

pr0saic commented Feb 4, 2025

@BeholdIsLost can you upload your latest.log too please

@9thyear2
Copy link

9thyear2 commented Feb 4, 2025

ok so i've been fighting this all day, i was trying on 2.32 as well, but decided to downgrade to 2.29 and keep going until i found a version that worked (if any), but now i've decided to just add logs from each version i try

(i was angry an 2.32 so i deleted the instance, and made a new one on 2.29, so there are the logs for 2.29, ill make a new instance on the new version to grab the logs from there, ill edit this comment with more versions, as to not spam the thread. so keep an eye out

2.29 logs
latest.log
debug.log
crash-2025-02-04_00.46.50-client.txt
PrismLauncher-0.log
client.log
startup.log

2.32 logs
latest.log
debug.log
crash-2025-02-03_19.05.15-client.txt
PrismLauncher-0.log
client.log
startup.log

@pr0saic
Copy link
Contributor

pr0saic commented Feb 4, 2025

@9thyear2 Your issue seems to be a Linux configuration problem. See here: guard/rb-inotify#23 (comment) for a possible solution.

java.lang.RuntimeException: Failed to create file watcher
...
Caused by: java.io.IOException: User limit of inotify instances reached or too many open files

@BeholdIsLost
Copy link

BeholdIsLost commented Feb 4, 2025

@BeholdIsLost can you upload your latest.log too please

Latest.log https://gist.github.com/BeholdIsLost/36af020014fec6f3edb40bce9086c3dd

@pr0saic

@9thyear2
Copy link

9thyear2 commented Feb 4, 2025

@9thyear2 Your issue seems to be a Linux configuration problem. See here: guard/rb-inotify#23 (comment) for a possible solution.

java.lang.RuntimeException: Failed to create file watcher
...
Caused by: java.io.IOException: User limit of inotify instances reached or too many open files

running this in the terminal fixed it on 2.32

ofile=/proc/sys/fs/inotify/max_user_instances
sudo sh -c "echo 8192 > $ofile"
cat $ofile

i don't know why this made an effect on a modpack

but maybe an issue should be filed with prism launcher to detect if the value need to be modified before running a certain modpacks, cause i've never seen this till today

EDIT: a warning would be alot better than just an outright crash

@BeholdIsLost
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Game crash Mod Bug Issue within or caused by a mod Reported to Mod Dev This issue has been reported to the mod dev
Projects
None yet
Development

No branches or pull requests

7 participants