You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "James Dyer (Reopened) (JIRA)" <ji...@apache.org> on 2012/03/21 15:35:41 UTC

[jira] [Reopened] (SOLR-3260) Improve exception handling / logging for ScriptTransformer.init()

     [ https://issues.apache.org/jira/browse/SOLR-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Dyer reopened SOLR-3260:
------------------------------


In light of the maven 3.x failure, I think I need to move some of the reflection calls from the 3nd try/catch to the 2nd.  This means we can ignore 2 of the 3 exceptions instead of all 3.

For trunk, I can change this to not use reflection at all since we require a 1.6+ jvm.  However, this can still fail if the scripting engines are not in the jvms so these checks need to stay in place.
                
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org