#vulnerable code 
                             @Override
	public ContinuousOutputFeature toContinuousFeature(){
		PMMLEncoder encoder = ensureEncoder();

		Output output = getOutput();

		OutputField outputField = OutputUtil.getOutputField(output, getName());

		DataType dataType = outputField.getDataType();
		switch(dataType){
			case INTEGER:
			case FLOAT:
			case DOUBLE:
				break;
			default:
				throw new IllegalArgumentException();
		}

		outputField.setOpType(OpType.CONTINUOUS);

		return new ContinuousOutputFeature(encoder, output, outputField);
	} 
                            #location 9 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Override
	public ContinuousOutputFeature toContinuousFeature(){
		PMMLEncoder encoder = ensureEncoder();

		Output output = getOutput();

		OutputField outputField = getField();

		DataType dataType = outputField.getDataType();
		switch(dataType){
			case INTEGER:
			case FLOAT:
			case DOUBLE:
				break;
			default:
				throw new IllegalArgumentException();
		}

		outputField.setOpType(OpType.CONTINUOUS);

		return new ContinuousOutputFeature(encoder, output, outputField);
	}