[ 
https://issues.apache.org/jira/browse/TIKA-619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting updated TIKA-619:
-------------------------------

    Attachment: icon_gadget_tools_dark.gif

Attaching the troublesome GIF file so we don't loose it.

The underlying Java issue seems to be the one reported at:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6358674

> Error parsing GIF
> -----------------
>
>                 Key: TIKA-619
>                 URL: https://issues.apache.org/jira/browse/TIKA-619
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.0
>            Reporter: Erik Hetzner
>            Priority: Minor
>         Attachments: icon_gadget_tools_dark.gif
>
>
> I am getting an exception parsing the following GIF file, which opens OK in 
> firefox, etc. Although since this is a problem in Sun/Oracle code, I would 
> not expect it to be fixed anytime soon!
> {noformat}
> $ java -jar tika-app/target/tika-app-1.0-SNAPSHOT.jar 
> http://sites.google.com/site/keepaesopen/_/rsrc/1271597999559/system/app/images/icon_gadget_tools_dark.gif
> Exception in thread "main" org.apache.tika.exception.TikaException: image/gif 
> parse error
>         at org.apache.tika.parser.image.ImageParser.parse(ImageParser.java:91)
>         at 
> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
>         at 
> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
>         at 
> org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
>         at org.apache.tika.cli.TikaCLI$OutputType.process(TikaCLI.java:107)
>         at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:302)
>         at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:91)
> Caused by: javax.imageio.IIOException: Unexpected block type 0!
>         at 
> com.sun.imageio.plugins.gif.GIFImageReader.readMetadata(GIFImageReader.java:722)
>         at 
> com.sun.imageio.plugins.gif.GIFImageReader.getWidth(GIFImageReader.java:167)
>         at org.apache.tika.parser.image.ImageParser.parse(ImageParser.java:75)
>         ... 6 more
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to