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

Picture creation using D&D fails for a part of the dropped files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.2-SNAPSHOT
    • Fix Version/s: 7.2
    • Component/s: DAM, Image Management
    • Environment:
    • Tags:
    • Sprint:
      TGV 7.2-2

      Description

      When I d&d 2 or more picture files (see attachments), the creation of at least 1 document fails: it gets this kind of title, 9a9b7244-d309-48f1-a97b-240481dffafe.
      Logs say:

      2015-03-11 11:11:06,972 ERROR [Nuxeo-Work-default-4] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: ListenerWork(Listener updateThumbListener [scheduleThumbnailUpdate/996fcddd-7c72-4f3a-8412-820051d73a50, scheduleThumbnailUpdate/af6945a1-afd4-4c75-87f2-cc85938f1bcf, scheduleThumbnailUpdate/null, scheduleThumbnailUpdate/null], Progress(?%, ?/0), null)
      java.lang.UnsupportedOperationException
      	at org.nuxeo.ecm.core.event.impl.ShallowDocumentModel.getAdapter(ShallowDocumentModel.java:193)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.processDoc(UpdateThumbnailListener.java:45)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.handleEvent(UpdateThumbnailListener.java:96)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:170)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:343)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:304)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:273)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      2015-03-11 11:11:06,972 ERROR [Nuxeo-Work-default-4] [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event default on listener updateThumbListener
      java.lang.UnsupportedOperationException
      	at org.nuxeo.ecm.core.event.impl.ShallowDocumentModel.getAdapter(ShallowDocumentModel.java:193)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.processDoc(UpdateThumbnailListener.java:45)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.handleEvent(UpdateThumbnailListener.java:96)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:170)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:343)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:304)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:273)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      2015-03-11 11:11:06,973 ERROR [Nuxeo-Work-default-4] [org.nuxeo.ecm.core.work.WorkManagerImpl] Uncaught error on thread Nuxeo-Work-default-4
      java.lang.UnsupportedOperationException
      	at org.nuxeo.ecm.core.event.impl.ShallowDocumentModel.getAdapter(ShallowDocumentModel.java:193)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.processDoc(UpdateThumbnailListener.java:45)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.handleEvent(UpdateThumbnailListener.java:96)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:170)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:343)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:304)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:273)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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: