You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2023/05/05 17:02:00 UTC

[jira] [Resolved] (TIKA-4029) commons-csv 1.10 changed IllegalStateException to IOException

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

Tim Allison resolved TIKA-4029.
-------------------------------
    Fix Version/s: 2.8.0
       Resolution: Fixed

> commons-csv 1.10 changed IllegalStateException to IOException
> -------------------------------------------------------------
>
>                 Key: TIKA-4029
>                 URL: https://issues.apache.org/jira/browse/TIKA-4029
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> In the CSVParser, we had a catch statement in case the csv file was malformed.  In the catch statement we read the rest of the stream and wrote it as one big paragraph.  We then threw the exception.
>  
> In commons-csv 1.10.0, it looks like they changed the IllegalStateException to an UncheckedIOException.  So, we're now missing a bunch of text that we used to extract from csv files.
>  
> This issue was discovered during our regression tests in preparation for the release of 2.8.0-rc1
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)