NullPointerException in DefaultAttachmentManager When Moving an Attachment Due to Attachment Checkout Plugin

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Operations such as deleting or creating pages with attachments fail with the following exception:

Cause
java.lang.NullPointerException
at com.atlassian.confluence.pages.DefaultAttachmentManager.moveAttachment(DefaultAttachmentManager.java:199)
Stack Trace:[hide]

java.lang.NullPointerException
at com.atlassian.confluence.pages.DefaultAttachmentManager.moveAttachment(DefaultAttachmentManager.java:199)
..
at com.atlassian.confluence.pages.DelegatorAttachmentManager.moveAttachment(DelegatorAttachmentManager.java:93)

Cause

The Attachment Checkout Plugin (no longer offered in the Atlassian Marketplace) is causing the problem.

Resolution

Disable or upgrade the plugin and report the issue on the project issue tracker.

Last modified on Jan 22, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.