Uploaded image for project: 'Advanced Cache'
  1. Advanced Cache
  2. MGNLADVCACHE-26

NotifyFlushListeningPolicy.updateLastUpdateTimestamp fails with ISE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.6
    • 1.5
    • None

    Description

      2014-10-06 12:57:28,402 ERROR info.magnolia.context.MgnlContext                 : MgnlContext is not initialized. This could happen if the request does not go through the Magnolia default filters.
      java.lang.IllegalStateException: MgnlContext is not set for this thread
      	at info.magnolia.context.MgnlContext.getInstance(MgnlContext.java:300)
      	at info.magnolia.context.MgnlContext.getUser(MgnlContext.java:91)
      	at info.magnolia.jcr.wrapper.MgnlPropertySettingContentDecorator.updateLastModified(MgnlPropertySettingContentDecorator.java:530)
      	at info.magnolia.jcr.wrapper.MgnlPropertySettingContentDecorator.updateLastModified(MgnlPropertySettingContentDecorator.java:535)
      	at info.magnolia.jcr.wrapper.MgnlPropertySettingContentDecorator.updateLastModifiedProperty(MgnlPropertySettingContentDecorator.java:546)
      	at info.magnolia.jcr.wrapper.MgnlPropertySettingNodeWrapper.updateLastModifiedProperty(MgnlPropertySettingNodeWrapper.java:278)
      	at info.magnolia.jcr.wrapper.MgnlPropertySettingNodeWrapper.setProperty(MgnlPropertySettingNodeWrapper.java:133)
      	at info.magnolia.jcr.wrapper.DelegateNodeWrapper.setProperty(DelegateNodeWrapper.java:422)
      	at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.setProperty(ContentDecoratorNodeWrapper.java:224)
      	at info.magnolia.audit.MgnlAuditLoggingContentDecoratorNodeWrapper.setProperty(MgnlAuditLoggingContentDecoratorNodeWrapper.java:183)
      	at info.magnolia.cms.core.DefaultNodeData.setValue(DefaultNodeData.java:253)
      	at info.magnolia.module.advancedcache.NotifyFlushListeningPolicy.updateLastUpdateTimestamp(NotifyFlushListeningPolicy.java:62)
      	at info.magnolia.module.advancedcache.EagerRecacheFlushPolicy.preHandleEvents(EagerRecacheFlushPolicy.java:77)
      	at info.magnolia.module.cache.AbstractListeningFlushPolicy$CacheCleaner.onEvent(AbstractListeningFlushPolicy.java:193)
      	at info.magnolia.cms.util.ObservationUtil$ObservationBasedDelayedExecutor$1.run(ObservationUtil.java:253)
      	at info.magnolia.cms.util.DelayedExecutor$RunnableWrapper.run(DelayedExecutor.java:103)
      	at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:695)
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                rkovarik Roman Kovařík
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD