#vulnerable code 
                             private Node parseASTFilter() {
		Token token = expect(Filter.class);
		Filter filterToken = (Filter) token;
		Attribute attr = (Attribute) accept(Attribute.class);

		token = expect(Colon.class);

		FilterNode node = new FilterNode();
		node.setValue(filterToken.getValue());
		node.setBlock(block());
		node.setLineNumber(line());
		node.setAttributes(attr.getAttributes());
		return node;
	} 
                            #location 12 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             private Node parseASTFilter() {
		Token token = expect(Filter.class);
		Filter filterToken = (Filter) token;
		Attribute attr = (Attribute) accept(Attribute.class);

		token = expect(Colon.class);

		FilterNode node = new FilterNode();
		node.setValue(filterToken.getValue());
		node.setBlock(block());
		node.setLineNumber(line());
		node.setFileName(filename);
		node.setAttributes(attr.getAttributes());
		return node;
	}