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

CSVRecordLookupService assumes key is a String

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.17.0, 1.16.1
    • Extensions
    • None

    Description

      The CSVRecordLookupService assumes that the provided key is a String and attempts to cast the value to a String. If an integer, for example, is provided, it throws a ClassCastException.

      SimpleCsvFileLookupService, on the other hand, more appropriately calls toString() to convert the value into a String. We should do this always.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              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 - 20m
                  20m