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

IllegalArgumentException/"Unknown shape type" on a valid Powerpoint file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0, 1.15
    • Component/s: parser
    • Labels:
      None
    • Environment:

      Windows 7 x64, JVM 1.8.0_101

      Description

      The attached valid Powerpoint file, when parsed with Tika, throws the following error:

      java.lang.IllegalArgumentException: Unknown shape type: 4095
      at org.apache.poi.sl.usermodel.ShapeType.forId(ShapeType.java:314)
      at org.apache.poi.hslf.usermodel.HSLFShapeFactory.createSimpleShape(HSLFShapeFactory.java:98)
      at org.apache.poi.hslf.usermodel.HSLFShapeFactory.createShape(HSLFShapeFactory.java:62)
      at org.apache.poi.hslf.usermodel.HSLFSheet.getShapes(HSLFSheet.java:173)
      at org.apache.tika.parser.microsoft.HSLFExtractor.parse(HSLFExtractor.java:93)
      at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:149)
      at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:117)

        Attachments

        1. 10.1056-NEJMra020100Figure01.ppt
          121 kB
          Seva Alekseyev

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sevaa Seva Alekseyev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: