#fixed code
                             private Object loadContent(){
		Object[] shape = getShape();
		Object descr = getDescr();
		byte[] data = (byte[])getData();

		if(descr instanceof DType){
			DType dType = (DType)descr;

			descr = dType.toDescr();
		}

		try {
			InputStream is = new ByteArrayInputStream(data);

			try {
				return NDArrayUtil.parseData(is, descr, shape);
			} finally {
				is.close();
			}
		} catch(IOException ioe){
			throw new RuntimeException(ioe);
		}
	}
#vulnerable code 
                             private Object loadContent(){
		Object[] shape = getShape();
		Object descr = getDescr();
		byte[] data = (byte[])getData();

		try {
			InputStream is = new ByteArrayInputStream(data);

			try {
				return NDArrayUtil.parseData(is, descr, shape);
			} finally {
				is.close();
			}
		} catch(IOException ioe){
			throw new RuntimeException(ioe);
		}
	} 
                            #location 10 
                            #vulnerability type NULL_DEREFERENCE