java.lang.IllegalArgumentException: Content entity object should not be null

Atlassian JIRA | Nicholas Muldoon [Atlassian] | 8 years ago
  1. 0

    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: {code} 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) {code}

    Atlassian JIRA | 8 years ago | Matt Ryall
    java.lang.IllegalArgumentException: Content entity object should not be null
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Bean object must not be null in Spring MVC

    Stack Overflow | 3 years ago | Sivanagaiah
    java.lang.IllegalArgumentException: Bean object must not be null

  1. batwalrus76 4 times, last 2 weeks ago
  2. serious2monkeys 1 times, last 2 weeks ago
  3. tvrmsmith 1 times, last 4 weeks ago
  4. fima 1 times, last 2 months ago
  5. dafman 2 times, last 2 months ago
8 more registered users
87 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Content entity object should not be null

    at org.springframework.util.Assert.notNull()
  2. Spring Core
    Assert.notNull
    1. org.springframework.util.Assert.notNull(Assert.java:112)
    1 frame