[ https://issues.apache.org/jira/browse/SOLR-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233860#comment-13233860 ]
James Dyer commented on SOLR-3260: ---------------------------------- That is probably the right thing to do. If its using a JRE that supports the class "javax.script.ScriptEngineManager" but there are nop ScriptingEngines installed, you'll get the "Cannot load Script Engine..." message. I am a bit confused why it is giving the "eval failed..." message though. Why don't you make the fix you've proposed and I'll look later to see if there is something less-blunt we can do. Sound ok? > Improve exception handling / logging for ScriptTransformer.init() > ----------------------------------------------------------------- > > Key: SOLR-3260 > URL: https://issues.apache.org/jira/browse/SOLR-3260 > Project: Solr > Issue Type: Bug > Components: contrib - DataImportHandler > Affects Versions: 3.5, 4.0 > Reporter: James Dyer > Assignee: James Dyer > Priority: Trivial > Fix For: 3.6, 4.0 > > Attachments: SOLR-3260.patch > > > This came up on the user-list. ScriptTransformer logs the same "need a >=1.6 > jre" message for several problems, making debugging difficult for users. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org