Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13407

WatchlistJob use badly initialized XWikiContext

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Instead of sending notification mails one gets an error in the log fille when the watchlist job is run

      2016-05-10 15:00:00,033 [DefaultQuartzScheduler_Worker-1] WARN  .x.x.s.XWikiHibernateBaseStore - ExecutionContext and passed XWikiContext argument mismatched, for data safety, the XWikiContext from the ExecutionContext has been used. 
      java.lang.Exception: null
              at com.xpn.xwiki.store.XWikiHibernateBaseStore.getXWikiContext(XWikiHibernateBaseStore.java:1498)
              at com.xpn.xwiki.store.XWikiHibernateBaseStore.cleanUp(XWikiHibernateBaseStore.java:1137)
              at com.xpn.xwiki.store.XWikiCacheStore.cleanUp(XWikiCacheStore.java:614)
              at org.xwiki.watchlist.internal.job.WatchListJob.init(WatchListJob.java:100)
              at org.xwiki.watchlist.internal.job.WatchListJob.executeJob(WatchListJob.java:209)
              at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:71)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            camil7 Clemens Robbenhaar
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: