You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/07/15 02:13:05 UTC
[jira] [Updated] (SOLR-7765) TokenizerChain without char filters
cause NPE in luke request handler
[ https://issues.apache.org/jira/browse/SOLR-7765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-7765:
---------------------------
Attachment: SOLR-7765.patch
Konstantin: i tried to whip up a quick patch to demonstrate the bug you were fixing (we always like to have test cases to help minimize the chance of regression in bug fixes) but i couldn't reproduce the problem (ie: the test passed)
can you please elaborate on the steps to reproduce in order to trigger an NPE in the Luke handler?
> 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
> Attachments: SOLR-7765.patch
>
>
> {{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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org