[ 
https://issues.apache.org/jira/browse/SOLR-7765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635385#comment-14635385
 ] 

ASF subversion and git services commented on SOLR-7765:
-------------------------------------------------------

Commit 1692170 from hoss...@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1692170 ]

SOLR-7765: Hardened the behavior of TokenizerChain when null arguments are used 
in constructor. This prevents NPEs in some code paths.

> 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
>            Assignee: Hoss Man
>            Priority: Minor
>         Attachments: SOLR-7765.patch, SOLR-7765.patch, 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to