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
Scheme: http
Port: 80
URI: /500page.jsp
Context Path:
Servlet Path: /500page.jsp
Path Info: null
Query String: null
javax.servlet.forward.request_uri: /s/en_GB-1988229788/4108/b47156ace146e4f759b49ef98258cb637bdd5af8.19/_/images/logo/confluence-logo.png
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
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 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
caused by: java.lang.NullPointerException
at com.atlassian.plugin.servlet.util.LastModifiedHandler.calculateLastModifiedDate(

1 answer

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 = '';

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

Either way, best for you to raise this issue in so that we can track this better.


Output from query

1802242 image/png 327682 NULL NULL NULL NULL 0 NULL 1 NULL

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,527 views 25 14
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