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

Syncing may get stuck after saving a Microsoft Office file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Desktop-3.4.1 GA2
    • Fix Version/s: Desktop-3.4.2 GA3
    • Component/s: General
    • Labels:
      None

      Description

      When saving Microsoft Office files, an error may occur causing Sync to get stuck (files will no longer upload or download).

      The following exception will appear in the logs:

      05:30:25.519 DEBUG [pool-10-thread-5] [SyncWatchEventProcessor:677] Processing Sync watch event

      Unknown macro: {"uiEvent"}

      05:30:25.521 ERROR [pool-10-thread-5] [SyncWatchEventProcessor:145] For input string: "null"
      java.lang.NumberFormatException: For input string: "null"
      at java.lang.NumberFormatException.forInputString(Unknown Source)
      at java.lang.Long.parseLong(Unknown Source)
      at java.lang.Long.parseLong(Unknown Source)
      at com.liferay.sync.engine.util.GetterUtil.getLong(GetterUtil.java:65)
      at com.liferay.sync.engine.util.GetterUtil.getLong(GetterUtil.java:57)
      at com.liferay.sync.engine.util.FileUtil.isModified(FileUtil.java:440)
      at com.liferay.sync.engine.util.FileUtil.isModified(FileUtil.java:426)
      at com.liferay.sync.engine.file.system.SyncWatchEventProcessor.modifyFile(SyncWatchEventProcessor.java:573)
      at com.liferay.sync.engine.file.system.SyncWatchEventProcessor.processSyncWatchEvent(SyncWatchEventProcessor.java:720)
      at com.liferay.sync.engine.file.system.SyncWatchEventProcessor.doRun(SyncWatchEventProcessor.java:499)
      at com.liferay.sync.engine.file.system.SyncWatchEventProcessor.run(SyncWatchEventProcessor.java:142)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.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

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 37 weeks, 1 day ago

                Packages

                Version Package
                Desktop-3.4.2 GA3