Skip to content

Internal ServiceConfigurationError when Script Engine is created #8

Closed
@jpsacha

Description

@jpsacha

When javax.script.ScriptEngineManager is attempting to list available script engines, numerous ServiceConfigurationError are internally generated resulting in printouts to standard error output that look like:

ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider org.scijava.plugins.scripting.scala.ScalaScriptLanguage could not be instantiated
ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider dotty.tools.repl.ScriptEngine$Factory could not be instantiated

While the code still works and test are passing this is producing confusing printouts and slows down the execution of the scripts, tests are running about twice as long as without that issue.

The issue was introduced after META-INF/services/javax.script.ScriptEngineFactory was added #1.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions