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

Adding Quota facet asynchronously may lead to NPE

    XMLWordPrintable

    Details

      Description

      When removing document versions:

      2014-01-22 21:46:46,750 ERROR [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Nuxeo-Work-default-2 {{tx,fffffffbffffffa810000047544d4944}}Error during quotaStatsListener sync listener execution, transaction won't be rolled back since event.markRollBack() was not called by theListener
      java.lang.NullPointerException
      at org.nuxeo.ecm.quota.size.QuotaSyncListenerChecker.processDocumentAboutToBeRemoved(QuotaSyncListenerChecker.java:314)
      at org.nuxeo.ecm.quota.AbstractQuotaStatsUpdater.updateStatistics(AbstractQuotaStatsUpdater.java:111)
      at org.nuxeo.ecm.quota.QuotaStatsServiceImpl$1.run(QuotaStatsServiceImpl.java:97)
      at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:115)
      at org.nuxeo.ecm.quota.QuotaStatsServiceImpl.updateStatistics(QuotaStatsServiceImpl.java:90)
      at org.nuxeo.ecm.quota.QuotaStatsListener.handleEvent(QuotaStatsListener.java:79)
      at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:213)
      at org.nuxeo.ecm.core.api.AbstractSession.fireEvent(AbstractSession.java:353)
      at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:405)
      at org.nuxeo.ecm.core.api.AbstractSession.removeNotifyOneDoc(AbstractSession.java:1774)
      at org.nuxeo.ecm.core.api.AbstractSession.removeDocument(AbstractSession.java:1741)
      at org.nuxeo.ecm.core.api.AbstractSession.removeDocument(AbstractSession.java:1727)
      at sun.reflect.GeneratedMethodAccessor1302.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:133)
      at com.sun.proxy.$Proxy42.removeDocument(Unknown Source)
      at org.nuxeo.ecm.core.versioning.OrphanVersionRemoverListener.removeIfPossible(OrphanVersionRemoverListener.java:82)
      at org.nuxeo.ecm.core.versioning.OrphanVersionRemoverListener.handleEvent(OrphanVersionRemoverListener.java:57)
      at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:153)
      at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:150)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.