java.lang.NoSuchMethodError: com.atlassian.jira.issue.MutableIssue.setComponentObjects(Ljava/util/Collection;)V

JIRA | Felix Frie├čleben | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Dear support, after upgrading to JIRA 7 one of our custom Clone Plus operations produces a runtime error when trying to set components. To be more specific, after selecting Project and Issue Type a dialog titled "Sorry, we had some technical problems during your last" appears containing the following stack trace (shortened for readability): {noformat} java.lang.NoSuchMethodError: com.atlassian.jira.issue.MutableIssue.setComponentObjects(Ljava/util/Collection;)V java.lang.NoSuchMethodError: com.atlassian.jira.issue.MutableIssue.setComponentObjects(Ljava/util/Collection;)V at org.swift.jira.cloneplus.action.ClonePlusDetailsAction.updateIssueFieldsFromProperties(ClonePlusDetailsAction.java:929) [?:?] at org.swift.jira.cloneplus.action.ClonePlusDetailsAction.copySummaryFieldFromOriginalIssueToHolder(ClonePlusDetailsAction.java:793) [?:?] at org.swift.jira.cloneplus.action.ClonePlusDetailsAction.doDefault(ClonePlusDetailsAction.java:376) [?:?] at sun.reflect.GeneratedMethodAccessor899.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_101] at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) [webwork-1.4-atlassian-30.jar:?] at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) [webwork-1.4-atlassian-30.jar:?] at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:438) [webwork-1.4-atlassian-30.jar:?] at webwork.action.ActionSupport.execute(ActionSupport.java:157) [webwork-1.4-atlassian-30.jar:?] at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) [jira-api-7.0.5.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:154) [webwork-1.4-atlassian-30.jar:?] at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:141) [JiraWebworkActionDispatcher.class:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?] ... {noformat} We are using Clone Plus 5.5.0 and the behaviour can be reproduced with a clean installation of JIRA Software 7.0.5 or 7.1.9 respectively. Here is a simple but complete configuration that triggers the error: {noformat} 1.plus.label = Clone and set components 1.plus.tooltip = Component bug 1.plus.condition.*.*.* = true # Map project to default to a specific project 1.plus.project.*.*.* = FOOBAR # Map issue type to default to a task (id = 10003 in this JIRA instance) 1.plus.type.*.*.* = 10003 # Set summary for testing purposes 1.plus.set.summary = Some text 1.plus.set.description = Actual description... # Try to set component 1.plus.set.components = Foo {noformat} If the line containing "1.plus.set.components" is commented out the error does not occur. Could you please look into this and let us know if this is an error or if we are doing something wrong. Thanks in advance.

    JIRA | 8 months ago | Felix Frie├čleben
    java.lang.NoSuchMethodError: com.atlassian.jira.issue.MutableIssue.setComponentObjects(Ljava/util/Collection;)V
  2. 0

    See [this question|https://bobswift.atlassian.net/wiki/questions/188055571] {noformat} java.lang.NoSuchMethodError: com.atlassian.jira.issue.MutableIssue.setComponentObjects(Ljava/util/Collection;)V at org.swift.jira.cloneplus.action.ClonePlusDetailsAction.updateIssueFieldsFromProperties(ClonePlusDetailsAction.java:944) [?:?] at org.swift.jira.cloneplus.action.ClonePlusDetailsAction.copySummaryFieldFromOriginalIssueToHolder(ClonePlusDetailsAction.java:808) [?:?] at org.swift.jira.cloneplus.action.ClonePlusDetailsAction.doDefault(ClonePlusDetailsAction.java:376) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_102] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_102] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_102] at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_102] at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) [webwork-1.4-atlassian-30.jar:?] at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) [webwork-1.4-atlassian-30.jar:?] at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:438) [webwork-1.4-atlassian-30.jar:?] at webwork.action.ActionSupport.execute(ActionSupport.java:157) [webwork-1.4-atlassian-30.jar:?] at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) [jira-api-7.2.0.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:154) [webwork-1.4-atlassian-30.jar:?] at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:141) [classes/:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.33] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.33] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.33] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.33] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.33] at com.atlassian.jira.web.filters.JiraLastFilter.lambda$doFilter$0(JiraLastFilter.java:35) [classes/:?] at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(Cha {noformat}

    JIRA | 8 months ago | Robert Nadon
    java.lang.NoSuchMethodError: com.atlassian.jira.issue.MutableIssue.setComponentObjects(Ljava/util/Collection;)V
  3. 0

    WL5.1 InternalImageServlet exceptions

    Google Groups | 2 decades ago | Henry Cooper
    java.lang.NoSuchMethodError: javax.servlet.ServletResponse: method isCommitted()Z not found at weblogic.servlet.internal.InternalImageServlet.service(InternalImageServlet.java, Compiled Code)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue 18 - kaptcha - java.lang.NoSuchMethodError: com.jhlabs.image.RippleFilter.setXAmplitude(F)V - kaptcha is a modern version of the simplecaptcha project - Google Project Hosting

    google.com | 1 year ago
    java.lang.NoSuchMethodError: com.jhlabs.image.RippleFilter.setXAmplitude(F)V at com.google.code.kaptcha.impl.WaterRipple.getDistortedImage(WaterRipple.java:34) at com.google.code.kaptcha.impl.DefaultKaptcha.createImage(DefaultKaptcha.java:44) at com.google.code.kaptcha.servlet.KaptchaServlet.doGet(KaptchaServlet.java:84)
  6. 0

    parseFloat(String s) not found in Float class instance in servlet

    Oracle Community | 2 decades ago | 843840
    java.lang.NoSuchMethodError: java.lang.Float: method parseFloat(Ljava/lang/String;)F not found at LakeInput1.doPost(Compiled Code)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.atlassian.jira.issue.MutableIssue.setComponentObjects(Ljava/util/Collection;)V

      at org.swift.jira.cloneplus.action.ClonePlusDetailsAction.updateIssueFieldsFromProperties()
    2. org.swift.jira
      ClonePlusDetailsAction.doDefault
      1. org.swift.jira.cloneplus.action.ClonePlusDetailsAction.updateIssueFieldsFromProperties(ClonePlusDetailsAction.java:929)[?:?]
      2. org.swift.jira.cloneplus.action.ClonePlusDetailsAction.copySummaryFieldFromOriginalIssueToHolder(ClonePlusDetailsAction.java:793)[?:?]
      3. org.swift.jira.cloneplus.action.ClonePlusDetailsAction.doDefault(ClonePlusDetailsAction.java:376)[?:?]
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor899.invoke(Unknown Source)[?:?]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_101]
      3. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_101]
      3 frames
    4. webwork.util
      InjectionUtils.invoke
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)[webwork-1.4-atlassian-30.jar:?]
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)[webwork-1.4-atlassian-30.jar:?]
      2 frames
    5. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.invokeCommand(ActionSupport.java:438)[webwork-1.4-atlassian-30.jar:?]
      2. webwork.action.ActionSupport.execute(ActionSupport.java:157)[webwork-1.4-atlassian-30.jar:?]
      2 frames
    6. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63)[jira-api-7.0.5.jar:?]
      1 frame
    7. webwork.interceptor
      DefaultInterceptorChain.proceed
      1. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)[webwork-1.4-atlassian-30.jar:?]
      2. webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)[webwork-1.4-atlassian-30.jar:?]
      3. webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)[webwork-1.4-atlassian-30.jar:?]
      4. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)[webwork-1.4-atlassian-30.jar:?]
      4 frames
    8. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225)[webwork-1.4-atlassian-30.jar:?]
      2. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154)[webwork-1.4-atlassian-30.jar:?]
      2 frames
    9. com.atlassian.jira
      JiraWebworkActionDispatcher.service
      1. com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:141)[JiraWebworkActionDispatcher.class:?]
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)[servlet-api.jar:?]
      1 frame