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

Lithium 0.5.2 for Minecraft 1.16.2 cannot run in openj9 #111

Closed
BelowZeroKelvin opened this issue Aug 26, 2020 · 3 comments
Closed

Lithium 0.5.2 for Minecraft 1.16.2 cannot run in openj9 #111

BelowZeroKelvin opened this issue Aug 26, 2020 · 3 comments
Labels
T-bug Type: Bug

Comments

@BelowZeroKelvin
Copy link

Lithium 0.5.2 for Minecraft 1.16.2 cannot run in openj9, but 0.5.1 for 1.16.1 can.

Here is my console log.

Loaded configuration file for Lithium: 60 options available, 0 override(s) found
Exception in thread "main" java.lang.RuntimeException: Failed to setup Fabric server environment!
        at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:51)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: An exception occurred when launching the server!
        at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:107)
        at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:49)
Caused by: java.lang.RuntimeException: An exception occurred when launching the server!
        at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:63)
        at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:105)
        ... 1 more
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:61)
        ... 2 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:194)
        at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140)
        at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:26)
        ... 7 more
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192)
        ... 9 more
Caused by: java.lang.ExceptionInInitializerError
        at java.base/java.lang.J9VMInternals.ensureError(Unknown Source)
        at java.base/java.lang.J9VMInternals.recordInitializationFailure(Unknown Source)
        at java.base/java.lang.invoke.MethodHandle.getCPMethodHandleAt(Native Method)
        at java.base/java.lang.invoke.MethodHandle.getAdditionalBsmArg(Unknown Source)
        at java.base/java.lang.invoke.MethodHandle.resolveInvokeDynamic(Unknown Source)
        at net.minecraft.class_5458.<clinit>(class_5458.java:50)
        at net.minecraft.class_2378.<clinit>(class_2378.java:237)
        at net.minecraft.class_2966.method_12851(class_2966.java:42)
        at net.minecraft.server.Main.main(Main.java:88)
        ... 14 more
Caused by: java.lang.NullPointerException
        at net.minecraft.class_5458.method_30562(class_5458.java:88)
        at net.minecraft.class_5468.method_30600(class_5468.java:20)
        at net.minecraft.class_5468.<clinit>(class_5468.java:13)
        ... 21 more
@BelowZeroKelvin BelowZeroKelvin added the T-bug Type: Bug label Aug 26, 2020
@LucilleTea
Copy link
Member

This is a vanilla/OpenJ9 issue, unrelated to Lithium.
https://bugs.mojang.com/browse/MC-197271
eclipse-openj9/openj9#10356

It has been fixed in OpenJ9 as of 7 days ago, so perhaps you could use a nightly build of it as a workaround?
eclipse-openj9/openj9#10410

@BelowZeroKelvin
Copy link
Author

Thanks, I'll try it.

@BelowZeroKelvin
Copy link
Author

I run it with a nightly build successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants