Like Button not Working after Upgrade
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:
It may be required to completely remove all plugins cache by following the instructions on the How to clear Confluence plugins cache page.