markap14 commented on a change in pull request #4931:
URL: https://github.com/apache/nifi/pull/4931#discussion_r600590158



##########
File path: 
nifi-nar-bundles/nifi-accumulo-bundle/nifi-accumulo-processors/src/main/java/org/apache/nifi/accumulo/processors/ScanAccumulo.java
##########
@@ -270,8 +281,9 @@ public void process(final InputStream in, final 
OutputStream out) throws IOExcep
                                         data.put("columnQualifier", 
key.getColumnQualifier().toString());
                                         data.put("columnVisibility", 
key.getColumnVisibility().toString());
                                         data.put("timestamp", 
key.getTimestamp());
+                                        data.put("value", 
kv.getValue().toString());

Review comment:
       Is it possible here for the value to be null? I don't know much about 
accumulo, but i would guess so. If so, we need to check if null and if so avoid 
calling `toString()` on the null reference




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to