Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.10
Description
Rendering the logo on any page in Confluence relies on the global description existing. If you don't have a global description in your database, trying to access any page will just return a blank page and leave the following error in the logs:
2008-11-17 17:26:49,468 ERROR [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [confluence.util.velocity.VelocityUtils] getRenderedTemplate Error occurred rendering template: /decorators/main.vmd -- url: /confluence/dashboard.action | userName: admin org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getAttachment' in class $Proxy49 threw exception java.lang.IllegalArgumentException: Content entity object should not be null @ /decorators/main.vmd[3,33] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) ... at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194) ... at org.apache.velocity.Template.merge(Template.java:254) at com.atlassian.confluence.util.velocity.VelocityUtils. getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:58) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(VelocityUtils.java:36) at com.atlassian.confluence.util.profiling.ProfilingPageFilter. applyDecoratorUsingVelocity(ProfilingPageFilter.java:133) ... Caused by: java.lang.IllegalArgumentException: Content entity object should not be null at org.springframework.util.Assert.notNull(Assert.java:112) at com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao. getLatestVersionsOfAttachments(AbstractHibernateAttachmentDao.java:78) at com.atlassian.confluence.pages.DefaultAttachmentManager. getLatestVersionsOfAttachments(DefaultAttachmentManager.java:63) at com.atlassian.confluence.pages.AbstractAttachmentManager. getAttachment(AbstractAttachmentManager.java:51) at com.atlassian.confluence.pages.AbstractAttachmentManager. getAttachment(AbstractAttachmentManager.java:32)
Attachments
Issue Links
- relates to
-
CONFSERVER-13726 Site import fails on WebLogic 9.2, PostgreSQL data source, "relation with OID 4024106 does not exist"
- Closed
-
CONFSERVER-21439 Content must not be null error when uploading global logo
- Closed