[ https://issues.apache.org/jira/browse/CSV-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory resolved CSV-118. ------------------------------ Resolution: Fixed Fix Version/s: (was: Patch Needed) 1.0 {noformat} commit -m "<action issue="CSV-118" type="fix" dev="ggregory" due-to="Enrique Lara">CSVRecord.toMap() throws NPE on formats with no headers.</action>" C:/vcs/svn/apache/commons/trunks-proper/csv/src/test/java/org/apache/commons/csv/CSVRecordTest.java C:/vcs/svn/apache/commons/trunks-proper/csv/src/main/java/org/apache/commons/csv/CSVRecord.java C:/vcs/svn/apache/commons/trunks-proper/csv/src/changes/changes.xml Sending C:/vcs/svn/apache/commons/trunks-proper/csv/src/changes/changes.xml Sending C:/vcs/svn/apache/commons/trunks-proper/csv/src/main/java/org/apache/commons/csv/CSVRecord.java Sending C:/vcs/svn/apache/commons/trunks-proper/csv/src/test/java/org/apache/commons/csv/CSVRecordTest.java Transmitting file data ... Committed revision 1594966. {noformat} > 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: 1.0 > > 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)