Uploaded image for project: 'PUBLIC - Liferay Sync'
  1. PUBLIC - Liferay Sync
  2. SYNC-1510

Changing folders may lead to IOException: Unable to delete directory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Desktop-3.0.9 GA1
    • Fix Version/s: Desktop-3.0.10 GA2
    • Component/s: General
    • Labels:
      None

      Description

      java.io.IOException: Unable to delete directory E:\db\in.liferay.com\shinn.lok.
      	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1541) ~[commons-io-2.4.jar:2.4]
      	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) ~[commons-io-2.4.jar:2.4]
      	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) ~[commons-io-2.4.jar:2.4]
      	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) ~[commons-io-2.4.jar:2.4]
      	at org.apache.commons.io.FileUtils.moveDirectory(FileUtils.java:2756) ~[commons-io-2.4.jar:2.4]
      	at com.liferay.sync.engine.service.SyncAccountService.updateSyncAccountSyncFile(SyncAccountService.java:388) ~[com.liferay.sync.engine-3.0.9.jar:na]
      	at com.liferay.sync.ui.window.preferences.service.ChangeFolderService$UpdateSyncAccountSyncFileTask.doCall(ChangeFolderService.java:105) [liferay-sync-ee.jar:na]
      	at com.liferay.sync.ui.window.preferences.service.ChangeFolderService$UpdateSyncAccountSyncFileTask.call(ChangeFolderService.java:89) [liferay-sync-ee.jar:na]
      	at com.liferay.sync.ui.window.preferences.service.ChangeFolderService$UpdateSyncAccountSyncFileTask.call(ChangeFolderService.java:84) [liferay-sync-ee.jar:na]
      	at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) [jfxrt.jar:na]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_51]
      	at javafx.concurrent.Service.lambda$null$488(Service.java:725) [jfxrt.jar:na]
      	at javafx.concurrent.Service$$Lambda$485/2058539972.run(Unknown Source) [jfxrt.jar:na]
      	at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_51]
      	at javafx.concurrent.Service.lambda$executeTask$489(Service.java:724) [jfxrt.jar:na]
      	at javafx.concurrent.Service$$Lambda$483/151551591.run(Unknown Source) [jfxrt.jar:na]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_51]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_51]
      	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51]
      

        Attachments

          Activity

            People

            • Assignee:
              shinn.lok Shinn Lok
              Reporter:
              shinn.lok Shinn Lok
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 31 weeks, 2 days ago

                Packages

                Version Package
                Desktop-3.0.10 GA2