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

[BUG] #143

Closed
zeff9801 opened this issue Feb 8, 2024 · 6 comments
Closed

[BUG] #143

zeff9801 opened this issue Feb 8, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@zeff9801
Copy link

zeff9801 commented Feb 8, 2024

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):

@zeff9801 zeff9801 added the bug Something isn't working label Feb 8, 2024
@KAMKEEL
Copy link

KAMKEEL commented Feb 14, 2024

@zeff9801 Do you have more of the log?

@drori200
Copy link

@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

@KAMKEEL
Copy link

KAMKEEL commented Feb 16, 2024

He is @drori200 and I thought mixin version works with CNPC+. As long as unimixins is loaded first

@KAMKEEL
Copy link

KAMKEEL commented Feb 16, 2024

I believe it's because of Nashorn. I'll have to fix it

@zeff9801
Copy link
Author

@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

It is the mixinless version

@zeff9801 zeff9801 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2024
@zeff9801 zeff9801 reopened this Feb 16, 2024
@EverNife
Copy link
Member

EverNife commented May 2, 2024

Closing this in favor of #148

For now, Teporary solution is to disable the script of customnpcs and use java 21.

@EverNife EverNife closed this as completed May 2, 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
Projects
None yet
Development

No branches or pull requests

4 participants