#fixed code
                             @Test(expected = CannotParseException.class)
	public void parseXml_bad_longitude() {
		parseXCalProperty("<latitude>12.34</latitude><longitude>bad</longitude>", marshaller);
	}
#vulnerable code 
                             @Test(expected = CannotParseException.class)
	public void parseXml_bad_longitude() {
		ICalParameters params = new ICalParameters();

		Element element = xcalPropertyElement(marshaller, "<latitude>12.34</latitude><longitude>bad</longitude>");
		marshaller.parseXml(element, params);
	} 
                            #location 6 
                            #vulnerability type NULL_DEREFERENCE