Manage Watchers Failing
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
Symptoms
Trying to manage watchers within an issue ticket results in an error.
Clicking on More Actions > Watchers
The following appears in the atlassian-jira.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
2013-04-23 13:15:00,428 http-bio-6060-exec-21 ERROR admin 795x574x1 1nunnzg 172.28.14.195 /secure/ManageWatchers!default.jspa [jira.web.dispatcher.JiraWebworkActionDispatcher] Exception thrown from action 'ManageWatchers!default', returning 404
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.jira.plugin.votersAndWatchers.ManageWatcherAlias': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could n
ot instantiate bean class [com.atlassian.jira.plugin.votersAndWatchers.ManageWatcherAlias]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.issue.ManageWatchers.<init>(Lcom/atlassian/jira/issue/watchers/W
atcherManager;Lcom/atlassian/jira/template/VelocityTemplatingEngine;Lcom/atlassian/jira/bc/user/search/UserPickerSearchService;Lcom/atlassian/jira/bc/issue/watcher/WatcherService;Lcom/atlassian/jira/security/PermissionManager;Lcom/atlassian/crowd/embedded/api/Crow
dService;)V
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
...
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.jira.plugin.votersAndWatchers.ManageWatcherAlias]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.issue.ManageWatchers.<init>(Lcom/atlassian/jira/issue/watchers/WatcherManager;Lcom/atlassian/jira/template/VelocityTemplatingEngine;Lcom/atlassian/jira/bc/user/search/UserPickerSearchService;Lcom/atlassian/jira/bc/issue/watcher/WatcherService;Lcom/atlassian/jira/security/PermissionManager;Lcom/atlassian/crowd/embedded/api/CrowdService;)V
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
... 176 more
Caused by: java.lang.NoSuchMethodError: com.atlassian.jira.web.action.issue.ManageWatchers.<init>(Lcom/atlassian/jira/issue/watchers/WatcherManager;Lcom/atlassian/jira/template/VelocityTemplatingEngine;Lcom/atlassian/jira/bc/user/search/UserPickerSearchService;Lcom/atlassian/jira/bc/issue/watcher/WatcherService;Lcom/atlassian/jira/security/PermissionManager;Lcom/atlassian/crowd/embedded/api/CrowdService;)V
at com.atlassian.jira.plugin.votersAndWatchers.ManageWatcherAlias.<init>(ManageWatcherAlias.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
... 178 more
Cause
The JIRA Voters and Watchers Plugin v 1.9.3 or below is installed on the system, which is currently not compatible with JIRA 5.2+:
Workaround
Disable the plugin:
JIRA Administration > Plugins > Manage Plugins > JIRA Voters and Watchers Plugin
Resolution:
Upgrade the plugin once the bug has been fixed:
Was this helpful?