#vulnerable code 
                             @Test
	public void testTaskCreate() {
		setupContextForTaskExecutionListener();
		DefaultTaskListenerConfiguration.TestTaskExecutionListener taskExecutionListener =
				context.getBean(DefaultTaskListenerConfiguration.TestTaskExecutionListener.class);
		TaskExecution taskExecution = new TaskExecution(0, null, "wombat",
				new Date(), new Date(), null, new ArrayList<String>(), null);
		verifyListenerResults(true, false, false, taskExecution,taskExecutionListener);
	} 
                            #location 8 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Test
	public void testTaskCreate() {
		setupContextForTaskExecutionListener();
		DefaultTaskListenerConfiguration.TestTaskExecutionListener taskExecutionListener =
				context.getBean(DefaultTaskListenerConfiguration.TestTaskExecutionListener.class);
		TaskExecution taskExecution = new TaskExecution(0, null, "wombat",
				new Date(), new Date(), null, new ArrayList<String>(), null, null);
		verifyListenerResults(true, false, false, taskExecution,taskExecutionListener);
	}