Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-13767

Blank page when accessing dashboard after upgrade or site import failure - global description does not exist

    XMLWordPrintable

Details

    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

          Activity

            People

              matt@atlassian.com Matt Ryall
              matt@atlassian.com Matt Ryall
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: