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

Batch file downloads that run into an exception retry indefinitely

    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

      09:33:57.674 ERROR [pool-13-thread-1] [DownloadFilesHandler:175] Unexpected end of ZLIB input stream
      java.io.EOFException: Unexpected end of ZLIB input stream
      	at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)
      	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
      	at java.util.zip.ZipInputStream.read(ZipInputStream.java:194)
      	at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140)
      	at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118)
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:109)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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)
      09:33:57.674 TRACE [pool-13-thread-1] [BaseEvent:190] Processing event DownloadFilesEvent file path /Users/liferay/test/Reporting
      09:33:58.209 TRACE [pool-13-thread-2] [BaseHandler:183] Handling response DownloadFilesHandler file path /Users/liferay/test/Reporting
      09:33:58.210 ERROR [pool-13-thread-2] [DownloadFilesHandler:175] null
      java.lang.NullPointerException: null
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:140)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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)
      09:33:58.210 TRACE [pool-13-thread-2] [BaseEvent:190] Processing event DownloadFilesEvent file path /Users/liferay/test/Reporting
      09:33:58.700 TRACE [pool-13-thread-1] [BaseHandler:183] Handling response DownloadFilesHandler file path /Users/liferay/test/Reporting
      09:33:58.701 ERROR [pool-13-thread-1] [DownloadFilesHandler:175] null
      java.lang.NullPointerException: null
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:140)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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)
      09:33:58.701 TRACE [pool-13-thread-1] [BaseEvent:190] Processing event DownloadFilesEvent file path /Users/liferay/test/Reporting
      09:34:01.004 TRACE [pool-13-thread-2] [BaseHandler:183] Handling response DownloadFilesHandler file path /Users/liferay/test/Reporting
      09:34:01.004 ERROR [pool-13-thread-2] [DownloadFilesHandler:175] null
      java.lang.NullPointerException: null
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:140)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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)
      09:34:01.004 TRACE [pool-13-thread-2] [BaseEvent:190] Processing event DownloadFilesEvent file path /Users/liferay/test/Reporting
      09:34:01.551 TRACE [pool-15-thread-5] [BaseEvent:195] Processing event RetryServerConnectionEvent
      09:34:01.554 DEBUG [pool-15-thread-5] [BaseHandler:304] Attempting to reconnect to http://sync-uat.liferay.com. Retry #2050.
      09:34:02.496 TRACE [pool-10-thread-4] [GetSyncDLObjectUpdateEvent:52] Processing event GetSyncDLObjectUpdateEvent
      09:34:02.639 TRACE [pool-10-thread-4] [BaseJSONHandler:362] Handling response GetSyncDLObjectUpdateHandler 
      09:34:02.640 TRACE [pool-10-thread-4] [GetSyncDLObjectUpdateEvent:52] Processing event GetSyncDLObjectUpdateEvent
      09:34:03.074 TRACE [pool-13-thread-1] [BaseHandler:183] Handling response DownloadFilesHandler file path /Users/liferay/test/Reporting
      09:34:03.075 ERROR [pool-13-thread-1] [DownloadFilesHandler:175] null
      java.lang.NullPointerException: null
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:140)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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)
      09:34:03.075 TRACE [pool-13-thread-1] [BaseEvent:190] Processing event DownloadFilesEvent file path /Users/liferay/test/Reporting
      09:34:03.180 TRACE [pool-10-thread-4] [BaseJSONHandler:362] Handling response GetSyncDLObjectUpdateHandler 
      09:34:03.181 TRACE [pool-10-thread-4] [GetSyncDLObjectUpdateEvent:52] Processing event GetSyncDLObjectUpdateEvent
      09:34:03.567 TRACE [pool-13-thread-2] [BaseHandler:183] Handling response DownloadFilesHandler file path /Users/liferay/test/Reporting
      09:34:03.568 ERROR [pool-13-thread-2] [DownloadFilesHandler:175] null
      java.lang.NullPointerException: null
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:140)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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)
      09:34:03.568 TRACE [pool-13-thread-2] [BaseEvent:190] Processing event DownloadFilesEvent file path /Users/liferay/test/Reporting
      09:34:04.071 TRACE [pool-10-thread-3] [GetSyncDLObjectUpdateEvent:52] Processing event GetSyncDLObjectUpdateEvent
      09:34:04.152 TRACE [pool-10-thread-3] [BaseJSONHandler:362] Handling response GetSyncDLObjectUpdateHandler 
      09:34:04.153 TRACE [pool-10-thread-3] [GetSyncDLObjectUpdateEvent:52] Processing event GetSyncDLObjectUpdateEvent
      09:34:04.204 TRACE [pool-10-thread-3] [BaseJSONHandler:362] Handling response GetSyncDLObjectUpdateHandler 
      09:34:04.204 TRACE [pool-10-thread-3] [GetSyncDLObjectUpdateEvent:52] Processing event GetSyncDLObjectUpdateEvent
      09:34:04.249 TRACE [pool-10-thread-3] [BaseJSONHandler:362] Handling response GetSyncDLObjectUpdateHandler 
      09:34:04.250 TRACE [pool-10-thread-3] [GetSyncDLObjectUpdateEvent:52] Processing event GetSyncDLObjectUpdateEvent
      09:34:04.290 TRACE [pool-10-thread-3] [BaseJSONHandler:362] Handling response GetSyncDLObjectUpdateHandler 
      09:34:04.291 TRACE [pool-10-thread-3] [GetSyncDLObjectUpdateEvent:52] Processing event GetSyncDLObjectUpdateEvent
      09:34:04.364 TRACE [pool-10-thread-3] [BaseJSONHandler:362] Handling response GetSyncDLObjectUpdateHandler 
      09:34:04.365 TRACE [pool-10-thread-3] [GetSyncDLObjectUpdateEvent:52] Processing event GetSyncDLObjectUpdateEvent
      09:34:04.399 TRACE [pool-10-thread-3] [BaseJSONHandler:362] Handling response GetSyncDLObjectUpdateHandler 
      09:34:05.207 TRACE [pool-10-thread-4] [BaseJSONHandler:362] Handling response GetSyncDLObjectUpdateHandler 
      09:34:05.207 TRACE [pool-10-thread-4] [GetSyncDLObjectUpdateEvent:52] Processing event GetSyncDLObjectUpdateEvent
      09:34:05.593 TRACE [pool-13-thread-2] [BaseHandler:183] Handling response DownloadFilesHandler file path /Users/liferay/test/Reporting
      09:34:05.594 ERROR [pool-13-thread-2] [DownloadFilesHandler:175] null
      java.lang.NullPointerException: null
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:140)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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)
      09:34:05.594 TRACE [pool-13-thread-2] [BaseEvent:190] Processing event DownloadFilesEvent file path /Users/liferay/test/Reporting
      09:34:05.711 TRACE [pool-10-thread-4] [BaseJSONHandler:362] Handling response GetSyncDLObjectUpdateHandler 
      09:34:06.152 TRACE [pool-13-thread-1] [BaseHandler:183] Handling response DownloadFilesHandler file path /Users/liferay/test/Reporting
      09:34:06.152 ERROR [pool-13-thread-1] [DownloadFilesHandler:175] null
      java.lang.NullPointerException: null
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:140)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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)
      09:34:06.152 TRACE [pool-13-thread-1] [BaseEvent:190] Processing event DownloadFilesEvent file path /Users/liferay/test/Reporting
      09:34:07.192 TRACE [pool-13-thread-2] [BaseHandler:183] Handling response DownloadFilesHandler file path /Users/liferay/test/Reporting
      09:34:07.192 ERROR [pool-13-thread-2] [DownloadFilesHandler:175] null
      java.lang.NullPointerException: null
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:140)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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)
      09:34:07.192 TRACE [pool-13-thread-2] [BaseEvent:190] Processing event DownloadFilesEvent file path /Users/liferay/test/Reporting
      09:34:08.486 TRACE [pool-13-thread-1] [BaseHandler:183] Handling response DownloadFilesHandler file path /Users/liferay/test/Reporting
      09:34:08.486 ERROR [pool-13-thread-1] [DownloadFilesHandler:175] null
      java.lang.NullPointerException: null
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:140)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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)
      09:34:08.486 TRACE [pool-13-thread-1] [BaseEvent:190] Processing event DownloadFilesEvent file path /Users/liferay/test/Reporting
      09:34:09.211 TRACE [pool-13-thread-2] [BaseHandler:183] Handling response DownloadFilesHandler file path /Users/liferay/test/Reporting
      09:34:09.212 ERROR [pool-13-thread-2] [DownloadFilesHandler:175] null
      java.lang.NullPointerException: null
      	at com.liferay.sync.engine.document.library.handler.DownloadFilesHandler.doHandleResponse(DownloadFilesHandler.java:140)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:193)
      	at com.liferay.sync.engine.document.library.handler.BaseHandler.handleResponse(BaseHandler.java:57)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
      	at com.liferay.sync.engine.session.Session.execute(Session.java:320)
      	at com.liferay.sync.engine.session.Session$2.run(Session.java:288)
      	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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 19 weeks, 5 days ago

                Packages

                Version Package
                Desktop-3.4.2 GA3