#fixed code
                             @Override
	public void removeExecutable(Distribution distribution, File executable) {
		FileWithCounter fileWithCounter;
		synchronized (_lock) {
			fileWithCounter = _distributionFiles.get(distribution);
		}
		if (fileWithCounter!=null) {
			fileWithCounter.free(executable);
		} else {
			_logger.warning("Allready removed "+executable+" for "+distribution+", emergency shutdown?");
		}
	}
#vulnerable code 
                             @Override
	public void removeExecutable(Distribution distribution, File executable) {
		FileWithCounter fileWithCounter;
		synchronized (_lock) {
			fileWithCounter = _distributionFiles.get(distribution);
		}
		fileWithCounter.free(executable);
		//_delegate.removeExecutable(executable);
	} 
                            #location 7 
                            #vulnerability type NULL_DEREFERENCE