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

JSR223 tests fail with NPE at getEngine call #3

Closed
Wasabi375 opened this issue Aug 31, 2020 · 1 comment
Closed

JSR223 tests fail with NPE at getEngine call #3

Wasabi375 opened this issue Aug 31, 2020 · 1 comment

Comments

@Wasabi375
Copy link

I was trying these examples out because of the discussion here: https://discuss.kotlinlang.org/t/run-user-code-in-the-server/18976?u=wasabi375

I noticed that I can't run the JSR examples. They fail with a NPE during ScriptEngineManager().getEngineByExtension("main.kts")!!

I'm guessing that I am missing something during the build setup. Do I have to install anything in addition? I didn't see anything in the readme.

@ligee
Copy link
Contributor

ligee commented Dec 28, 2020

Hopefully solved by now, please comment if not.
In general these samples contain gradle build files that describe all dependencies needed to run appropriate examples and tests.

@ligee ligee closed this as completed Dec 28, 2020
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

No branches or pull requests

2 participants