[
https://issues.apache.org/jira/browse/SOLR-7765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14618905#comment-14618905
]
ASF GitHub Bot commented on SOLR-7765:
--------------------------------------
GitHub user grossws opened a pull request:
https://github.com/apache/lucene-solr/pull/185
Fix NPE in LukeRequestHandler in getAnalyzerInfo
NPE in thrown when luke tries to iterate
`TokenizerChain#getCharFilterFactories()`
which is null if 2-arg `TokenizerChain` constructor is used.
Fixes SOLR-7765
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/grossws/lucene-solr fix-solr-7765
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/185.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #185
----
commit 7a0f08915e73f0ef28d4b9af8bd613612ca39946
Author: Konstantin Gribov <[email protected]>
Date: 2015-07-08T16:30:04Z
Fix NPE in LukeRequestHandler in getAnalyzerInfo
NPE in thrown when luke tries to iterate
`TokenizerChain#getCharFilterFactories()`
which is null if 2-arg `TokenizerChain` constructor is used.
Fixes SOLR-7765
----
> TokenizerChain without char filters cause NPE in luke request handler
> ---------------------------------------------------------------------
>
> Key: SOLR-7765
> URL: https://issues.apache.org/jira/browse/SOLR-7765
> Project: Solr
> Issue Type: Bug
> Affects Versions: 5.2.1
> Reporter: Konstantin Gribov
> Priority: Minor
>
> {{TokenizerChain}} created using 2-arg constructor has {{null}} in
> {{charFilters}}, so {{LukeRequestHandler}} throws NPE on iterating it.
> Will create PR in a couple of minutes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]