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

NullPointException #10

Open
smallshen opened this issue Dec 7, 2020 · 3 comments
Open

NullPointException #10

smallshen opened this issue Dec 7, 2020 · 3 comments

Comments

@smallshen
Copy link

Exception in thread "main" java.lang.NullPointerException: ScriptEngineManager(clas…tEngineByExtension("kts") must not be null

@smallshen
Copy link
Author

It can run in IDE but with after build it with shadowJar into a standalone jar, it starts throwing NullPointException

@tonybaines
Copy link

I experienced the same thing, after much experimentation with dependencies and alternative ways of building the single JAR I switched to using separate JARs for my code and a libs/ folder for dependencies and everything resolved.
I can only assume it's a classpath thing, but I don't know how I might correct it otherwise.

@PegasisForever
Copy link

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

3 participants