output: #fixed code
                                @ManagedMetric(description = "Total Disk Space assigned")
    public long getTotalDiskAssigned() {
      return convertPotentialLong(parseStorageTotals().get("hdd").get("total"));
    }
input: #vulnerable code 
                                @ManagedMetric(description = "Total Disk Space assigned")
    public long getTotalDiskAssigned() {
      return (Long) parseStorageTotals().get("hdd").get("total");
    } 
                              #location 3 
                              #vulnerability type NULL_DEREFERENCE