It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

After upgrade to Jira7 no such method error com.atlassian.jira.ComponentManager.getWorkflowManager()

Hey there,

i'm still trying to upgrade from a really old Jira (6.3.5a) to a newer version (7.10.2)

It basically worked but I still got some issues.

Last thing I did was dragging a subtask from first column to second on a RapidBoard which resulted in a NoSuchMethodError:

2018-08-20 08:12:33,610 http-nio-8080-exec-11 ERROR      [c.a.j.web.servlet.InternalServerErrorServlet] {errorId=0320a4ed-9b3d-40fd-b264-7061ac0734fe, interpretedMsg=, cause=java.lang.NoSuchMethodError: com.atlassian.jira.ComponentManager.getWorkflowManager()Lcom/atlassian/jira/workflow/WorkflowManager;, stacktrace=java.lang.NoSuchMethodError: com.atlassian.jira.ComponentManager.getWorkflowManager()Lcom/atlassian/jira/workflow/WorkflowManager;
        at com.innovalog.jmwe.plugins.functions.TransitionParentIssueFunction.getWorkflow(TransitionParentIssueFunction.java:30) [?:?]
        at com.innovalog.jmwe.plugins.functions.TransitionParentIssueFunction.transitionFromName(TransitionParentIssueFunction.java:35) [?:?]
        at com.innovalog.jmwe.plugins.functions.TransitionParentIssueFunction.executeFunction(TransitionParentIssueFunction.java:82) [?:?]
        at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:58) [?:?]
        at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1014) [osworkflow-2.9.0-atlassian-1.jar:2.9.0-atlassian-1]
        at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1407) [osworkflow-2.9.0-atlassian-1.jar:2.9.0-atlassian-1]
        at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:557) [osworkflow-2.9.0-atlassian-1.jar:2.9.0-atlassian-1]
        at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowActionInsideTxn(OSWorkflowManager.java:830) [classes/:?]
        at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(OSWorkflowManager.java:787) [classes/:?]
        at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:492) [classes/:?]
        at com.atlassian.jira.web.action.workflow.SimpleWorkflowAction.doExecute(SimpleWorkflowAction.java:28) [classes/:?]
        at webwork.action.ActionSupport.execute(ActionSupport.java:165) [webwork-1.4-atlassian-30.jar:?]
        at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) [jira-api-7.10.2.jar:?]
        at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) [webwork-1.4-atlassian-30.jar:?]
        at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) [webwork-1.4-atlassian-30.jar:?]
        at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) [webwork-1.4-atlassian-30.jar:?]
        at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) [webwork-1.4-atlassian-30.jar:?]
        at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225) [webwork-1.4-atlassian-30.jar:?]
        at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:189) [webwork-1.4-atlassian-30.jar:?]
        at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:138) [classes/:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) [catalina.jar:8.5.6]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) [catalina.jar:8.5.6]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.6]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) [catalina.jar:8.5.6]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) [catalina.jar:8.5.6]
        at com.atlassian.jira.web.filters.JiraLastFilter.lambda$doFilter$0(JiraLastFilter.java:39) [classes/:?]
        at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:74) [classes/:?]
        at com.atlassian.jira.web.filters.JiraLastFilter.doFilter(JiraLastFilter.java:36) [classes/:?]
        at .....

The issue won't be moved.. I'm not shure how to find information which can be useful to solve this so please tell me what you need..

2 answers

3 votes

Hello,

I guess you have the JMWE plugin installed. And there is a script, which uses the com.atlassian.jira.ComponentManager class. This class does not exist anymore. You should find this script and change it with the ComponentAccessor Class.

Thank you for the hint. I currently run an old version of JMWE because it's not free anymore and it needs several months to get a license for our organization. Updating the plugin fixes it.

0 votes
Adrian Atlassian Team Jan 21, 2020

Hi @Jens Rapp 

 

Please try the solution here:

  1. Stop JIRA
  2. Go to your the $JIRA-Home/plugins/installed-plugins directory
  3. Rename the $JIRA-Home/plugins/installed-plugins directory to $JIRA-Home/plugins/installed-plugins2

  4. Restart JIRA - This will re-create the the $JIRA-Home/plugins/installed-plugins directory but JIRA will start without any plugins
  5. If the issue is no longer reproducible, Reinstall the add-on with the latest version through the Administration > Add-ons > Find new add-ons page.
  6. You may later delete the $JIRA-Home/plugins/installed-plugins2 directory which is no longer in use. 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you