Caleb Ott created TIKA-2627:
-------------------------------
Summary: 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
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)