You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:15:26 UTC
[jira] [Commented] (LUCENE-4567) WFSTCompletionLookup.lookup() NPE
when empty fst
[ https://issues.apache.org/jira/browse/LUCENE-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610522#comment-13610522 ]
Commit Tag Bot commented on LUCENE-4567:
----------------------------------------
[branch_4x commit] Michael McCandless
http://svn.apache.org/viewvc?view=revision&revision=1411798
LUCENE-4567: avoid NPE if no suggestions were built
> WFSTCompletionLookup.lookup() NPE when empty fst
> ------------------------------------------------
>
> Key: LUCENE-4567
> URL: https://issues.apache.org/jira/browse/LUCENE-4567
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: selckin
> Assignee: Michael McCandless
> Fix For: 4.1, 5.0
>
> Attachments: LUCENE-4567.patch
>
>
> the fst Builder.finish() returns null when nothing is accepted, this then results in NPE in lookup(), see patch for extra nullchecks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org