java.lang.NoSuchMethodError: org.asciidoctor.Asciidoctor.requireLibraries(Ljava/util/Collection;)V

GitHub | rmpestano | 3 months ago
  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 | 4 months ago | Felix Frie├čleben
    java.lang.NoSuchMethodError: com.atlassian.jira.issue.MutableIssue.setComponentObjects(Ljava/util/Collection;)V
  2. 0

    After updating "warnings-plugin" from 4.42 to 4.43 (and "analysis-core" from 1.61 to 1.64) then ALL my jobs fail no matter which parser is used (see logs below). I tried to downgrade "warnings-plugin" to 4.42, still they fail. I tried to uninstall "warnings-plugin" and install it again, still they fail. I tried to disable "warnings-plugin" in the individual job (they pass, obviously) and enable it again, still they fail. Then I tried to downgrade "analysis-core" to 1.61, and they pass again. So, seems to be an issue with "analysis-core" 1.64. Log example 1: {quote} 00:02:46.430 [WARNINGS] Parsing warnings in console log with parser IAR Compiler (C/C++) 00:02:46.491 ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception 00:02:46.494 java.lang.NoSuchMethodError: hudson.plugins.analysis.core.ParserResult.addAnnotations(Ljava/util/Collection;)V 00:02:46.495 at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:405) 00:02:46.495 at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:321) 00:02:46.495 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:319) 00:02:46.495 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:02:46.495 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756) 00:02:46.495 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) 00:02:46.495 at hudson.model.Build$BuildExecution.post2(Build.java:182) 00:02:46.495 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:669) 00:02:46.495 at hudson.model.Run.execute(Run.java:1731) 00:02:46.495 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 00:02:46.495 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:02:46.495 at hudson.model.Executor.run(Executor.java:232) {quote} Log example 2: {quote} 00:03:34.271 [WARNINGS] Parsing warnings in console log with parser Texas Instruments Code Composer Studio (C/C++) 00:03:34.286 ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception 00:03:34.286 java.lang.NoSuchMethodError: hudson.plugins.analysis.core.ParserResult.addAnnotations(Ljava/util/Collection;)V 00:03:34.286 at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:405) 00:03:34.286 at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:321) 00:03:34.286 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:319) 00:03:34.286 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:03:34.286 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756) 00:03:34.286 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) 00:03:34.287 at hudson.model.Build$BuildExecution.post2(Build.java:182) 00:03:34.287 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:669) 00:03:34.287 at hudson.model.Run.execute(Run.java:1731) 00:03:34.287 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 00:03:34.287 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:03:34.287 at hudson.model.Executor.run(Executor.java:232) {quote} Log example 3: {quote} 00:01:56.629 [WARNINGS] Parsing warnings in console log with parser MSBuild 00:01:56.644 ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception 00:01:56.645 java.lang.NoSuchMethodError: hudson.plugins.analysis.core.ParserResult.addAnnotations(Ljava/util/Collection;)V 00:01:56.645 at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:405) 00:01:56.645 at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:321) 00:01:56.645 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:319) 00:01:56.645 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:01:56.645 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756) 00:01:56.645 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) 00:01:56.645 at hudson.model.Build$BuildExecution.post2(Build.java:182) 00:01:56.645 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:669) 00:01:56.646 at hudson.model.Run.execute(Run.java:1731) 00:01:56.646 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 00:01:56.646 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:01:56.646 at hudson.model.Executor.run(Executor.java:232) {quote}

    Jenkins JIRA | 2 years ago | Jonas Bang Christensen
    java.lang.NoSuchMethodError: hudson.plugins.analysis.core.ParserResult.addAnnotations(Ljava/util/Collection;)V
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Scala Console Fails to start throwing NoSuchMethodException using latest nightly build of Scala Plugin

    YouTrack | 6 years ago
    java.lang.NoSuchMethodError: com.intellij.execution.impl.ConsoleViewImpl.importHistory(Ljava/util/Collection;)V
  5. 0

    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

      org.asciidoctor.Asciidoctor.requireLibraries(Ljava/util/Collection;)V

      at com.github.cukespace.arquillian.asciidoctor.AsciidoctorObserver.render()
    2. com.github.cukespace
      AsciidoctorObserver.init
      1. com.github.cukespace.arquillian.asciidoctor.AsciidoctorObserver.render(AsciidoctorObserver.java:166)
      2. com.github.cukespace.arquillian.asciidoctor.AsciidoctorObserver.renderAll(AsciidoctorObserver.java:70)
      3. com.github.cukespace.arquillian.asciidoctor.AsciidoctorObserver.init(AsciidoctorObserver.java:63)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. Arquillian Core Implementation Base
      ManagerImpl.shutdown
      1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
      2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
      3. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
      4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
      5. org.jboss.arquillian.core.impl.ManagerImpl.shutdown(ManagerImpl.java:303)
      5 frames
    5. Arquillian Test Implementation Base
      EventTestRunnerAdaptor.shutdown
      1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.shutdown(EventTestRunnerAdaptor.java:164)
      1 frame
    6. Arquillian TestRunner JUnit Core
      Arquillian$1.testRunFinished
      1. org.jboss.arquillian.junit.Arquillian$1.shutdown(Arquillian.java:146)
      2. org.jboss.arquillian.junit.Arquillian$1.testRunFinished(Arquillian.java:132)
      2 frames
    7. JUnit
      RunNotifier$2.notifyListener
      1. org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:95)
      1 frame