Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22661

Documents created with Live Connect don't have thumbnails

    XMLWordPrintable

    Details

      Description

      Steps de reproduce:

      • Install and configure Live edit and Google Drive connection
      • Create a File and link it to a GDoc
      • In the parent folder, switch to thumbnail view

      The File document type icon thumbnail is displayed instead of the content of the File

      OS : Mac
      Browser : All

      In server.log, I have :

      2017-07-03 15:57:10,802 ERROR [Nuxeo-Work-default-3:46694367112619.1549239535] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: ListenerWork(Listener updateThumbListener [scheduleThumbnailUpdate/82157f49-df40-42f0-a94c-28f2e45e5ff0], Progress(?%, ?/0), null)
      java.lang.NullPointerException
      	at java.net.URI$Parser.parse(URI.java:3042)
      	at java.net.URI.<init>(URI.java:588)
      	at org.nuxeo.ecm.liveconnect.core.AbstractLiveConnectBlobProvider.asURI(AbstractLiveConnectBlobProvider.java:350)
      	at org.nuxeo.ecm.liveconnect.google.drive.GoogleDriveBlobProvider.getThumbnail(GoogleDriveBlobProvider.java:187)
      	at org.nuxeo.ecm.core.blob.BlobManagerComponent.getThumbnail(BlobManagerComponent.java:200)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.getManagedThumbnail(UpdateThumbnailListener.java:105)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.processDoc(UpdateThumbnailListener.java:61)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.handleEvent(UpdateThumbnailListener.java:137)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:218)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:373)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:332)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57)
      	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)
      2017-07-03 15:57:10,806 ERROR [Nuxeo-Work-default-3:46694367112619.1549239535] [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event default on listener updateThumbListener
      java.lang.NullPointerException
      	at java.net.URI$Parser.parse(URI.java:3042)
      	at java.net.URI.<init>(URI.java:588)
      	at org.nuxeo.ecm.liveconnect.core.AbstractLiveConnectBlobProvider.asURI(AbstractLiveConnectBlobProvider.java:350)
      	at org.nuxeo.ecm.liveconnect.google.drive.GoogleDriveBlobProvider.getThumbnail(GoogleDriveBlobProvider.java:187)
      	at org.nuxeo.ecm.core.blob.BlobManagerComponent.getThumbnail(BlobManagerComponent.java:200)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.getManagedThumbnail(UpdateThumbnailListener.java:105)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.processDoc(UpdateThumbnailListener.java:61)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.handleEvent(UpdateThumbnailListener.java:137)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:218)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:373)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:332)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57)
      	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:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m