Details
-
Bug
-
Resolution: Fixed
-
Highest
-
7.0.3, 7.0.5, 7.2.2, 7.4.7, 7.12.0, 7.13.2, 7.13.7
-
39
-
Severity 3 - Minor
-
135
-
Description
The fix for this bug has been released to our Long Term Support release.
The fix for this bug is now available in the latest release of Confluence 7.13
Summary
Inspecting logs, we can see a lot of error 500 for missing resources.
Missing files are:
/images/brand-images/programs/atlassian-community-white.svg
/images/brand-images/programs/atlassian-developer-white.svg
/images/brand-images/programs/atlassian-marketplace-white.svg
/images/brand-images/programs/atlassian-partner-program-white.svg
/images/brand-images/programs/atlassian-support-white.svg
/images/brand-images/programs/atlassian-university-white.svg
Steps to Reproduce
Crawling through Confluence site, and following all resources from js and css.
Expected Results
- Missing resources will not trigger an error 500
Actual Results
Error 500 is triggered and this is visible in logs:
Attributes -------------------------- javax.servlet.forward.request_uri: /c722/s/-38f3zl/8401/b3e5d654c041312f7bfcd7d5f17e71f59e8621d2/1.0/_/download/resources/confluence.web.resources:ajs/images/brand-images/programs/atlassian-community-white.svg javax.servlet.forward.context_path: /c722 javax.servlet.forward.servlet_path: /s javax.servlet.forward.path_info: /-38f3zl/8401/b3e5d654c041312f7bfcd7d5f17e71f59e8621d2/1.0/_/download/resources/confluence.web.resources:ajs/images/brand-images/programs/atlassian-community-white.svg javax.servlet.forward.mapping: org.apache.catalina.core.ApplicationMapping$MappingImpl@139cde25 javax.servlet.error.status_code: 500 _statichash: -38f3zl/8401/b3e5d654c041312f7bfcd7d5f17e71f59e8621d2/1.0 com.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@48c0fd72 com.opensymphony.sitemesh.APPLIED_ONCE: true __cleanup_recursion_counter: 0 javax.servlet.error.message: javax.servlet.error.servlet_name: noop com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true atlassian.core.seraph.original.url: /500page.jsp com.atlassian.labs.botkiller.BotKillerFilter: true com.atlassian.gzipfilter.GzipFilter_already_filtered: true Confluence-Request-Time: 1592477043154 B3-TraceId: 8151d7f0a91827 loginfilter.already.filtered: true javax.servlet.error.request_uri: /c722/s/-38f3zl/8401/b3e5d654c041312f7bfcd7d5f17e71f59e8621d2/1.0/_/download/resources/confluence.web.resources:ajs/images/brand-images/programs/atlassian-community-white.svg com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true javax.servlet.error.exception: java.lang.RuntimeException: Cannot read resource /images/brand-images/programs/atlassian-community-white.svg os_securityfilter_already_filtered: true com.atlassian.seraph.auth.LoginReason: OK com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true -------------------------- Parameters -------------------------- caused by: java.lang.RuntimeException: Cannot read resource /images/brand-images/programs/atlassian-community-white.svg at com.atlassian.plugin.webresource.impl.snapshot.Resource$1.writeTo(Resource.java:204)
Notes
Inspecting the code confluence-core/confluence-webapp/src/main/webapp/includes/css/aui-legacy/aui-header.css we can see that svgs are referenced:
.aui-header .aui-header-logo-answers .aui-header-logo-device,
.aui-header .aui-header-logo-community .aui-header-logo-device {
background-image: url("images/brand-images/programs/atlassian-community-white.svg");
width: 201.5312px;
}
Workaround:
Locate the <confluence-install>/confluence/WEB-INF/atlassian-bundled-plugins/auiplugin-8.3.5.jar/assets. Extract missing SVG files, and place them in newly created folder <confluence-install>/confluence/images/brand-images/programs.
Note that newer versions of Confluence now ship with auiplugin-9.2.0.jar which contains only a subset of the image assets that are in 8.3.5. And so, you would need get these files from an auiplugin-8.3.5 jar.
Also, another jar that could be referenced by this kind of issue is <confluence-install>/confluence/WEB-INF/atlassian-bundled-plugins/confluence-dashboard-##.##.##.jar. which contains a path to assets/images/3.0/
Attachments
Issue Links
- is cloned from
-
CONFSERVER-59728 RuntimeException: Cannot read resource assets/icons/confluence-icon-video.svg
- Closed
- mentioned in
-
Page Loading...