java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When running job on slave this error occurred on slaves. (Linux, MS Windows): {code} [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] Saving 1 module information. [JaCoCo plugin] ConfigRow [moduleName=jsfsrcDir=jsf/plugins/org.jboss.tools.jsf.ui/src, classDir=jsf/plugins/org.jboss.tools.jsf.ui/target/classes/, execFile=jsf/tests/target/jacoco.exec] locations are configured [JaCoCo plugin] Saving module data.. [JaCoCo plugin] Storing properties file.. [JaCoCo plugin] Loading EXEC files.. FATAL: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:94) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:115) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:155) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:183) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at hudson.plugins.jacoco.model.ModuleInfo.analyzeStructure(ModuleInfo.java:90) at hudson.plugins.jacoco.model.ModuleInfo.loadBundleCoverage(ModuleInfo.java:96) at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:311) at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:289) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:164) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:619) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) {code} When the same job is run on local Jenkins installation directly on Jenkins Master machine there is no error.
    via by Vlado Pakan,
  • When running job on slave this error occurred on slaves. (Linux, MS Windows): {code} [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] Saving 1 module information. [JaCoCo plugin] ConfigRow [moduleName=jsfsrcDir=jsf/plugins/org.jboss.tools.jsf.ui/src, classDir=jsf/plugins/org.jboss.tools.jsf.ui/target/classes/, execFile=jsf/tests/target/jacoco.exec] locations are configured [JaCoCo plugin] Saving module data.. [JaCoCo plugin] Storing properties file.. [JaCoCo plugin] Loading EXEC files.. FATAL: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:94) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:115) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:155) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:183) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at hudson.plugins.jacoco.model.ModuleInfo.analyzeStructure(ModuleInfo.java:90) at hudson.plugins.jacoco.model.ModuleInfo.loadBundleCoverage(ModuleInfo.java:96) at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:311) at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:289) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:164) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:619) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) {code} When the same job is run on local Jenkins installation directly on Jenkins Master machine there is no error.
    via by Vlado Pakan,
    • java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:94) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:115) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:155) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:183) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at hudson.plugins.jacoco.model.ModuleInfo.analyzeStructure(ModuleInfo.java:90) at hudson.plugins.jacoco.model.ModuleInfo.loadBundleCoverage(ModuleInfo.java:96) at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:311) at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:289) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:164) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:619) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238)
    No Bugmate found.