lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <>
Subject [jira] [Commented] (SOLR-1425) Better exception messages for classloader mishaps
Date Sat, 13 Apr 2013 21:30:16 GMT


Erick Erickson commented on SOLR-1425:

SPRING_CLEANING_2013 JIRAS Don't know classloader, it gives me a headache to even see the
word any more. Anyone care to comment?
> Better exception messages for classloader mishaps
> -------------------------------------------------
>                 Key: SOLR-1425
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Benson Margulies
> If an idiot such as myself tries to specify a filter or such that lives in a parent classloader,
such as the system classloader of a servlet container, Solr will fail to load it. The JVM
is prone to create an exception that mentions some Solr interface as being missing instead
of the filter itself. It would be less confusing for the miscreant if Solr were to try/catch
ClassNotFound and NoClassDefError and throw its own exception with the name of the thing specified
in the schema included in the message.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

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

View raw message