title: Why does Apache Commons CSVParser.getHeaderMap() always return null?
body: <p>When reading the following TSV snippet with Apache Commons CSV:</p>
  
  <pre><code>Name    DOB SIN Address, contact information
  "Patience Middleton"    "18-4-87"   720463771   "varius Cras sem aliquam taciti fames hendrerit tempor"
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>CSVFormat format = CSVFormat.newFormat('\t').withQuote('"');
  CSVParser parsed = CSVParser.parse(csvData, format);
  List&lt;CSVRecord&gt; record = parsed.getRecords();
  System.out.println(parsed.getHeaderMap().toString());
  </code></pre>
  
  <p>However I always get a <code>NullPointerException</code> stating that <code>parsed.getHeaderMap() == null</code>.</p>
  
  <p>According to the API (<a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVParser.html" rel="noreferrer">https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVParser.html</a>), the method may return a copy of the header map that iterates in column order.</p>
  
  <p>Is there something wrong in my code or CSV file? Is the library failing? </p>