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

Checksum calculation may occur before file is finished copying on slower computers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Desktop-3.2.0 GA1
    • Fix Version/s: Desktop-3.2.1 GA2
    • Component/s: General
    • Labels:
      None

      Description

      11:59:32.285 ERROR [pool-14-thread-6] [SyncWatchEventProcessor:210] C:\Users\liferay\Documents\test\liferay-sync-3.1.1-ga2-20160418132854935-x86 - Copy.msi: The process cannot access the file because it is being used by another process.
      
      java.nio.file.FileSystemException: C:\Users\liferay\Documents\test\liferay-sync-3.1.1-ga2-20160418132854935-x86 - Copy.msi: The process cannot access the file because it is being used by another process.
      
      	at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
      	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
      	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
      	at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)
      	at java.nio.file.Files.newByteChannel(Files.java:361)
      	at java.nio.file.Files.newByteChannel(Files.java:407)
      	at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
      	at java.nio.file.Files.newInputStream(Files.java:152)
      	at com.liferay.sync.engine.util.FileUtil.getChecksum(FileUtil.java:254)
      	at com.liferay.sync.engine.service.SyncFileService.addFileSyncFile(SyncFileService.java:70)
      	at com.liferay.sync.engine.filesystem.SyncWatchEventProcessor$2.run(SyncWatchEventProcessor.java:202)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Issue Links

            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:
                  2 years, 39 weeks ago