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

      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

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

            A fix for this issue is available in Confluence Server and Data Center 8.0.0.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available in Confluence Server and Data Center 8.0.0. Upgrade now or check out the Release Notes to see what other issues are resolved.
            Ganesh Gautam made changes -
            Fix Version/s New: 8.0.0-struts-m027 [ 102306 ]
            Minh Tran made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Minh Tran made changes -
            QA Demo Status Original: Not Needed [ 14332 ] New: Done [ 14331 ]
            Status Original: Awaiting Merge [ 10064 ] New: Waiting for Release [ 12075 ]
            Ganesh Gautam made changes -
            QA Demo Status Original: Not Done [ 14330 ] New: Not Needed [ 14332 ]
            Status Original: In Review [ 10051 ] New: Awaiting Merge [ 10064 ]
            Minh Tran made changes -
            Fix Version/s New: 8.0.0 [ 101718 ]
            QA Kickoff Status Original: Not Needed [ 14236 ] New: Done [ 14235 ]
            Testing Notes New: https://atlassian.slack.com/archives/C03JX8CFDK4/p1660610908219179
            Status Original: In Progress [ 3 ] New: In Review [ 10051 ]
            Minh Tran made changes -
            Remote Link New: This issue links to "R8.0 P1. Baseline › Main Plugins - Samurai › issue-80-CONFSERVER-79603-fixing-unable-to-find-resource (server-syd-bamboo)" [ 673986 ]
            Minh Tran made changes -
            Remote Link New: This issue links to "R8.0 P1. Performance › Page Weight Ratchet Build › issue-80-CONFSERVER-79603-fixing-unable-to-find-resource (server-syd-bamboo)" [ 674153 ]
            Minh Tran made changes -
            Remote Link New: This issue links to "R8.0 P1. Baseline › Mixed Versions Tests, Postgres 14.x, Tomcat 9, Java 11 › issue-80-CONFSERVER-79603-fixing-unable-to-find-resource (server-syd-bamboo)" [ 674152 ]
            Minh Tran made changes -
            Remote Link New: This issue links to "R8.0 P1. Baseline › Data Center Tests, Postgres 14.x, Tomcat 9, Java 11 › issue-80-CONFSERVER-79603-fixing-unable-to-find-resource (server-syd-bamboo)" [ 674151 ]

              mtran@atlassian.com Minh Tran
              ggautam Ganesh Gautam
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: