Uploaded image for project: 'Eagle (Retired)'
  1. Eagle (Retired)
  2. EAGLE-609

NullPointerException in DefaultDeduplicator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • v0.5.0
    • v0.5.0
    • None
    • None

    Description

      // make all of the field as unique key if no custom dedup field provided
                  if (customDedupFields == null || customDedupFields.size() <= 0) {
                      customFieldValues.put(colName, event.getData()[i].toString());
                  } else {
                      for (String field : customDedupFields) {
                          if (colName.equals(field)) {
                              customFieldValues.put(field, event.getData()[i].toString());
                              break;
                          }
                      }
                  }
      

      In the above code, if the value of colName is null, then nullPointerException is thrown

      Attachments

        Issue Links

          Activity

            People

              qingwzhao Qingwen Zhao
              qingwzhao Qingwen Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: