Crucible
Crucible copied to clipboard
[BUG]
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):
- Crucible Version: staging-9edb19ef
- Plugins: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected];b3fbe8b, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
- Mods: 1.7.10-staging-9edb19ef, Forge Mod [email protected], Minecraft [email protected], [email protected], [email protected], [email protected], [email protected], UniMixins: Mixin (UniMix)@0.1.15, UniMixins: [email protected], UniMixins: [email protected], UniMixins: [email protected], UniMixins: [email protected], UniMixins: [email protected], UniMixins: [email protected], UniMixins: [email protected], Armourer's [email protected], Carpenter's [email protected], [email protected], [email protected], [email protected]
- Java Version: 11
@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
@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
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.