#fixed code
                                public String getTitle() {
        return title;
    }
#vulnerable code 
                                public String getTitle() throws IOException, ParseException {
        if (title != null) {
            return title;
        }

        if (url == null)
            throw new IOException("URL needs to be present");

        return info(url).get("title").toString();
    } 
                            #location 9 
                            #vulnerability type NULL_DEREFERENCE