rmdmattingly commented on code in PR #6294: URL: https://github.com/apache/hbase/pull/6294#discussion_r1793815454
########## hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupInfo.java: ########## @@ -267,7 +267,7 @@ public String getFailedMsg() { } public void setFailedMsg(String failedMsg) { - if (failedMsg.length() > MAX_FAILED_MESSAGE_LENGTH) { + if (failedMsg != null && failedMsg.length() > MAX_FAILED_MESSAGE_LENGTH) { Review Comment: This is an unrelated and minor change. I realized that there was a NPE opportunity here. -- 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...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org