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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,403 views 2 13
Read article

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