You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Gerd Bremer (JIRA)" <ji...@apache.org> on 2010/05/19 13:14:53 UTC
[jira] Commented: (TIKA-425) Exception parsing mp3
[ https://issues.apache.org/jira/browse/TIKA-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869093#action_12869093 ]
Gerd Bremer commented on TIKA-425:
----------------------------------
I have the same issue and found a cause:
caused by: java.lang.NullPointerException
at org.apache.tika.sax.XHTMLContentHandler.characters(XHTMLContentHandler.java:196)
at org.apache.tika.sax.XHTMLContentHandler.element(XHTMLContentHandler.java:205)
at org.apache.tika.parser.mp3.Mp3Parser.parse(Mp3Parser.java:88)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:132)
The Mp3Parser may not call the 'element' method with a null value or the 'characters' method in the content handler must check if the parameter is null.
> Exception parsing mp3
> ---------------------
>
> Key: TIKA-425
> URL: https://issues.apache.org/jira/browse/TIKA-425
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 0.7
> Reporter: Erik Hetzner
> Priority: Minor
>
> Hi -
> I catch an exception processing the following mp3 file:
> $ curl -s http://www.thecoolspot.gov/sounds/coolspot.mp3 | java -jar tika-app-0.7.jar
> Exception in thread "main" org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.mp3.Mp3Parser@1d2940b3
> at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:134)
> at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:99)
> at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:155)
> at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:65)
> Caused by: java.lang.NullPointerException
> at org.apache.tika.sax.XHTMLContentHandler.characters(XHTMLContentHandler.java:196)
> at org.apache.tika.sax.XHTMLContentHandler.element(XHTMLContentHandler.java:205)
> at org.apache.tika.parser.mp3.Mp3Parser.parse(Mp3Parser.java:77)
> at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:132)
> ... 3 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.