Commons CSV
  1. Commons CSV
  2. CSV-118

CSVRecord.toMap() throws NPE on formats with no headers.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0
    • Component/s: Parser
    • Labels:
    • Environment:

      JUNIT

      Description

      The method toMap() on CSVRecord throws a NullPointerExcpetion when called on records derived using a format with no headers.

      The method documentation states a null map should be returned instead.

      1. csv.patch
        2 kB
        Enrique Lara

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Enrique Lara
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development