#vulnerable code 
                                public double getCreatedUTC() throws IOException, ParseException {
        createdUTC = Double.parseDouble(info(url).get("created_utc").toString());
        return createdUTC;
    } 
                            #location 2 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                                public double getCreatedUTC() {
        return createdUTC;
    }