You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/08/04 15:37:21 UTC

[GitHub] [lucene] sonatype-lift[bot] commented on a change in pull request #224: LUCENE-10035: Simple text codec add multi level skip list data

sonatype-lift[bot] commented on a change in pull request #224:
URL: https://github.com/apache/lucene/pull/224#discussion_r682733021



##########
File path: lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldsWriter.java
##########
@@ -78,6 +87,12 @@ public void write(FieldInfos fieldInfos, Fields fields) throws IOException {
       boolean hasFreqs = terms.hasFreqs();
       boolean hasPayloads = fieldInfo.hasPayloads();

Review comment:
       *NULL_DEREFERENCE:*  object `fieldInfo` last assigned on line 82 could be null and is dereferenced at line 88.
   (at-me [in a reply](https://help.sonatype.com/lift) with `help` or `ignore`)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org