#vulnerable code 
                             @Test
	public void testConstructor2() {
		NullInputException e = new NullInputException(MSG, PROCESSOR, THROWABLE);
		assertEquals(CONCATENATED_MSG, e.getMessage());
		assertEquals(PROCESSOR, e.getOffendingProcessor());
		assertEquals(THROWABLE, e.getCause());
		e.printStackTrace();
		
		// test with null msg, processor and throwable
		e = new NullInputException(null, (CellProcessor) null, (Throwable) null);
		assertNull(e.getMessage());
		assertNull(e.getOffendingProcessor());
		assertNull(e.getCause());
		e.printStackTrace();
	} 
                            #location 10 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Test
	public void testConstructor2() {
		NullInputException e = new NullInputException(MSG, PROCESSOR, THROWABLE);
		assertEquals(MSG, e.getMessage());
		assertEquals(PROCESSOR, e.getOffendingProcessor());
		assertEquals(THROWABLE, e.getCause());
		e.printStackTrace();
		
		// test with null msg, processor and throwable
		e = new NullInputException(null, (CellProcessor) null, (Throwable) null);
		assertNull(e.getMessage());
		assertNull(e.getOffendingProcessor());
		assertNull(e.getCause());
		e.printStackTrace();
	}