Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-121

IllegalArgumentException thrown when the header contains duplicate names when the column names are empty.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • None
    • None

    Description

      When having a header like a,,c,d,, an IllegalArgumentException("The header contains duplicate names: " +Arrays.toString(header) is thrown because empty header names are treated as a header with name. I sended in a pullrequest at github: https://github.com/apache/commons-csv/pull/2

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tuxBurner Sebastian Hardt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment