You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/11 14:02:20 UTC
[jira] [Commented] (EAGLE-609) NullPointerException in
DefaultDeduplicator
[ https://issues.apache.org/jira/browse/EAGLE-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565488#comment-15565488 ]
ASF GitHub Bot commented on EAGLE-609:
--------------------------------------
GitHub user qingwen220 opened a pull request:
https://github.com/apache/incubator-eagle/pull/492
EAGLE-609: Fix nullPointerException in DefaultDeduplicator
https://issues.apache.org/jira/browse/EAGLE-609
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/qingwen220/incubator-eagle EAGLE-609
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-eagle/pull/492.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #492
----
----
> NullPointerException in DefaultDeduplicator
> -------------------------------------------
>
> Key: EAGLE-609
> URL: https://issues.apache.org/jira/browse/EAGLE-609
> Project: Eagle
> Issue Type: Bug
> Affects Versions: 0.5
> Reporter: Zhao, Qingwen
> Assignee: Zhao, Qingwen
> Fix For: 0.5
>
>
> {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)