#vulnerable code 
                             @Test
	public void testProcesssedRead() throws Exception {
		UserBean user;
		final String[] header = inFile.getCSVHeader(true);
		user = inFile.read(UserBean.class, header, processors);

		Assert.assertEquals("read elem ", "Klaus", user.getUsername());
		Assert.assertEquals("read elem ", "qwexyKiks", user.getPassword());
		final Date cal = new Date(2007 - 1900, 10 - 1, 1);
		Assert.assertEquals(cal, user.getDate());
		Assert.assertEquals("read elem ", 4328, user.getZip());
		Assert.assertEquals("read elem ", "New York", user.getTown());
	} 
                            #location 7 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Test
	public void testProcesssedRead() throws Exception {
		UserBean user;
		final String[] header = inFile.getCSVHeader(true);
		assertThat(header[2], is("date"));
		user = inFile.read(UserBean.class, header, processors);

		Assert.assertEquals("read elem ", "Klaus", user.getUsername());
		Assert.assertEquals("read elem ", "qwexyKiks", user.getPassword());
		final Date cal = new Date(2007 - 1900, 10 - 1, 1);
		Assert.assertEquals(cal, user.getDate());
		Assert.assertEquals("read elem ", 4328, user.getZip());
		Assert.assertEquals("read elem ", "New York", user.getTown());
	}