NPE when starting game with OpenJ9? Tried Java 8, Java 11, Java 14 with OpenJ9. Java 8 HotSpot is fine.
Stacktrace from Java 14 OpenJ9
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.base/java.lang.J9VMInternals.ensureError(J9VMInternals.java:186)
at java.base/java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:175)
at java.base/java.lang.invoke.MethodHandle.getCPMethodHandleAt(Native Method)
at java.base/java.lang.invoke.MethodHandle.getAdditionalBsmArg(MethodHandle.java:1042)
at java.base/java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:1191)
at hk.<clinit>(SourceFile:50)
at gm.<clinit>(SourceFile:237) at vm.a(SourceFile:42)
at net.minecraft.client.main.Main.main(SourceFile:137)
Caused by: java.lang.NullPointerException
at hk.a(SourceFile:88)
at kk.a(SourceFile:20)
at kk.<clinit>(SourceFile:13)
... 7 more
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-197271, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord