Menu

#3 ID3v2 Genre set to Empty String

open-later
None
3
2002-10-08
2001-11-11
No

After calling .setGenre( "" ) of an
MP3File.ID3V2_ONLY instantiated MP3File, upon calling
testFile.writeTags() the following error occurs.
This only occurs when the genre you are trying to set
is the empty string.

Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at helliker.id3.ID3v2Tag.getBytes
(ID3v2Tag.java:257)
at helliker.id3.ID3v2Tag.writeTag
(ID3v2Tag.java:164)
at helliker.id3.MP3File.writeTags
(MP3File.java:373)
at MP3HelperLogic.finishingUpdateID3v2Tag
(MP3HelperLogic.java:451)
at
MP3HelperLogic.finishingExecuteJButtonActionPerformed
(MP3HelperLogic.java:85)
at MP3HelperGUI$10.actionPerformed
(MP3HelperGUI.java:412)
at
javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1450)
at
javax.swing.AbstractButton$ForwardActionEvents.actionP
erformed(AbstractButton.java:1504)
at
javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:378)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:250)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleas
ed(BasicButtonListener.java:216)
at java.awt.Component.processMouseEvent
(Component.java:3715)
at java.awt.Component.processEvent
(Component.java:3544)
at java.awt.Container.processEvent
(Container.java:1164)
at java.awt.Component.dispatchEventImpl
(Component.java:2593)
at java.awt.Container.dispatchEventImpl
(Container.java:1213)
at java.awt.Component.dispatchEvent
(Component.java:2497)
at
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:2451)
at
java.awt.LightweightDispatcher.processMouseEvent
(Container.java:2216)
at
java.awt.LightweightDispatcher.dispatchEvent
(Container.java:2125)
at java.awt.Container.dispatchEventImpl
(Container.java:1200)
at java.awt.Window.dispatchEventImpl
(Window.java:914)
at java.awt.Component.dispatchEvent
(Component.java:2497)
at java.awt.EventQueue.dispatchEvent
(EventQueue.java:339)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:131)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:85)

Discussion

  • Andreas Grunewald

    Logged In: YES
    user_id=571171

    Will be fixed in Alpha 7 after the redesign of the Class
    structure.

     
  • Andreas Grunewald

    • priority: 5 --> 3
    • assigned_to: nobody --> gruni
    • status: open --> open-later
     

Log in to post a comment.

MongoDB Logo MongoDB