It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cannot upload Site Logo after upgrade to v5 Confluence

Evan Overby Apr 03, 2013

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

0 votes
Foo Sim Apr 03, 2013

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

Evan Overby Apr 04, 2013

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

853 views 6 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you