Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Pipes 1.0.4
-
None
-
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.8.0_144-b01
Description
Under some unclear circumstances the ScriptEngine in PipeBindings does not get initialized.
There is a solution out there to attach Nashorn to the system bundle. Appart from that I was able to fix it by using a different constructor: ScriptEngineManager(null).
The issue can be reproduced by deploying https://github.com/bcsott/migration-tool
When it fails the following is written to stderror.log:
ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory:
Provider jdk.nashorn.api.scripting.NashornScriptEngineFactory not found
Attachments
Attachments
Issue Links
- relates to
-
SLING-7134 Script execution order is not deterministic on Java 9 and nashorn engine is missing in java8
- Closed
- links to