#vulnerable code 
                             static
	public List<?> getContent(NDArray array, String key){
		Map<String, ?> data = (Map<String, ?>)array.getContent();

		return asJavaList(array, (List<?>)data.get(key));
	} 
                            #location 5 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             static
	public List<?> getContent(NDArray array, String key){
		Map<String, ?> content = (Map<String, ?>)array.getContent();

		return asJavaList(array, (List<?>)content.get(key));
	}