-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 8.0.0-struts-m020
-
Component/s: Universal Plugin Manager / Manage apps
-
Severity 3 - Minor
Issue Summary
Unable to find resource 'template/includes/macros-deprecated.vm'
Steps to Reproduce
- 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