You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Caleb Ott (JIRA)" <ji...@apache.org> on 2018/04/09 16:31:00 UTC

[jira] [Updated] (TIKA-2627) Exception thrown when max string length is reached

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

Caleb Ott updated TIKA-2627:
----------------------------
    Priority: Major  (was: Minor)

> Exception thrown when max string length is reached
> --------------------------------------------------
>
>                 Key: TIKA-2627
>                 URL: https://issues.apache.org/jira/browse/TIKA-2627
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.17
>         Environment: Windows 2012 R2
> Java 1.8.0_151
>            Reporter: Caleb Ott
>            Priority: Major
>         Attachments: ExceptionStacktrace.txt
>
>
> I have set the max string length and expected tika to parse up to that limit then return me the text. However, for certain files it appears that once that limit is reached, instead of returning the text parsed so far, it is throwing an exception.
> It looks like the WriteLimitReachedException is being wrapped in another exception which is why it is not being caught.
> Attached is the stack trace I am getting.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)