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-unsubscr...@lucene.apache.org

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



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

Reply via email to