tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Gourmelon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TIKA-424) Avoid ArrayIndexOutOfBoundsException on some mp3 files
Date Fri, 30 Jul 2010 13:32:16 GMT

    [ https://issues.apache.org/jira/browse/TIKA-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894036#action_12894036

Christophe Gourmelon commented on TIKA-424:

Hi !

There is another exception with MP3 files parsing :

org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.mp3.Mp3Parser@518bf072
	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:134)
	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:99)
	at Test.main(Test.java:24)
Caused by: java.lang.ArrayIndexOutOfBoundsException
	at java.lang.System.arraycopy(Native Method)
	at org.apache.tika.parser.mp3.ID3v2Frame$RawTag.<init>(ID3v2Frame.java:294)
	at org.apache.tika.parser.mp3.ID3v2Frame$RawTag.<init>(ID3v2Frame.java:266)
	at org.apache.tika.parser.mp3.ID3v2Frame$RawTagIterator.next(ID3v2Frame.java:249)
	at org.apache.tika.parser.mp3.ID3v24Handler.<init>(ID3v24Handler.java:46)
	at org.apache.tika.parser.mp3.Mp3Parser.getAllTagHandlers(Mp3Parser.java:132)
	at org.apache.tika.parser.mp3.Mp3Parser.parse(Mp3Parser.java:64)
	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:132)
	... 2 more

Do you need my MP3 file to do some tests ?


> Avoid ArrayIndexOutOfBoundsException on some mp3 files
> ------------------------------------------------------
>                 Key: TIKA-424
>                 URL: https://issues.apache.org/jira/browse/TIKA-424
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 0.7
>            Reporter: Nick Burch
>            Assignee: Jukka Zitting
>             Fix For: 0.8
>         Attachments: mp3-fix.patch
> There can currently be an ArrayIndexOutOfBoundsException if the tag of an mp3 is empty
but null padded (see TIKA-418 for someone reporting one against the wrong bug...)
> Attached patch correctly detects this condition and returns an empty string.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message