[ 
https://issues.apache.org/jira/browse/NIFI-7105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17037181#comment-17037181
 ] 

ASF subversion and git services commented on NIFI-7105:
-------------------------------------------------------

Commit b7c7d2fa589b15695744ee7bcb24562cbe7db486 in nifi's branch 
refs/heads/support/nifi-1.11.x from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b7c7d2f ]

NIFI-7105 - fix NPE for counters in SiteToSiteStatusReportingTask (#4038)

Signed-off-by: Andy LoPresto <alopre...@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
>             Fix For: 1.12.0, 1.11.2
>
>          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)

Reply via email to