[ 
https://issues.apache.org/jira/browse/SLING-7241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16252191#comment-16252191
 ] 

ASF GitHub Bot commented on SLING-7241:
---------------------------------------

bcsott opened a new pull request #1: SLING-7241 Fix SciptEngineManager
URL: https://github.com/apache/sling-org-apache-sling-pipes/pull/1
 
 
   Using this constructor instead of the empty one will return Nashorn engine 
even if not attached to system bundle. Detail & how to repoduce issue see 
SLING-7241

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> [pipes] Nashorn ScriptEngine in PipeBindings is null
> ----------------------------------------------------
>
>                 Key: SLING-7241
>                 URL: https://issues.apache.org/jira/browse/SLING-7241
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Pipes 1.0.4
>         Environment: java.runtime.name = Java(TM) SE Runtime Environment
> java.runtime.version = 1.8.0_144-b01
>            Reporter: Björn Csott
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to