#vulnerable code 
                              public void setInfo(String partitionName, String info) {
    Map<String, Map<String, String>> mapFields = _record.getMapFields();
    if (mapFields.get(partitionName) == null) {
      mapFields.put(partitionName, new TreeMap<String, String>());
    }
    mapFields.get(partitionName).put(CurrentStateProperty.INFO.name(), info);
  } 
                            #location 6 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                              public void setInfo(String partitionName, String info) {
    setProperty(partitionName, CurrentStateProperty.INFO, info);
  }