#fixed code
                             @Test
	public void writeXml() {
		RequestStatus prop = new RequestStatus("1.2.3");
		prop.setDescription("description");
		prop.setExceptionText("data");
		assertWriteXml("<code>1.2.3</code><description>description</description><data>data</data>", prop, marshaller);
	}
#vulnerable code 
                             @Test
	public void writeXml() {
		RequestStatus prop = new RequestStatus("1.2.3");
		prop.setDescription("description");
		prop.setExceptionText("data");

		Document actual = xcalProperty(marshaller);
		marshaller.writeXml(prop, XmlUtils.getRootElement(actual));

		Document expected = xcalProperty(marshaller, "<code>1.2.3</code><description>description</description><data>data</data>");
		assertXMLEqual(expected, actual);
	} 
                            #location 8 
                            #vulnerability type NULL_DEREFERENCE