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

ASF subversion and git services commented on LUCENE-5662:
---------------------------------------------------------

Commit 1593577 from [~rcmuir] in branch 'dev/trunk'
[ https://svn.apache.org/r1593577 ]

LUCENE-5662: add missing null checks to Field to avoid aborting exceptions

> Missing Field null checks can result in aborted segments
> --------------------------------------------------------
>
>                 Key: LUCENE-5662
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5662
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: 4.8.1, 4.9, 5.0
>
>         Attachments: LUCENE-5662.patch
>
>
> This is bad because you lose other unrelated documents in IndexWriter's 
> buffer.
> Simple example:
> {code}
>       BytesRef v = null; // somehow my app screwed up
>       doc.add(new StoredField("foo", v));
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to