Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7105

NPE in SiteToSiteStatusReportingTask for counters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.10.0, 1.11.0, 1.11.1
    • 1.12.0, 1.11.2
    • Extensions
    • None

    Description

      Since the addition of the counters in the SiteToSiteStatusReportingTask for processors, the reporting task can throw a NPE:

      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
      

      The schema needs to be updated to allow null for counters.

      Attachments

        Issue Links

          Activity

            People

              pvillard Pierre Villard
              pvillard Pierre Villard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m