You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Seva Alekseyev (JIRA)" <ji...@apache.org> on 2016/10/19 22:08:58 UTC

[jira] [Created] (TIKA-2129) IllegalArgumentException/"Unknown shape type" on a valid Powerpoint file

Seva Alekseyev created TIKA-2129:
------------------------------------

             Summary: IllegalArgumentException/"Unknown shape type" on a valid Powerpoint file
                 Key: TIKA-2129
                 URL: https://issues.apache.org/jira/browse/TIKA-2129
             Project: Tika
          Issue Type: Bug
          Components: parser
         Environment: Windows 7 x64, JVM 1.8.0_101
            Reporter: Seva Alekseyev


The following valid Powerpoint file:

https://dl.dropboxusercontent.com/u/92341073/10.1056-NEJMra020100Figure01.ppt

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)
	at gov.nih.niaid.fscanner.Extract.ExtractContents(Extract.java:62)
	at gov.nih.niaid.temp.Main.main(Main.java:69)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)