We're updating the issue view to help you get more done. 

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

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)

Environment

Status

Assignee

Unassigned

Reporter

Paul Taylor

Forum Username

JeffreyLavine

Components

Fix versions

Affects versions

3.21

Priority

Major