Cannot upload Site Logo after upgrade to v5 Confluence

Can't upload a new Site Logo after upgrading from 5.3 to 5.0.2. I have tried to use a small logo as well so it would not have to resize.

Displays the following when attempting to upload:

There were errors uploading this logo. There is more information in the logs.

Show this error in the log after trying to upload:

2013-04-03 14:54:24,647 INFO [http-80-15] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog
Request Unique ID : 39c96690-7147-48f2-bbfa-e5202df53373
--------------------------
JVM Stats
--------------------------
allocatedHeap = 513163264
usedMemory = 256855624
availablePermGen = 112129192
totalMemory = 513163264
freeMemory = 256307640
maxPermGen = 268435456
usedPermGen = 156306264
freeMemoryInMegabytes = 244
freeAllocatedHeap = 256307640
availableHeap = 262123960
usedMemoryInMegabytes = 244
maxHeap = 518979584
usedHeap = 256855624
totalMemoryInMegabytes = 489
--------------------------
Request Information
--------------------------
URL: http://www.gisdfoundation.org/500page.jsp
Scheme: http
Server: www.gisdfoundation.org
Port: 80
URI: /500page.jsp
Context Path:
Servlet Path: /500page.jsp
Path Info: null
Query String: null
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /s/en_GB-1988229788/4108/b47156ace146e4f759b49ef98258cb637bdd5af8.19/_/images/logo/confluence-logo.png
javax.servlet.forward.context_path:
javax.servlet.forward.servlet_path: /s
javax.servlet.forward.path_info: /500page.jsp
os_securityfilter_already_filtered: true
com.atlassian.seraph.auth.LoginReason: OK
atlassian.core.seraph.original.url: /s/en_GB-1988229788/4108/b47156ace146e4f759b49ef98258cb637bdd5af8.19/_/images/logo/confluence-logo.png
javax.servlet.error.status_code: 500
javax.servlet.error.servlet_name: noop
com.atlassian.labs.botkiller.BotKillerFilter: true
gzipResponse: false
com.atlassian.gzipfilter.GzipFilter_already_filtered: true
loginfilter.already.filtered: true
com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true
Confluence-Request-Time: 1365018864623
gzipMimeTypes: text/.*,application/x-javascript,application/javascript,application/xml,application/xhtml\+xml,application/json
javax.servlet.error.message:
com.opensymphony.sitemesh.APPLIED_ONCE: true
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
__cleanup_recursion_counter: 0
_statichash: en_GB-1988229788/4108/b47156ace146e4f759b49ef98258cb637bdd5af8.19
com.atlassian.gzipfilter.org.tuckey.web.filters.urlrewrite.RuleMatched: true
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true
javax.servlet.error.exception: java.lang.NullPointerException
javax.servlet.error.request_uri: /s/en_GB-1988229788/4108/b47156ace146e4f759b49ef98258cb637bdd5af8.19/_/images/logo/confluence-logo.png
org.tuckey.web.filters.urlrewrite.RuleMatched: true
--------------------------
Parameters
--------------------------
caused by: java.lang.NullPointerException
at com.atlassian.plugin.servlet.util.LastModifiedHandler.calculateLastModifiedDate(LastModifiedHandler.java:54)

1 answer

This widget could not be displayed.

Strange that it throws a nullpointerexception. Try to run this query in the Confluence Database and provide us with the output?:

SELECT * FROM attachments WHERE TITLE = 'atl.site.logo';

Based on the assumption that the NPE was triggered at calculateLastModifiedDate.

Either way, best for you to raise this issue in https://support.atlassian.com so that we can track this better.

Foogie

Output from query

ATTACHMENTID TITLE CONTENTTYPE PAGEID CREATOR CREATIONDATE LASTMODIFIER LASTMODDATE FILESIZE ATTACHMENT_COMMENT ATTVERSION PREVVER
1802242 atl.site.logo image/png 327682 NULL NULL NULL NULL 0 NULL 1 NULL

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

603 views 8 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you