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

Unable to find resource '/template/aui/file.vm' & '/template/aui/general-pagelist.vm' on Struts

    XMLWordPrintable

Details

    Description

      Issue Summary

      Unable to find resource '/template/aui/file.vm'

      Caused by: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/template/aui/general-pagelist.vm'

      It looks like there is some issue with templates inside /template/xhtml/*, Resource is tried to be loaded from /template/aui instead.

      Steps to Reproduce

      1. Upload default Space Logo for Attachment feed

      Expected Results

      No exception

      Actual Results

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

      2022-08-02 08:08:47,643 ERROR [http-nio-8080-exec-9] [atlassian.struts.directives.AbstractTagDirective] render Error processing tag: Unable to find resource '/template/aui/file.vm' - Class: com.atlassian.confluence.util.velocity.ConfigurableResourceManager
      File: ConfigurableResourceManager.java
      Method: loadResource
      Line: 376 - com/atlassian/confluence/util/velocity/ConfigurableResourceManager.java:376:-1
          at org.apache.struts2.components.UIBean.end(UIBean.java:543)
          at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:39)
          at com.atlassian.struts.directives.AbstractTagDirective.processTag(AbstractTagDirective.java:322)
          at com.atlassian.struts.directives.AbstractTagDirective.render(AbstractTagDirective.java:117)
          at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
          at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      

      Workaround

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

      Attachments

        Issue Links

          Activity

            People

              mtran@atlassian.com Minh Tran
              ggautam Ganesh Gautam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: