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

IndexOutOfBoundsException with TikaGUI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.1
    • gui
    • None
    • Windows 7

    Description

      From issue Tika-410: the issue's attached test document, "test.doc", causes an IndexOutOfBoundsException when dropped into a latest build of the tika-app GUI. The reason is that the org.apache.poi.hwpf.usermodel.Picture class's suggestFileExtension() method, used by Tika's WordExtractor class, can return an empty string. The requestSave method of the ImageSavingParser inner class (of TikaGUI) is not written to handle the case of an image having no extension.

      Attachments

        1. test.doc
          32 kB
          John Mastarone
        2. TIKA-809.patch
          0.8 kB
          John Mastarone

        Activity

          People

            Unassigned Unassigned
            jfm.apache John Mastarone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: