Skip to:
ScormApplicationServiceImpl.updateGradebook() @ line 390:
ScormApplicationServiceImpl.updateGradebook()
This lambda isn't NPE safe, if the CommentDefinition returned from gbService.getAssignmentScoreComment() is null.
CommentDefinition
gbService.getAssignmentScoreComment()
null
Some simple expansion and NPE protection solves the issue:
ScormApplicationServiceImpl.updateGradebook()
@ line 390:This lambda isn't NPE safe, if the
CommentDefinition
returned fromgbService.getAssignmentScoreComment()
isnull
.Some simple expansion and NPE protection solves the issue: