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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Desktop-3.4.1 GA2
    • Desktop-3.4.2 GA3
    • General
    • 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

            michael.young Michael Young (Inactive)
            dennis.ju Dennis Ju (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 40 weeks, 3 days ago

              Packages

                Version Package
                Desktop-3.4.2 GA3