Frequent "jira.rich.editor.content context supports only CSS resources, please review atlassian-plugin.xml" in the atlassian-jira log

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Observed statements /rest/wrm/2.0/resources [c.a.j.plugin.editor.RteDataProvider] "jira.rich.editor.content" context supports only CSS resources, please review atlassian-plugin.xml, some <resource> or <dependency> is including different resource typein atlassian-Jira log.

Environment

Jira 8.x and later.

Diagnosis

If the following WARN is thrown in the Jira logs, then this knowledge base article is relevant and you may check the Solution section to change the logging setting to hide them:

1 2 3 2022-04-20 17:12:58,102+0530 http-nio-8080-exec-22 WARN xyz 1032x351x2 1x62ic 0:0:0:0:0:0:0:1 /rest/wrm/2.0/resources [c.a.j.plugin.editor.RteDataProvider] "jira.rich.editor.content" context supports only CSS resources, please review atlassian-plugin.xml, some <resource> or <dependency> is including different resource type. 2022-04-20 17:13:33,952+0530 http-nio-8080-exec-22 WARN xyz 1032x351x2 1x62ic 0:0:0:0:0:0:0:1 /rest/wrm/2.0/resources [c.a.j.plugin.editor.RteDataProvider] "jira.rich.editor.content" context supports only CSS resources, please review atlassian-plugin.xml, some <resource> or <dependency> is including different resource type. 2022-04-20 17:13:43,277+0530 http-nio-8080-exec-22 WARN xyz 1032x351x2 1x62ic 0:0:0:0:0:0:0:1 /rest/wrm/2.0/resources [c.a.j.plugin.editor.RteDataProvider] "jira.rich.editor.content" context supports only CSS resources, please review atlassian-plugin.xml, some <resource> or <dependency> is including different resource type.

Cause

The logs are printed when the web resource, while accessing the rich editor, are not CSS files. Thus for every java script and other file formats other than css, the logs will be printed.

Solution

JRASERVER-74961 has been submitted to review the usage of this message in the application logs, which was fixed in 9.4.10, 9.11.1.

As a potential workaround, the logging level for this package can be turned down to prevent this message from flooding the logs. In the event that the messages from this package are needed in troubleshooting the logging level can be reset as needed. To do this:

  • Temporarily set the level for WARN or ERROR or OFF depending on the kind of data being generated on the logs.

  • If the setting temporarily works, then you can proceed to permanently change the logging level.

  • Kindly keep in mind that the category com.atlassian.jira.plugin.editor is not among the default existing logging categories. User may need to add it by clicking Configure button.

You may also refer Logging and profiling for the same task.

Updated on March 18, 2025

Still need help?

The Atlassian Community is here for you.