Skip to content

Commit

Permalink
mid-5344 fixing npe
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed May 24, 2019
1 parent 60b1515 commit 9bee19c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -110,7 +110,7 @@ public void setDirect(boolean direct) {
}

public void setAssignmentParent(AssignmentPath assignmentPath) {
if (assignmentPath.size() > 1 ) {
if (assignmentPath != null && assignmentPath.size() > 1 ) {
assignmentParent = assignmentPath.last().getSource();
}
}
Expand Down

0 comments on commit 9bee19c

Please sign in to comment.