Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#8 MP3 files throws NegativeArraySizeException

open
nobody
None
5
2008-04-17
2008-04-17
Anonymous
No

The following code:

try {

ParserContext ctx = new ParserContext();
DataAdapter adapter = new MP3Adapter();
adapter.adapt(mp3File, ctx);
} catch (Exception e) {
e.printStackTrace();
}

throws the NegativeArraySizeException, from debugging i
found out it happens here:

FXUtil.getFixedStringValue(DataSource,int length)

Discussion

  • Logged In: NO

    I found the problem/workaround - once i saved the file's ID3 tags as version ID3v2.4UTF-8, it all works!!! is it a bug or a feature?))