-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
[BUG] #143
Comments
@zeff9801 Do you have more of the log? |
@zeff9801 make sure you are using the mixinless version of CNPC, you are using UniMixin which will not work with the normal version of CNPC |
He is @drori200 and I thought mixin version works with CNPC+. As long as unimixins is loaded first |
I believe it's because of Nashorn. I'll have to fix it |
It is the mixinless version |
Closing this in favor of #148 For now, Teporary solution is to disable the script of customnpcs and use java 21. |
Describe the bug
Server crashed during startup when java 11 is selected and custom-npc mod is installed.
Logs
[15:40:16] [main/INFO] [FML]: There was a problem trying to load the mod dir tweaker /home/container/mods/CustomNPC-Plus-1.8.6-nomixin.jar
java.lang.reflect.InaccessibleObjectException: Unable to make field final jdk.internal.loader.URLClassPath jdk.internal.loader.ClassLoaders$AppClassLoader.ucp accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @5a4bef8
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:340) ~[?:?]
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:280) ~[?:?]
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:176) ~[?:?]
at java.base/java.lang.reflect.Field.setAccessible(Field.java:170) ~[?:?]
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: