#fixed code
                             @Test
	public void testStatesOfAct2(){
		states.informInsertionStarts(Arrays.asList(vehicleRoute), null);
		assertEquals(30.0, states.getActivityState(act2, StateFactory.COSTS).toDouble(),0.05);
		assertEquals(10.0, states.getActivityState(act2, StateFactory.LOAD).toDouble(),0.05);
		assertEquals(40.0, states.getActivityState(act2, StateFactory.LATEST_OPERATION_START_TIME).toDouble(),0.05);
	}
#vulnerable code 
                             @Test
	public void testStatesOfAct2(){
		states.informInsertionStarts(Arrays.asList(vehicleRoute), null);
		
		assertEquals(30.0, states.getActivityState(tour.getActivities().get(1), StateFactory.COSTS).toDouble(),0.05);
		assertEquals(10.0, states.getActivityState(tour.getActivities().get(1), StateFactory.LOAD).toDouble(),0.05);
//		assertEquals(10.0, states.getActivityState(tour.getActivities().get(0), StateTypes.EARLIEST_OPERATION_START_TIME).toDouble(),0.05);
		assertEquals(40.0, states.getActivityState(tour.getActivities().get(1), StateFactory.LATEST_OPERATION_START_TIME).toDouble(),0.05);
	} 
                            #location 5 
                            #vulnerability type NULL_DEREFERENCE