Various warnings related to velocity being unable to locate different methods during start-up

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: High
    • None
    • Affects Version/s: 10.3.2, 10.3.4, 10.5.0
    • Component/s: Issue - Others
    • 10.03
    • 14
    • Severity 3 - Minor
    • 138
    • Warranty

      Issue Summary

      When Jira starts up, we can see many Warnings related to velocity unable to locate different methods. Apparently, this isn't causing any issues through the UI, but it may raise concerns about the instance's health to Jira Administrators who review the "atlassian-jira.log".

      Steps to Reproduce

      1. Spin up either, a Jira Software or a Jira Service Management 10.3 or above.
      2. Check the "atlassian-jira.log"

      Expected Results

      No warnings are thrown in the Jira log.

      Actual Results

      The "atlassian-jira.log" is spammed with different warnings coming from the velocity. Some examples below (but not limited to those):

      2025-03-20 13:39:03,401-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getDescriptor(), getKey() for class com.atlassian.jira.issue.customfields.impl.NumberCFType for security introspection in Velocity
      2025-03-20 13:39:03,420-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getParent(), getAttachments(), getParentObject() for class com.atlassian.jira.issue.DocumentIssueImpl for security introspection in Velocity
      2025-03-20 13:39:03,446-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) contains(java.lang.Object) for class com.atlassian.jira.issue.fields.LongIdsValueHolder for security introspection in Velocity
      2025-03-20 13:39:03,471-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getText(java.lang.String java.lang.String), getErrors(), getText(java.lang.String java.lang.String java.lang.String), getLocale(), getText(java.lang.String java.lang.Object), getText(java.lang.String), hasGlobalPermission(java.lang.String) for class com.atlassian.jira.web.action.issue.CreateIssue for security introspection in Velocity
      2025-03-20 13:39:03,471-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getPrettyDuration(java.lang.Long), getRenderedContent(java.lang.String java.lang.String com.atlassian.jira.issue.Issue) for class com.atlassian.jira.issue.views.IssueWordView for security introspection in Velocity
      2025-03-20 13:39:03,477-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getColumnCssClass(), getSortComparatorSource() for class com.atlassian.jira.issue.fields.DueDateSystemField for security introspection in Velocity
      2025-03-20 13:39:03,477-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getContextPath() for class webwork.multipart.MultiPartRequestWrapper for security introspection in Velocity
      2025-03-20 13:39:03,488-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getHtml() for class com.atlassian.jira.issue.tabpanels.TabExpanderAction$ShowOlder for security introspection in Velocity
      2025-03-20 13:39:03,488-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) iterator() for class java.util.ImmutableCollections$ListN for security introspection in Velocity
      2025-03-20 13:39:03,495-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getDefaultSortOrder(), getColumnCssClass(), getSortComparatorSource() for class com.atlassian.jira.issue.fields.ResolutionDateSystemField for security introspection in Velocity
      2025-03-20 13:39:03,500-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) isDefined(), get() for class com.atlassian.streams.api.common.Option$Some for security introspection in Velocity
      2025-03-20 13:39:03,513-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) iterator() for class com.atlassian.jira.issue.customfields.option.GenericImmutableOptions for security introspection in Velocity
      2025-03-20 13:39:03,536-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getSearchUrlSuffix(com.atlassian.jira.issue.IssueConstant com.atlassian.jira.issue.search.SearchRequest) for class com.atlassian.jira.issue.statistics.IssueTypeStatisticsMapper for security introspection in Velocity
      2025-03-20 13:39:03,540-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getName(), getElementId() for class com.atlassian.jira.plugin.viewissue.web.DateFieldModel for security introspection in Velocity
      2025-03-20 13:39:03,563-0300 http-nio-41034-exec-4 url: /j1034/, /j1034/secure/MyJiraHome.jspa, /j1034/secure/Dashboard.jspa WARN anonymous 818x3x1 1i7my8o 0:0:0:0:0:0:0:1 / [velocity] Cannot locate method(s) getModifierKey(), getRandomHint(), getText(java.lang.String java.lang.String), getIssuePath(), isIssueExists(), getHint(java.lang.String), getFieldScreenRendererLayoutItemForField(com.atlassian.jira.issue.fields.OrderableField), getKeyboardShortcutContext(), getDisplayParams(), isValidToView(), getCommentSectionHtml(), hasIssuePermission(java.lang.String com.atlassian.jira.issue.Issue), getFormToken(), getId(), getErrors(), getXsrfToken(), getIssueObject(), getText(java.lang.String), getField(java.lang.String), getHasErrorMessages() for class com.atlassian.jira.plugin.link.web.AddWebLink for security introspection in Velocity
      

      Workaround

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

            Assignee:
            Sergii Sinelnychenko
            Reporter:
            Edson Araujo
            Votes:
            27 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved: