You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2012/11/20 20:02:58 UTC
[jira] [Resolved] (LUCENE-4567) WFSTCompletionLookup.lookup() NPE
when empty fst
[ https://issues.apache.org/jira/browse/LUCENE-4567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-4567.
----------------------------------------
Resolution: Fixed
Fix Version/s: 5.0
4.1
Thanks selckin!
> 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