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

New list processing changes appear to be causing RTFParser exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6
    • Component/s: parser
    • Labels:
    • Environment:

      Mac OSX 10.7.5
      Tika 1.6-SNAPSHOT

      Description

      Some RTFs cause RTFParser to throw a RuntimeException:

      Unexpected RuntimeException from org.apache.tika.parser.rtf.RTFParser@425e60f2

      When tracing in the debugger (surfaces in CompositeParser.parse() where it catches the RuntimeException, line 244 in my copy), the exception (e) is:

      java.lang.ArrayIndexOutOfBoundsException: -1

      A committer (Tim Allison) believes that it is being caused by recent list processing changes.

        Attachments

        1. rtfparsererror_2.rtf
          7 kB
          Chris Bamford

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bammers Chris Bamford
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: