• Post Reply Bookmark Topic Watch Topic
  • New Topic

Read information of a filme mp3  RSS feed

 
Alicia Perry
Ranch Hand
Posts: 66
Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm trying to create a program that reads the information on mp3 files (album, artist, etc.) in a particular folder. Searching the internet I found the library Java ID3 Tag Library.

I wrote this simple class:



When I run it, Eclipse generates this error:

Exception in thread "main" java.lang.UnsupportedOperationException
at org.farng.mp3.id3.FrameBodyRVAD.setupObjectList(Unknown Source)
at org.farng.mp3.AbstractMP3FragmentBody.<init>(Unknown Source)
at org.farng.mp3.id3.AbstractID3v2FrameBody.<init>(Unknown Source)
at org.farng.mp3.id3.FrameBodyRVAD.<init>(Unknown Source)
at org.farng.mp3.id3.AbstractID3v2Frame.readBody(Unknown Source)
at org.farng.mp3.id3.ID3v2_3Frame.read(Unknown Source)
at org.farng.mp3.id3.ID3v2_3Frame.<init>(Unknown Source)
at org.farng.mp3.id3.ID3v2_3.read(Unknown Source)
at org.farng.mp3.id3.ID3v2_3.<init>(Unknown Source)
at org.farng.mp3.MP3File.<init>(Unknown Source)
at org.farng.mp3.MP3File.<init>(Unknown Source)
at main.Main.main(Main.java:16)



How can I fix this? Thanks!

PS: Yes, I added the jar file in the library.
 
Campbell Ritchie
Marshal
Posts: 56595
172
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to find the details of the method that Exception was thrown from. Unsupported operation exceptions are used (in theory in the collections framework) to denote methods which have not been implemented.
 
Alicia Perry
Ranch Hand
Posts: 66
Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the advice. I finally solved in another way.

PS. I apologize for the error in the title of the post, I don't find how to change it, maybe can do a moderator.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!