java.lang.IllegalArgumentException: Content must not be null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.

Solutions on the web

via Atlassian JIRA by Emmanuel Ratsimiala [Atlassian], 1 year ago
Content must not be null
via Atlassian JIRA by Vanessa Roberts, 1 year ago
Content must not be null
via Atlassian JIRA by Vanessa Roberts, 1 year ago
Content must not be null
via Atlassian JIRA by Michael Seager [Atlassian], 1 year ago
Content must not be null
via Atlassian JIRA by Michael Seager [Atlassian], 1 year ago
Content must not be null
via atlassian.com by Unknown author, 2 years ago
java.lang.IllegalArgumentException: Content must not be null
at com.atlassian.confluence.pages.attachments.CachingAttachmentDao.getLatestAttachment(CachingAttachmentDao.java:70)
at com.atlassian.confluence.pages.DefaultAttachmentManager.getAttachment(DefaultAttachmentManager.java:125)
at com.atlassian.confluence.pages.DefaultAttachmentManager.getAttachment(DefaultAttachmentManager.java:99)
at com.atlassian.confluence.pages.DelegatorAttachmentManager.getAttachment(DelegatorAttachmentManager.java:104)
at com.atlassian.confluence.pages.CachingAttachmentManager.getAttachment(CachingAttachmentManager.java:163)

Users with the same issue

27 times, 4 days ago
40 times, 5 days ago
Once, 1 week ago
6 times, 2 weeks ago
Once, 3 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.