Like Button not Working after Upgrade

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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

Symptoms

After upgrading Confluence, upon attempting to like or unlike a page an email notification is sent as expected, but the page is not updated accordingly.

The following appears in the atlassian-confluence.log:

ERROR [tomcat-http--22] [atlassian.event.internal.EventPublisherImpl] invokeListeners There was an exception thrown trying to dispatch event 'com.atlassian.confluence.event.events.like.LikeCreatedEvent@3562d9c8[user=EmbeddedCrowdUser{name='xxx', displayName='xxx xxx', directoryId=1179649},content=page: content (23396589),timestamp=1350569503769]' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@35188d90'.
 -- url: /confluence/rest/likes/1.0/content/23396589/likes | userName: xxx | referer: https://confluence_URL/confluence/display/SpaceKey/Page+Name
java.lang.RuntimeException: Invalid recipient: null

Cause

The Like plugin broke during the upgrade.

Resolution

Resolution 1:

Try disabling/enabling the Confluence Like plugin in Confluence Admin > Plugins > Show System Plugins.

Resolution 2:

Last modified on Dec 31, 2024

Was this helpful?

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