Created attachment 123 [details] task.getPriorityNumber() should be null Problem location : Task.java Problem found : TestTask.java Creating a task without a priority and then calling the method getPriority() provoke an error Solution : should check if the priority is null before trying to return it