[ 
https://issues.apache.org/jira/browse/CSV-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920456#comment-16920456
 ] 

Slawomir Lisznianski commented on CSV-250:
------------------------------------------

It's my fault. I'm using reflection to inject case insensitive lookups of 
column names. I believe the proper way is to use the withIgnoreHeaderCase() 
since 1.3.

I will close the defect report.

 

 

> Cannot locate field mapping on class org.apache.commons.csv.CSVRecord
> ---------------------------------------------------------------------
>
>                 Key: CSV-250
>                 URL: https://issues.apache.org/jira/browse/CSV-250
>             Project: Commons CSV
>          Issue Type: Bug
>    Affects Versions: 1.7
>            Reporter: Slawomir Lisznianski
>            Priority: Major
>
> After upgrading from 1.6 to 1.7, parser invocations started to throw 
> IllegalArgumentException:
> "Cannot locate field mapping on class org.apache.commons.csv.CSVRecord"
> Reverting the project back to 1.6 resolved the problem.
> javac 11.0.4 
> openjdk version "11.0.4" 2019-07-16
> OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
> OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed 
> mode, sharing)
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to