Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2627

Exception thrown when max string length is reached

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.17
    • None
    • parser
    • None
    • Windows 2012 R2

      Java 1.8.0_151

    Description

      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.

      Attachments

        1. ExceptionStacktrace.txt
          6 kB
          Caleb Ott

        Activity

          People

            Unassigned Unassigned
            cott Caleb Ott
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: