[ 
https://issues.apache.org/jira/browse/CSV-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Enrique Lara updated CSV-118:
-----------------------------

    Attachment: csv.patch

Patch to main code as well as unit test exposing condition.

> 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
>              Labels: easyfix, patch
>             Fix For: Patch Needed
>
>         Attachments: csv.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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)

Reply via email to