commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrique Lara (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CSV-118) CSVRecord.toMap() throws NPE on formats with no headers.
Date Thu, 15 May 2014 03:01:18 GMT
Enrique Lara created CSV-118:
--------------------------------

             Summary: CSVRecord.toMap() throws NPE on formats with no headers.
                 Key: CSV-118
                 URL: https://issues.apache.org/jira/browse/CSV-118
             Project: Commons CSV
          Issue Type: Bug
          Components: Parser
    Affects Versions: 1.0
         Environment: JUNIT
            Reporter: Enrique Lara
             Fix For: Patch Needed


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.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message