Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-79625

Fix resource 'template/includes/macros-deprecated.vm' with Struts

      Issue Summary

      Unable to find resource 'template/includes/macros-deprecated.vm'

      Steps to Reproduce

      1. Enable/Disable P2 plugin

      Expected Results

      No exception

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      Caused by: org.apache.velocity.exception.VelocityException: Velocimacro : Error using VM library : template/includes/macros-deprecated.vm
          at org.apache.velocity.runtime.VelocimacroFactory.initVelocimacro(VelocimacroFactory.java:219)
          at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:260)
          at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:588)
          at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:135)
          at com.atlassian.confluence.util.velocity.VelocityUtils.getVelocityEngine(VelocityUtils.java:106)
          at com.atlassian.confluence.util.velocity.VelocityUtils.getTemplate(VelocityUtils.java:90)
          at com.atlassian.confluence.util.velocity.VelocityUtils.renderTemplateWithoutSwallowingErrors(VelocityUtils.java:76)
          at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator$StreamingResponseWritingStrategy.renderToResponse(ConfluenceSitemeshDecorator.java:327)
          ... 240 more
      Caused by: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'template/includes/macros-deprecated.vm'
          at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.loadResource(ConfigurableResourceManager.java:376)
          at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.getResource(ConfigurableResourceManager.java:297)
          at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1400)
          at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1379)
          at org.apache.velocity.runtime.VelocimacroFactory.initVelocimacro(VelocimacroFactory.java:202)
          ... 247 more
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [CONFSERVER-79625] Fix resource 'template/includes/macros-deprecated.vm' with Struts

            Kenny MacLeod made changes -
            Remote Link New: This issue links to "MINH A1 Server. Master Baseline › Code Check - Static Analysis › revert-CONFSERVER-79625-Container (server-syd-bamboo)" [ 794326 ]
            Kenny MacLeod made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Kenny MacLeod made changes -
            Remote Link New: This issue links to "A1 Server. Master Baseline › Main Plugins - Samurai › issue-CONFSERVER-79625-ConfigurationManagerFactory (server-syd-bamboo)" [ 688432 ]
            Kenny MacLeod made changes -
            Remote Link New: This issue links to "A1 Server. Master Baseline › Code Check - Static Analysis › issue-CONFSERVER-79625-ConfigurationManagerFactory (server-syd-bamboo)" [ 688328 ]
            Kenny MacLeod made changes -
            Remote Link New: This issue links to "A1 Server. Master Baseline › Main Plugins - Cheese Meteor › issue-CONFSERVER-79625-ConfigurationManagerFactory (server-syd-bamboo)" [ 688431 ]
            Kenny MacLeod made changes -
            Remote Link New: This issue links to "A1 Server. Master Baseline › Spring-wired Integration Tests › issue-CONFSERVER-79625-ConfigurationManagerFactory (server-syd-bamboo)" [ 688430 ]
            Kenny MacLeod made changes -
            Remote Link New: This issue links to "A1 Server. Master Baseline › WebDriver tests (Chrome 3.141.59, Adoptium Temurin 17) › issue-CONFSERVER-79625-ConfigurationManagerFactory (server-syd-bamboo)" [ 688502 ]
            Kenny MacLeod made changes -
            Remote Link New: This issue links to "A1 Server. Master FrontEnd › Unit Tests and Coverage › issue-CONFSERVER-79625-ConfigurationManagerFactory (server-syd-bamboo)" [ 688327 ]
            Kenny MacLeod made changes -
            Remote Link New: This issue links to "A1 Server. Master Baseline › Main Tests (Postgres 14.x, Tomcat 9) › issue-CONFSERVER-79625-ConfigurationManagerFactory (server-syd-bamboo)" [ 688429 ]
            Kenny MacLeod made changes -
            Remote Link New: This issue links to "A1 Server. Master Baseline › WebDriver tests (Firefox 2.53.1) › issue-CONFSERVER-79625-ConfigurationManagerFactory (server-syd-bamboo)" [ 688501 ]

              kmacleod Kenny MacLeod
              ggautam Ganesh Gautam
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: