#vulnerable code 
                             static
	public List<?> getArray(ClassDict dict, String name, String key){
		NDArrayWrapper nodes = (NDArrayWrapper)dict.get(name);

		Map<String, ?> content = (Map<String, ?>)nodes.getContent();

		return toArray(content.get(key));
	} 
                            #location 5 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             static
	public List<?> getArray(ClassDict dict, String name, String key){
		NDArrayWrapper arrayWrapper = (NDArrayWrapper)dict.get(name);

		NDArray array = arrayWrapper.getContent();

		return NDArrayUtil.getData(array, key);
	}