Move: Fix NPE when label doesn't exist in target branch
Change-Id: I86bb6f09bc2a865b8bbf899ef32e11e9e3ac22c0
This commit is contained in:
parent
877b49ae8d
commit
eb9e9ca3d3
@ -259,7 +259,7 @@ public class Move extends RetryingRestModifyView<ChangeResource, MoveInput, Chan
|
||||
// Only keep veto votes, defined as votes where:
|
||||
// 1- the label function allows minimum values to block submission.
|
||||
// 2- the vote holds the minimum value.
|
||||
if (type.isMaxNegative(psa) && type.getFunction().isBlock()) {
|
||||
if (type == null || (type.isMaxNegative(psa) && type.getFunction().isBlock())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user