lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-3260) Improve exception handling / logging for ScriptTransformer.init()
Date Tue, 20 Mar 2012 22:09:38 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message