Crucible icon indicating copy to clipboard operation
Crucible copied to clipboard

[BUG]

Open zeff9801 opened this issue 1 year ago • 5 comments

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 avatar Feb 08 '24 15:02 zeff9801

@zeff9801 Do you have more of the log?

KAMKEEL avatar Feb 14 '24 22:02 KAMKEEL

@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

drori200 avatar Feb 15 '24 14:02 drori200

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

KAMKEEL avatar Feb 16 '24 01:02 KAMKEEL

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

KAMKEEL avatar Feb 16 '24 01:02 KAMKEEL

@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 avatar Feb 16 '24 19:02 zeff9801

Closing this in favor of https://github.com/CrucibleMC/Crucible/issues/148

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

EverNife avatar May 02 '24 18:05 EverNife