Uploaded image for project: 'SongKong'
  1. SONGKONG-1599

Better handle Flac Bad Metadata issue error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.11
    • Fix Version/s: 5.12
    • Component/s: None
    • Labels:
      None
    • Forum Username:
      craigcook

      Description

      11/10/2018 01.31.52:BST:SongCache:addSongFileToDatabase:SEVERE: Failed AddSongToDatabase for file:\\N1-1BF0\share\import\all\The Beach Boys\All Summer Long\01-02-The_Beach_Boys-All_Summer_Long-SMRP.flac:null
      java.nio.BufferUnderflowException
      at java.base/java.nio.Buffer.nextGetIndex(Unknown Source)
      at java.base/java.nio.HeapByteBuffer.getShort(Unknown Source)
      at org.jaudiotagger.audio.flac.metadatablock.MetadataBlockDataStreamInfo.<init>(MetadataBlockDataStreamInfo.java:79)
      at org.jaudiotagger.audio.flac.FlacInfoReader.read(FlacInfoReader.java:64)
      at org.jaudiotagger.audio.flac.FlacFileReader.getEncodingInfo(FlacFileReader.java:42)
      at org.jaudiotagger.audio.generic.AudioFileReader2.read(AudioFileReader2.java:63)
      at org.jaudiotagger.audio.AudioFileIO.readFile(AudioFileIO.java:361)
      at org.jaudiotagger.audio.AudioFileIO.read(AudioFileIO.java:197)
      at com.jthink.songkong.db.SongCache.addSongFileToDatabase(SongCache.java:484)
      at com.jthink.songkong.db.SongCache.addSongFileToDatabase(SongCache.java:453)
      at com.jthink.songkong.fileloader.LoadFolderWorker.addSongsToDatabase(LoadFolderWorker.java:509)
      at com.jthink.songkong.fileloader.LoadFolderWorker.call(LoadFolderWorker.java:121)
      at com.jthink.songkong.fileloader.LoadFolderWorker.call(LoadFolderWorker.java:36)
      at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.base/java.lang.Thread.run(Unknown Source)

        Attachments

          Activity

            People

            • Reporter:
              ijabz IJabz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: