Uploaded image for project: 'JIRA Components'
  1. JIRA Components
  2. JIRA-40

WYSIWYG macro selection is broken when the macro is installed on multiple wikis

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 8.6.3
    • 8.6.2
    • Configuration
    • None
    • Unknown
    • N/A
    • N/A

    Description

      This issue has been identified in XWiki 12.10.8

      Steps to reproduce : 

      • Create a new instance with 2 sub-wikis, install the JIRA application in each wikis (the main wiki and the 2 sub-wikis)
      • In each wiki, set-up a default configuration for the JIRA macro.
      • Restart XWiki
      • Head to the first sub-wiki, on the Sandbox page. Edit the page in WYSIWYG mode and try to insert a macro using the macro picker : the picker shows up properly
      • Try to do the same on the main wiki or on the second sub-wiki : the picker doesn't show up properly and we get the following :

      In practice, it seems that the AJAX call to CKEditor.MacroService is failing, with the following error :

      Failed to execute the [velocity] macro. Cause: [Cache with name [configuration.document.jira] already exist]. Click on this message for details.org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#if ("$!request.data" != '')
      
        #set ($data = $NULL)
      
        #if ($request.data == 'list')
      
          #getMacroList($request.syntaxId)
      
        #elseif ($request.data == 'descriptor')
      
          #maybeGetMacroDescriptor($request.macroId)
      
        #end
      
        #if ($data)
      
          #set ($discard = $response.setContentType('application/json'))
      
          $jsontool.serialize($data)
      
        #else
      
          $response.sendError(404)
      
        #end
      
      #end]
      
      	at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:139)
      
      	at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:52)
      
      	at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
      
      	at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
      
      	at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
      
      	at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:297)
      
      	at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
      
      	at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:103)
      
      	at org.xwiki.display.internal.DocumentContentAsyncExecutor.executeInCurrentExecutionContext(DocumentContentAsyncExecutor.java:348)
      
      	at org.xwiki.display.internal.DocumentContentAsyncExecutor.execute(DocumentContentAsyncExecutor.java:221)
      
      	at org.xwiki.display.internal.DocumentContentAsyncRenderer.execute(DocumentContentAsyncRenderer.java:107)
      
      	at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.render(AbstractBlockAsyncRenderer.java:157)
      
      	at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.render(AbstractBlockAsyncRenderer.java:54)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:273)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:250)
      
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.execute(DefaultBlockAsyncRendererExecutor.java:125)
      
      	at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:67)
      
      	at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:43)
      
      	at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
      
      	at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
      
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:123)
      
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:52)
      
      	at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68)
      
      	at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42)
      
      	at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1218)
      
      	at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1359)
      
      	at com.xpn.xwiki.doc.XWikiDocument.displayDocument(XWikiDocument.java:1308)
      
      	at com.xpn.xwiki.api.Document.displayDocument(Document.java:765)
      
      	at jdk.internal.reflect.GeneratedMethodAccessor2331.invoke(Unknown Source)
      
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:565)
      
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:548)
      
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:219)
      
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:369)
      
      	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:701)
      
      	at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:72)
      
      	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:240)
      
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:144)
      
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:423)
      
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:191)
      
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:144)
      
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:172)
      
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:144)
      
      	at org.xwiki.velocity.internal.directive.TryCatchDirective.render(TryCatchDirective.java:86)
      
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:301)
      
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:423)
      
      	at org.apache.velocity.Template.merge(Template.java:358)
      
      	at org.apache.velocity.Template.merge(Template.java:262)
      
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:280)
      
      	at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:321)
      
      	at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.evaluateContent(VelocityTemplateEvaluator.java:95)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:217)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.renderVelocity(TemplateAsyncRenderer.java:180)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:137)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:53)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.lambda$syncRender$0(DefaultAsyncRendererExecutor.java:267)
      
      	at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:267)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:250)
      
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.render(DefaultBlockAsyncRendererExecutor.java:154)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:772)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:745)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:725)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:711)
      
      	at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:78)
      
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2505)
      
      	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:2483)
      
      	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:983)
      
      	at jdk.internal.reflect.GeneratedMethodAccessor2076.invoke(Unknown Source)
      
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:565)
      
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:548)
      
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:219)
      
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:369)
      
      	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:490)
      
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:144)
      
      	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:215)
      
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:328)
      
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:258)
      
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:301)
      
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:423)
      
      	at org.apache.velocity.Template.merge(Template.java:358)
      
      	at org.apache.velocity.Template.merge(Template.java:262)
      
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:280)
      
      	at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:321)
      
      	at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.evaluateContent(VelocityTemplateEvaluator.java:95)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:217)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.renderVelocity(TemplateAsyncRenderer.java:180)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:137)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:53)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.lambda$syncRender$0(DefaultAsyncRendererExecutor.java:267)
      
      	at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:267)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:250)
      
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.render(DefaultBlockAsyncRendererExecutor.java:154)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:772)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:745)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:725)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:711)
      
      	at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:78)
      
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2505)
      
      	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:2483)
      
      	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:983)
      
      	at jdk.internal.reflect.GeneratedMethodAccessor2076.invoke(Unknown Source)
      
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:565)
      
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:548)
      
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:219)
      
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:369)
      
      	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:490)
      
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:144)
      
      	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:215)
      
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:328)
      
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:258)
      
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:301)
      
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:423)
      
      	at org.apache.velocity.Template.merge(Template.java:358)
      
      	at org.apache.velocity.Template.merge(Template.java:262)
      
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:280)
      
      	at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:321)
      
      	at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.evaluateContent(VelocityTemplateEvaluator.java:95)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:217)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.renderVelocity(TemplateAsyncRenderer.java:180)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:137)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:53)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.lambda$syncRender$0(DefaultAsyncRendererExecutor.java:267)
      
      	at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:267)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:250)
      
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.render(DefaultBlockAsyncRendererExecutor.java:154)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:772)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:745)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:725)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:711)
      
      	at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:78)
      
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2505)
      
      	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:2483)
      
      	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:983)
      
      	at jdk.internal.reflect.GeneratedMethodAccessor2076.invoke(Unknown Source)
      
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:565)
      
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:548)
      
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:219)
      
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:369)
      
      	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:490)
      
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:144)
      
      	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:215)
      
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:328)
      
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:258)
      
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:301)
      
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:423)
      
      	at org.apache.velocity.Template.merge(Template.java:358)
      
      	at org.apache.velocity.Template.merge(Template.java:262)
      
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:280)
      
      	at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:321)
      
      	at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.evaluateContent(VelocityTemplateEvaluator.java:95)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:217)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.renderVelocity(TemplateAsyncRenderer.java:180)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:137)
      
      	at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:53)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.lambda$syncRender$0(DefaultAsyncRendererExecutor.java:267)
      
      	at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:267)
      
      	at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:250)
      
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.render(DefaultBlockAsyncRendererExecutor.java:154)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:772)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:745)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:725)
      
      	at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:711)
      
      	at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:78)
      
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2505)
      
      	at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:179)
      
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:605)
      
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:283)
      
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
      
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
      
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
      
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
      
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:122)
      
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      
      	at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:109)
      
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      
      	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
      
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
      
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
      
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      
      	at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:132)
      
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
      
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
      
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
      
      	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:747)
      
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
      
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
      
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1627)
      
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      
      	at java.base/java.lang.Thread.run(Thread.java:834)
      
      Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with namespace [projects:CKEditor.MacroService]
      
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:288)
      
      	at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:321)
      
      	at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
      
      	... 221 more
      
      Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getMacroDescriptors' in  class org.xwiki.rendering.script.RenderingScriptService threw exception org.xwiki.rendering.macro.MacroLookupException: Failed to lookup Macros at projects:CKEditor.MacroService[line 23, column 47]
      
      	at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:306)
      
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:233)
      
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:369)
      
      	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:701)
      
      	at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:72)
      
      	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:240)
      
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:144)
      
      	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:215)
      
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:328)
      
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:258)
      
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:301)
      
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:144)
      
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:172)
      
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:144)
      
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:172)
      
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:423)
      
      	at org.apache.velocity.Template.merge(Template.java:358)
      
      	at org.apache.velocity.Template.merge(Template.java:262)
      
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:280)
      
      	... 223 more
      
      Caused by: org.xwiki.rendering.macro.MacroLookupException: Failed to lookup Macros
      
      	at org.xwiki.rendering.internal.macro.DefaultMacroManager.getMacroIds(DefaultMacroManager.java:89)
      
      	at org.xwiki.rendering.script.RenderingScriptService.getMacroDescriptors(RenderingScriptService.java:266)
      
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:565)
      
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:548)
      
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:219)
      
      	... 240 more
      
      Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component with type [interface org.xwiki.rendering.macro.Macro] and hint [jira]
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:245)
      
      	at org.xwiki.component.internal.multi.DelegateComponentManager.getInstanceMap(DelegateComponentManager.java:95)
      
      	at org.xwiki.component.internal.multi.DelegateComponentManager.getInstanceMap(DelegateComponentManager.java:95)
      
      	at org.xwiki.component.internal.multi.DelegateComponentManager.getInstanceMap(DelegateComponentManager.java:95)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:253)
      
      	at org.xwiki.component.internal.multi.DelegateComponentManager.getInstanceMap(DelegateComponentManager.java:95)
      
      	at org.xwiki.component.internal.multi.DelegateComponentManager.getInstanceMap(DelegateComponentManager.java:95)
      
      	at org.xwiki.rendering.internal.macro.DefaultMacroManager.getMacroIds(DefaultMacroManager.java:87)
      
      	... 248 more
      
      Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.contrib.jira.config.internal.PlatformJIRAConfiguration] identified by type [interface org.xwiki.contrib.jira.config.JIRAConfiguration] and hint [default]
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:204)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:406)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:242)
      
      	... 255 more
      
      Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.contrib.jira.config.internal.JIRAConfigClassDocumentConfigurationSource] identified by type [interface org.xwiki.configuration.ConfigurationSource] and hint [jira]
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:204)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:406)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)
      
      	... 259 more
      
      Caused by: org.xwiki.component.phase.InitializationException: Failed to initialize cache
      
      	at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.initialize(AbstractDocumentConfigurationSource.java:139)
      
      	at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)
      
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)
      
      	... 263 more
      
      Caused by: org.xwiki.cache.CacheException: Cache with name [configuration.document.jira] already exist
      
      	at org.xwiki.cache.infinispan.internal.InfinispanCacheFactory.newCache(InfinispanCacheFactory.java:152)
      
      	at org.xwiki.cache.internal.DefaultCacheManager.createNewCache(DefaultCacheManager.java:112)
      
      	at org.xwiki.cache.internal.DefaultCacheManager.createNewCache(DefaultCacheManager.java:85)
      
      	at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.initialize(AbstractDocumentConfigurationSource.java:137)
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            caubin Clément Aubin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: