#fixed code
                             @Test
	public void testAnnotationCreate() throws Exception {
		setupContextForAnnotatedListener();
		DefaultAnnotationConfiguration.AnnotatedTaskListener annotatedListener =
				context.getBean(DefaultAnnotationConfiguration.AnnotatedTaskListener.class);
		TaskExecution taskExecution = new TaskExecution(0, null, "wombat",
				new Date(), new Date(), null, new ArrayList<String>(), null, null);
		verifyListenerResults(true, false, false, taskExecution,annotatedListener);
	}
#vulnerable code 
                             @Test
	public void testAnnotationCreate() throws Exception {
		setupContextForAnnotatedListener();
		DefaultAnnotationConfiguration.AnnotatedTaskListener annotatedListener =
				context.getBean(DefaultAnnotationConfiguration.AnnotatedTaskListener.class);
		TaskExecution taskExecution = new TaskExecution(0, null, "wombat",
				new Date(), new Date(), null, new ArrayList<String>(), null);
		verifyListenerResults(true, false, false, taskExecution,annotatedListener);
	} 
                            #location 8 
                            #vulnerability type NULL_DEREFERENCE