ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #526] Fix bug.
Check for null.
This commit is contained in:
parent
096ac8e338
commit
75da2dbba0
1 changed files with 4 additions and 0 deletions
|
|
@ -358,6 +358,10 @@ public class ResourceLoadModel implements IResourceLoadModel {
|
|||
pageFilterPosition, getEndPositionForCriterionPageFilter());
|
||||
}
|
||||
for(Criterion criterion : criteriaList) {
|
||||
if (genericAllocationsByCriterion.get(criterion) == null) {
|
||||
// no allocations found for criterion
|
||||
continue;
|
||||
}
|
||||
List<GenericResourceAllocation> allocations = ResourceAllocation
|
||||
.sortedByStartDate(genericAllocationsByCriterion
|
||||
.get(criterion));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue