RandomFile can fail FileNotFoundException just if file being used by another process

Issue #211 closed
IJabz repo owner created an issue

RandomFile can fail FileNotFoundException just if file being used by another process, this isvery misleading and another reason to remove use of RandomFile

java.io.FileNotFoundException: C:\Users\Paul\Desktop\TestMusic\Duplicates\13 - Hard Times Come Again No More.mp3 (The process cannot access the file because it is being used by another process)
    at java.io.RandomAccessFile.open0(Native Method)
    at java.io.RandomAccessFile.open(Unknown Source)
    at java.io.RandomAccessFile.<init>(Unknown Source)
    at org.jaudiotagger.tag.id3.AbstractID3v2Tag.writeBufferToFile(AbstractID3v2Tag.java:1478)
    at org.jaudiotagger.tag.id3.ID3v23Tag.write(ID3v23Tag.java:798)
    at org.jaudiotagger.audio.mp3.MP3File.save(MP3File.java:957)
    at org.jaudiotagger.audio.mp3.MP3File.save(MP3File.java:861)
    at org.jaudiotagger.audio.mp3.MP3File.commit(MP3File.java:874)

Comments (2)

  1. Log in to comment