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

Hoss Man resolved SOLR-6643.
----------------------------
       Resolution: Fixed
    Fix Version/s: Trunk
                   5.0
         Assignee: Hoss Man

> Core load silently aborted if missing schema has depenencies - LinkageErrors 
> swollowed
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-6643
>                 URL: https://issues.apache.org/jira/browse/SOLR-6643
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>    Affects Versions: 4.10.1
>            Reporter: Jan Høydahl
>            Assignee: Hoss Man
>            Priority: Minor
>              Labels: logging
>             Fix For: 5.0, Trunk
>
>         Attachments: SOLR-6643.patch, SOLR-6643.patch
>
>
> *How to reproduce*
> # Start with standard collection1 config
> # Add a field type to schema using the ICU contrib, no need for a field
> {code:XML}
> <fieldType name="text_icu" class="solr.TextField">
>   <analyzer><tokenizer class="solr.ICUTokenizerFactory"/></analyzer>
> </fieldType>
> {code}
> # {{cd example}}
> # {{mkdir solr/lib}}
> # {{cp ../contrib/analysis-extras/lucene-libs/lucene-analyzers-icu-4.10.1.jar 
> solr/lib/}}
> # {{bin/solr -f}}
> # Core is not loaded, and no messages in log after this line
> {code}
> ... INFO  org.apache.solr.schema.IndexSchema  – [collection1] Schema 
> name=example
> {code}
> Note that we did *not* add the dependency libs from {{analysis-extras/lib}}, 
> so we'd expect a {{ClassNotFoundException}}, but some way the initialization 
> of schema aborts silently. The ICUTokenizerFactory is instansiated by 
> reflection and I suspect that some exception is swallowed in 
> {{AbstractPluginLoader#create()}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to