You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/02/06 19:12:00 UTC
[jira] [Commented] (NIFI-7105) NPE in SiteToSiteStatusReportingTask
for counters
[ https://issues.apache.org/jira/browse/NIFI-7105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031863#comment-17031863 ]
ASF subversion and git services commented on NIFI-7105:
-------------------------------------------------------
Commit 089013aa596216024c1870e6941b8037654ca000 in nifi's branch refs/heads/master from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=089013a ]
NIFI-7105 - fix NPE for counters in SiteToSiteStatusReportingTask (#4038)
Signed-off-by: Andy LoPresto <al...@apache.org>
> NPE in SiteToSiteStatusReportingTask for counters
> -------------------------------------------------
>
> Key: NIFI-7105
> URL: https://issues.apache.org/jira/browse/NIFI-7105
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.10.0, 1.11.0, 1.11.1
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Since the addition of the counters in the SiteToSiteStatusReportingTask for processors, the reporting task can throw a NPE:
> {code:java}
> 2020-02-04 21:10:20,062 ERROR [Timer-Driven Process Thread-10] o.a.n.r.SiteToSiteStatusReportingTask SiteToSiteStatusReportingTask[id=07ce184c-0163-1000-16b4-c81b2199c4a5] Error running task SiteToSiteStatusReportingTask[id=07ce184c-0163-1000-16b4-c81b2199c4a5] due to org.apache.avro.file.DataFileWriter$AppendWriteException: java.lang.NullPointerException: null of map in field counters of status.status
> {code}
> The schema needs to be updated to allow null for counters.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)