We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fd92f6 commit fbe12a7Copy full SHA for fbe12a7
src/main/java/com/microsoft/graph/content/MSBatchRequestContent.java
@@ -63,7 +63,9 @@ public boolean removeBatchRequestStepWithId(String requestId) {
63
batchRequestStepsHashMap.remove(requestId);
64
removed = true;
65
for(Map.Entry<String, MSBatchRequestStep> steps : batchRequestStepsHashMap.entrySet()) {
66
- while(steps.getValue().getArrayOfDependsOnIds().remove(requestId));
+ if(steps.getValue() != null && steps.getValue().getArrayOfDependsOnIds() != null) {
67
+ while(steps.getValue().getArrayOfDependsOnIds().remove(requestId));
68
+ }
69
}
70
71
return removed;
0 commit comments