Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Jul 22, 2014
2 parents 0edccd0 + 27f6aaa commit 1d92a04
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -162,7 +162,7 @@ public TaskDto(TaskType taskType, ModelService modelService, TaskService taskSer
private void fillInResourceReference(TaskType task, TaskManager manager, OperationResult result, ModelService service){
ObjectReferenceType ref = task.getObjectRef();

if(ResourceType.COMPLEX_TYPE.equals(ref.getType())){
if(ref != null && ResourceType.COMPLEX_TYPE.equals(ref.getType())){
resourceRef = new TaskAddResourcesDto(ref.getOid(), getTaskObjectName(task, manager, service, result));
}
}
Expand Down

0 comments on commit 1d92a04

Please sign in to comment.