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

FileModels throwing NPE when remote deleting a file that has never been in the database

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0 B1
    • Fix Version/s: 1.1.1 GA1
    • Component/s: General
    • Labels:
      None
    • Environment:
      All

      Description

      20 Aug 2013 17:13:03,034 DEBUG [BaseEvent:176]
      java.lang.NullPointerException
      at java.io.File.<init>(Unknown Source)
      at com.liferay.sync.modules.documentlibrary.server.manager.FileModelManager.createFileModelFromPath(FileModelManager.java:162)
      at com.liferay.sync.modules.documentlibrary.server.remote.event.GetDLSyncUpdateEvent._handleDelete(GetDLSyncUpdateEvent.java:350)
      at com.liferay.sync.modules.documentlibrary.server.remote.event.GetDLSyncUpdateEvent.handleResponse(GetDLSyncUpdateEvent.java:157)
      at com.liferay.sync.modules.documentlibrary.server.remote.event.BaseEvent.executeRequest(BaseEvent.java:233)
      at com.liferay.sync.modules.documentlibrary.server.remote.event.BaseEvent.run(BaseEvent.java:104)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(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:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 11 weeks, 5 days ago

                Packages

                Version Package
                1.1.1 GA1