org.apache.velocity.exception.VelocityException: Could not find template 'templates/jira/issue/field/issuelinking-view.vm' ensure it is in the classpath.

Atlassian JIRA | Michael Ruflin [Atlassian] | 4 years ago
  1. 0

    {code} 2013-02-07 15:02:07,950 http-127.0.0.1-9080-5 ERROR melias 902x159637x1 1gal4o5 59.167.133.100,172.16.1.187,127.0.0.1 /rest/greenhopper/1.0/xboard/issue/details.json [velocity] ResourceManager : unable to find resource 'templates/jira/issue/field/issuelinking-view.vm' in any resource loader. 2013-02-07 15:02:07,950 http-127.0.0.1-9080-5 ERROR melias 902x159637x1 1gal4o5 59.167.133.100,172.16.1.187,127.0.0.1 /rest/greenhopper/1.0/xboard/issue/details.json [com.atlassian.velocity.DefaultVelocityManager] ResourceNotFoundException occurred whilst loading resource 2013-02-07 15:02:07,951 http-127.0.0.1-9080-5 ERROR melias 902x159637x1 1gal4o5 59.167.133.100,172.16.1.187,127.0.0.1 /rest/greenhopper/1.0/xboard/issue/details.json [jira.issue.fields.AbstractOrderableField] Error occurred while rendering velocity template for 'templates/jira/issue/field//issuelinking-view.vm'. org.apache.velocity.exception.VelocityException: Could not find template 'templates/jira/issue/field/issuelinking-view.vm' ensure it is in the classpath. at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:76) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:104) at com.atlassian.jira.issue.fields.AbstractOrderableField.renderTemplate(AbstractOrderableField.java:191) at com.atlassian.jira.issue.fields.IssueLinksSystemField.getViewVelocityTemplate(IssueLinksSystemField.java:173) at com.atlassian.jira.issue.fields.IssueLinksSystemField.getViewHtml(IssueLinksSystemField.java:161) at com.atlassian.jira.issue.fields.AbstractOrderableField.getViewHtml(AbstractOrderableField.java:166) at com.atlassian.greenhopper.web.rapid.issue.fields.SystemFieldEntryFactory.createViewEntry(SystemFieldEntryFactory.java:45) at com.atlassian.greenhopper.web.rapid.issue.IssueEntryFactory.getViewFields(IssueEntryFactory.java:610) at com.atlassian.greenhopper.web.rapid.issue.IssueEntryFactory.buildViewEntry(IssueEntryFactory.java:336) at com.atlassian.greenhopper.web.rapid.issue.IssueResource$1.call(IssueResource.java:121) at com.atlassian.greenhopper.web.rapid.issue.IssueResource$1.call(IssueResource.java:87) {code}

    Atlassian JIRA | 4 years ago | Michael Ruflin [Atlassian]
    org.apache.velocity.exception.VelocityException: Could not find template 'templates/jira/issue/field/issuelinking-view.vm' ensure it is in the classpath.
  2. 0

    {code} 2013-02-07 15:02:07,950 http-127.0.0.1-9080-5 ERROR melias 902x159637x1 1gal4o5 59.167.133.100,172.16.1.187,127.0.0.1 /rest/greenhopper/1.0/xboard/issue/details.json [velocity] ResourceManager : unable to find resource 'templates/jira/issue/field/issuelinking-view.vm' in any resource loader. 2013-02-07 15:02:07,950 http-127.0.0.1-9080-5 ERROR melias 902x159637x1 1gal4o5 59.167.133.100,172.16.1.187,127.0.0.1 /rest/greenhopper/1.0/xboard/issue/details.json [com.atlassian.velocity.DefaultVelocityManager] ResourceNotFoundException occurred whilst loading resource 2013-02-07 15:02:07,951 http-127.0.0.1-9080-5 ERROR melias 902x159637x1 1gal4o5 59.167.133.100,172.16.1.187,127.0.0.1 /rest/greenhopper/1.0/xboard/issue/details.json [jira.issue.fields.AbstractOrderableField] Error occurred while rendering velocity template for 'templates/jira/issue/field//issuelinking-view.vm'. org.apache.velocity.exception.VelocityException: Could not find template 'templates/jira/issue/field/issuelinking-view.vm' ensure it is in the classpath. at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:76) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:104) at com.atlassian.jira.issue.fields.AbstractOrderableField.renderTemplate(AbstractOrderableField.java:191) at com.atlassian.jira.issue.fields.IssueLinksSystemField.getViewVelocityTemplate(IssueLinksSystemField.java:173) at com.atlassian.jira.issue.fields.IssueLinksSystemField.getViewHtml(IssueLinksSystemField.java:161) at com.atlassian.jira.issue.fields.AbstractOrderableField.getViewHtml(AbstractOrderableField.java:166) at com.atlassian.greenhopper.web.rapid.issue.fields.SystemFieldEntryFactory.createViewEntry(SystemFieldEntryFactory.java:45) at com.atlassian.greenhopper.web.rapid.issue.IssueEntryFactory.getViewFields(IssueEntryFactory.java:610) at com.atlassian.greenhopper.web.rapid.issue.IssueEntryFactory.buildViewEntry(IssueEntryFactory.java:336) at com.atlassian.greenhopper.web.rapid.issue.IssueResource$1.call(IssueResource.java:121) at com.atlassian.greenhopper.web.rapid.issue.IssueResource$1.call(IssueResource.java:87) {code}

    Atlassian JIRA | 4 years ago | Michael Ruflin [Atlassian]
    org.apache.velocity.exception.VelocityException: Could not find template 'templates/jira/issue/field/issuelinking-view.vm' ensure it is in the classpath.
  3. 0

    Stacktrace : {noformat} 2012-10-12 14:17:01,800 http-8512-1 ERROR admin 857x1242x1 m35win 127.0.0.1 /sr/jira.issueviews:searchrequest-excel-all-fields/temp/SearchRequest.xls [atlassian.jira.plugin.AbstractJiraModuleDescriptor] Error while rendering velocity template for 'view'. org.apache.velocity.exception.VelocityException: Could not find template 'templates/bonfire/customfield/bonfiretext/view-hidden.vm' ensure it is in the classpath. at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:76) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:104) at com.atlassian.jira.plugin.AbstractJiraModuleDescriptor.getHtml(AbstractJiraModuleDescriptor.java:112) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getHtml(CustomFieldTypeModuleDescriptorImpl.java:209) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getViewHtmlByValue(CustomFieldTypeModuleDescriptorImpl.java:203) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getColumnViewHtml(CustomFieldTypeModuleDescriptorImpl.java:149) {noformat} Steps to reproduce : # Install JIRA 5.0.3 # Install Bonfire 1.8.4 on it # Now upgrade JIRA to 5.1.2 # Install Bonfire 2.4.1 on it. # Try to export issues to excel by navigating to Issue Navigator>Views> Excel (All Fields) # The above exception appears on the screen Please note however, the excel file gets exported and there is no error for the user.

    Atlassian JIRA | 4 years ago | Ruchi Tandon[Atlassian]
    org.apache.velocity.exception.VelocityException: Could not find template 'templates/bonfire/customfield/bonfiretext/view-hidden.vm' ensure it is in the classpath.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Stacktrace : {noformat} 2012-10-12 14:17:01,800 http-8512-1 ERROR admin 857x1242x1 m35win 127.0.0.1 /sr/jira.issueviews:searchrequest-excel-all-fields/temp/SearchRequest.xls [atlassian.jira.plugin.AbstractJiraModuleDescriptor] Error while rendering velocity template for 'view'. org.apache.velocity.exception.VelocityException: Could not find template 'templates/bonfire/customfield/bonfiretext/view-hidden.vm' ensure it is in the classpath. at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:76) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:104) at com.atlassian.jira.plugin.AbstractJiraModuleDescriptor.getHtml(AbstractJiraModuleDescriptor.java:112) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getHtml(CustomFieldTypeModuleDescriptorImpl.java:209) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getViewHtmlByValue(CustomFieldTypeModuleDescriptorImpl.java:203) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getColumnViewHtml(CustomFieldTypeModuleDescriptorImpl.java:149) {noformat} Steps to reproduce : # Install JIRA 5.0.3 # Install Bonfire 1.8.4 on it # Now upgrade JIRA to 5.1.2 # Install Bonfire 2.4.1 on it. # Try to export issues to excel by navigating to Issue Navigator>Views> Excel (All Fields) # The above exception appears on the screen Please note however, the excel file gets exported and there is no error for the user.

    Atlassian JIRA | 4 years ago | Ruchi Tandon[Atlassian]
    org.apache.velocity.exception.VelocityException: Could not find template 'templates/bonfire/customfield/bonfiretext/view-hidden.vm' ensure it is in the classpath.
  6. 0

    "VelocityException: Could not find template 'templates/search.vm'" in JIRA

    Stack Overflow | 1 year ago | J. Knoth
    org.apache.velocity.exception.VelocityException: Could not find template 'templates/search.vm' ensure it is in the classpath.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.velocity.exception.VelocityException

      Could not find template 'templates/jira/issue/field/issuelinking-view.vm' ensure it is in the classpath.

      at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody()
    2. com.atlassian.velocity
      DefaultVelocityManager.getEncodedBody
      1. com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:76)
      1 frame
    3. com.atlassian.jira
      AbstractOrderableField.getViewHtml
      1. com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:104)
      2. com.atlassian.jira.issue.fields.AbstractOrderableField.renderTemplate(AbstractOrderableField.java:191)
      3. com.atlassian.jira.issue.fields.IssueLinksSystemField.getViewVelocityTemplate(IssueLinksSystemField.java:173)
      4. com.atlassian.jira.issue.fields.IssueLinksSystemField.getViewHtml(IssueLinksSystemField.java:161)
      5. com.atlassian.jira.issue.fields.AbstractOrderableField.getViewHtml(AbstractOrderableField.java:166)
      5 frames
    4. com.atlassian.greenhopper
      IssueResource$1.call
      1. com.atlassian.greenhopper.web.rapid.issue.fields.SystemFieldEntryFactory.createViewEntry(SystemFieldEntryFactory.java:45)
      2. com.atlassian.greenhopper.web.rapid.issue.IssueEntryFactory.getViewFields(IssueEntryFactory.java:610)
      3. com.atlassian.greenhopper.web.rapid.issue.IssueEntryFactory.buildViewEntry(IssueEntryFactory.java:336)
      4. com.atlassian.greenhopper.web.rapid.issue.IssueResource$1.call(IssueResource.java:121)
      5. com.atlassian.greenhopper.web.rapid.issue.IssueResource$1.call(IssueResource.java:87)
      5 frames