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

taggedVersionListener listener failed with a ShallowDocumentModel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.7.3
    • Fix Version/s: 5.8
    • Component/s: Tagging

      Description

      It could happens that taggedVersionListener is executed on a DeletedDocumentModel, and fails with this stacktrace:

      [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event default on listener taggedVersionListener
      java.lang.UnsupportedOperationException
      	at org.nuxeo.ecm.core.event.impl.ShallowDocumentModel.isProxy(ShallowDocumentModel.java:385)
      	at org.nuxeo.ecm.platform.tag.TaggedVersionListener.handleEvent(TaggedVersionListener.java:77)
      	at org.nuxeo.ecm.platform.tag.TaggedVersionListener.handleEvent(TaggedVersionListener.java:50)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:157)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:65)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      

      Visible on http://qa.nuxeo.org/jenkins/job/FT-nuxeo-master-selenium-social-collaboration-tomcat_permanentCheck/2914/

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: