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

[Java 16] JavaScript Engine gone (Console spam) #371

Open
ken-kentan opened this issue Aug 13, 2021 · 0 comments · May be fixed by #372
Open

[Java 16] JavaScript Engine gone (Console spam) #371

ken-kentan opened this issue Aug 13, 2021 · 0 comments · May be fixed by #372

Comments

@ken-kentan
Copy link
Contributor

Minecraft 1.17.x required Java 16. JS engine were removed in Java 15.

I found a lot of warning spam in console when I run this plugin in Java 16.

[10:14:07] [pool-39-thread-1219/WARN]: Exception in thread "pool-39-thread-1219" java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.eval(String)" because "this.engine" is null
[10:14:07] [pool-39-thread-1219/WARN]:  at de.epiceric.shopchest.config.HologramFormat.evalRequirement(HologramFormat.java:196)
[10:14:07] [pool-39-thread-1219/WARN]:  at de.epiceric.shopchest.config.HologramFormat.getFormat(HologramFormat.java:68)
[10:14:07] [pool-39-thread-1219/WARN]:  at de.epiceric.shopchest.shop.Shop.getHologramText(Shop.java:302)
[10:14:07] [pool-39-thread-1219/WARN]:  at de.epiceric.shopchest.shop.Shop.createHologram(Shop.java:228)
[10:14:07] [pool-39-thread-1219/WARN]:  at de.epiceric.shopchest.shop.Shop.lambda$create$1(Shop.java:141)
[10:14:07] [pool-39-thread-1219/WARN]:  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[10:14:07] [pool-39-thread-1219/WARN]:  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
@ken-kentan ken-kentan linked a pull request Aug 17, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant