#fixed code
                             public double[] getValues(){
		List<? extends Number> values = (List<? extends Number>)ClassDictUtil.getArray(this, "values");

		return Doubles.toArray(values);
	}
#vulnerable code 
                             public double[] getValues(){
		NDArrayWrapper values = (NDArrayWrapper)get("values");

		return Doubles.toArray((List<? extends Number>)values.getContent());
	} 
                            #location 4 
                            #vulnerability type NULL_DEREFERENCE