Manage Watchers Failing
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
:
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:
Last modified on Apr 7, 2016
Powered by Confluence and Scroll Viewport.