Unable to save attachments after Confluence upgrade

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

After upgrading Confluence, users are unable to save attachments

Environment

  • Confluence server and datacenter v7.4.5

  • Customware (ServiceRocket) autowatch plugin 1.3.0

Diagnosis

The following stack trace appears in Confluence logs when attaching a file to a Confluence page:

1 2 3 Caused by: java.lang.NoSuchMethodError: 'com.atlassian.confluence.core.ContentEntityObject com.atlassian.confluence.pages.Attachment.getContent()' at net.customware.confluence.plugin.autowatch.AutowatchListener.handleEvent(AutowatchListener.java:94) at com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:51)

Cause

This issue is caused by a problem within the Customware Servicerocket Autowatch plugin.

Solution

  1. Disable the Autowatch plugin on Confluence Administration → Manage Apps.

  2. Contact ServiceRocket support.

Updated on March 19, 2025

Still need help?

The Atlassian Community is here for you.