Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-78648

Lot of WARN log messages for Method needs allowlisting.

XMLWordPrintable

      • Since Jira 10.x, following logs are observed in atlassian-jira.log files.
      2025-02-24 16:49:35,352+0100 http-nio-8080-exec-4 WARN admin 1009x1358x1 someUser X.X.X.X,Y.Y.Y.Y /secure/AjaxIssueEditAction!default.jspa [velocity] DEBUG MODE: Method needs allowlisting: com.atlassian.jira.issue.fields.ImmutableCustomField#getDescription()

      Workaround

      •  Edit atlassian-jira-software-10.x-standalone/atlassian-jira/WEB-INF/classes/velocity-default.properties
      • Search for property introspector.proper.allowlist.methods in this file. This property would look like this.
        introspector.proper.allowlist.methods = \
        com.atlassian.activeobjects.admin.tables.TablesController$TableInformation#getRows(),\
        com.atlassian.activeobjects.admin.tables.TablesController$TableInformation#getTable(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#getPluginKey(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#getPluginName(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#getPluginVersion(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#getVendorName(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#getVendorUrl(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#isAvailable(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$NotAvailablePluginInformation#isAvailable(),\
        com.atlassian.applinks.api.ApplicationId#get(),\ 
      • You can append following entry as well somewhere in between. Restart Jira. This change should avoid logging these messages.
        com.atlassian.jira.issue.fields.ImmutableCustomField#getDescription(),\
        

              f10143f0bd42 Sergii Sinelnychenko
              ad506bb12b8e Chandra Shekhar Pandey
              Votes:
              30 Vote for this issue
              Watchers:
              34 Start watching this issue

                Created:
                Updated:
                Resolved: