Pierre Villard created NIFI-7105:
------------------------------------

             Summary: 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.11.1, 1.11.0, 1.10.0
            Reporter: Pierre Villard
            Assignee: Pierre Villard


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)

Reply via email to