Uploaded image for project: 'SongKong'
  1. SongKong
  2. SONGKONG-945

Error when Rename File Only is enabled and subfolder part of filename is empty

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.21
    • Fix Version/s: 3.22
    • Component/s: Filesystem
    • Labels:
      None
    • Forum Username:
      JeffreyLavine

      Description

      Error when Rename File Only is enabled and subfolder part of filename is empty

      java.lang.IllegalArgumentException
      at sun.nio.fs.WindowsPath.subpath(Unknown Source)
      at sun.nio.fs.WindowsPath.subpath(Unknown Source)
      at com.jthink.songkong.analyse.analyser.FileRenamer.renameFilenameBasedOnMetadata(FileRenamer.java:81)
      at com.jthink.songkong.analyse.analyser.FileRenamer.renameFileBasedOnMetadata(FileRenamer.java:269)
      at com.jthink.songkong.analyse.analyser.SongSaver.saveSongToFile(SongSaver.java:557)
      at com.jthink.songkong.analyse.analyser.SongSaver.saveChanges(SongSaver.java:159)
      at com.jthink.songkong.analyse.analyser.SongSaver.call(SongSaver.java:134)
      at com.jthink.songkong.analyse.analyser.SongSaver.call(SongSaver.java:52)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Activity

            People

            • Reporter:
              paul Paul Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: