- changed status to resolved
NumberFormatException when creating ID3v1 tag from ID3v2 tag with textual genres
Issue #192
resolved
When I try to create an ID3v1 tag from an ID3v2 tag with a textual genre which has a hyphen in it, I get the following:
java.lang.NumberFormatException: For input string: "-"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:581)
at java.lang.Long.parseLong(Long.java:631)
at org.jaudiotagger.tag.id3.ID3Tags.findNumber(ID3Tags.java:405)
at org.jaudiotagger.tag.id3.ID3Tags.findNumber(ID3Tags.java:359)
at org.jaudiotagger.tag.id3.ID3v11Tag.<init>(ID3v11Tag.java:202)
at org.jaudiotagger.tag.id3.ID3v1Tag.<init>(ID3v1Tag.java:167)
Looks like a bug in ID3Tags
, see fix in pull request #47 .
Comments (2)
-
repo owner -
reporter Thanks, Admiral Taylor.
- Log in to comment
Fixed by Mr Gravell