[
https://issues.apache.org/jira/browse/SOLR-6643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14269951#comment-14269951
]
ASF subversion and git services commented on SOLR-6643:
-------------------------------------------------------
Commit 1650367 from [email protected] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1650367 ]
SOLR-6643: Fix error reporting & logging of low level JVM Errors that occur
when loading/reloading a SolrCore (merge r1650350)
> 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
> Priority: Minor
> Labels: logging
> 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: [email protected]
For additional commands, e-mail: [email protected]