[ 
https://issues.apache.org/jira/browse/EAGLE-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-609:
---------------------------
    Affects Version/s:     (was: 0.5)
                       v0.5.0

> NullPointerException in DefaultDeduplicator
> -------------------------------------------
>
>                 Key: EAGLE-609
>                 URL: https://issues.apache.org/jira/browse/EAGLE-609
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.5.0
>            Reporter: Zhao, Qingwen
>            Assignee: Zhao, Qingwen
>             Fix For: v0.5.0
>
>
> {code}
> // 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;
>                     }
>                 }
>             }
> {code}
> In the above code, if the value of colName is null, then nullPointerException 
> is thrown



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to