Delete Duplicates doesnt load all songs, if takes more than 1 hour to load them all.

Description

Delete Duplicates doesnt seem to have loaded all songs, only gets upto C, but no errors in logs (except unable to add cover art for a couple of tracks which I dont think is relevant)

Is there some sort of timing issue ?

Userlog shows

23/10/2020 06.16.51:AEDT:INFO: Start
23/10/2020 06.16.51:AEDT:INFO: Start:U:\DElees w Art to F
23/10/2020 06.29.36:AEDT:INFO: Start:E:\JBM2
23/10/2020 06.36.13:AEDT:WARNING: --Music File Count:219217
23/10/2020 07.06.35:AEDT:SEVERE: ---Shutdown:com.jthink.songkong.analyse.duplicates.DeleteDuplicatesLoadFolderWorker
23/10/2020 08.18.38:AEDT:SEVERE: SongsLoaded:50819
23/10/2020 08.18.38:AEDT:SEVERE: SongsDeleted:944

i.e there seemed to be 219,000 songs but only 50,000 were loaded.

is the shutdown coming too early

23/10/2020 07.06.31:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\A Bigger Bang:35209:14:35209
23/10/2020 07.06.33:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Aftermath:35222:13:35222
23/10/2020 07.06.33:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Almost Hear You Sigh:35223:1:35223
23/10/2020 07.06.34:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Acoustic Motherfuckers:35252:17:35252
23/10/2020 07.06.34:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Aftermath (UK) + 3 Singles [1966]:35258:18:35258
23/10/2020 07.06.35:AEDT:DeleteDuplicatesController:start:SEVERE: -------------loadFilesEnd
23/10/2020 07.06.35:AEDT:DeleteDuplicatesController:waitForFoldersToBeProcessed:SEVERE: waitForFoldersToBeProcessed
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: ---Shutdown:com.jthink.songkong.analyse.duplicates.DeleteDuplicatesLoadFolderWorker
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: java.base/java.lang.Thread.getStackTrace(Thread.java:1598)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: com.jthink.songkong.analyse.analyser.TimeoutThreadPoolExecutor.shutdown(TimeoutThreadPoolExecutor.java:123)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: com.jthink.songkong.analyse.toplevelanalyzer.DeleteDuplicatesController.waitForFoldersToBeProcessed(DeleteDuplicatesController.java:563)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: com.jthink.songkong.analyse.toplevelanalyzer.DeleteDuplicatesController.start(DeleteDuplicatesController.java:665)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: com.jthink.songkong.ui.swingworker.DeleteDuplicates.doInBackground(DeleteDuplicates.java:42)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: com.jthink.songkong.ui.swingworker.DeleteDuplicates.doInBackground(DeleteDuplicates.java:19)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
23/10/2020 07.06.35:AEDT:TimeoutThreadPoolExecutor:shutdown:SEVERE: java.base/java.lang.Thread.run(Thread.java:832)
23/10/2020 07.06.35:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Another Earls Court:35259:1:35259
23/10/2020 07.06.36:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Alternate Takes & Demos (1970-1979):35268:9:35268
23/10/2020 07.06.37:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Alternate Takes, Demos & Radio Sessions (1963-1966):35285:17:35285
23/10/2020 07.06.37:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Alternate Takes & Demos (1968-1969):35301:16:35301
23/10/2020 07.06.37:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Any Port in a Storm:35302:1:35302
23/10/2020 07.06.37:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Back in the U.S.A:35304:2:35304
23/10/2020 07.06.38:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Barcelona Y'ole!:35307:3:35307
23/10/2020 07.06.40:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Beat Beat Beat (1):35308:1:35308
23/10/2020 07.06.40:AEDT:DeleteDuplicatesLoadFolderWorker:loadFiles:SEVERE: end:U:\DElees w Art to F\The Rolling Stones\Beggar's Breakfast:35314:6:35314

Activity

Show:
IJabz
October 28, 2020, 10:22 AM

Done.

IJabz
October 28, 2020, 9:55 AM

The code that waits for all files to be loaded

{{ es.shutdown();
es.awaitTermination(1, TimeUnit.HOURS);}}

the 1 hour timeout is to protectt agianst something going wrong (infinite loop etc) which is fine usually, but if user has very large collection may not be enough.

Fixed

Reporter

IJabz

Labels

None

Forum Username

simonkain

os

None

Components

Fix versions

Affects versions

Priority

Major