joewitt commented on code in PR #7760:
URL: https://github.com/apache/nifi/pull/7760#discussion_r1341975956


##########
nifi-commons/nifi-flowfile-packager/src/main/java/org/apache/nifi/util/FlowFilePackagerV3.java:
##########
@@ -37,7 +37,7 @@ public void packageFlowFile(final InputStream in, final 
OutputStream out, final
             writeFieldLength(out, attributes.size()); //write out the number 
of attributes
             for (final Map.Entry<String, String> entry : 
attributes.entrySet()) { //write out each attribute key/value pair
                 writeString(entry.getKey(), out);
-                writeString(entry.getValue(), out);
+                writeString(entry.getValue() == null ? "" : entry.getValue(), 
out);

Review Comment:
   @mosermw we gotta dump this line based on last convo.  i'll do it locally 
prior to merge.



-- 
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: [email protected]

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

Reply via email to