java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V

Jenkins JIRA | Vlado Pakan | 5 years 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

    [JENKINS-15242] org.objectweb.asm.ClassReader.accept error - Jenkins JIRA

    jenkins-ci.org | 9 months ago
    java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
  2. 0

    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.

    Jenkins JIRA | 5 years ago | Vlado Pakan
    java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
  3. 0

    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.

    Jenkins JIRA | 5 years ago | Vlado Pakan
    java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V

      at org.jacoco.core.analysis.Analyzer.analyzeClass()
    2. JaCoCo :: Core
      Analyzer.analyzeAll
      1. org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:94)
      2. org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:115)
      3. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:155)
      4. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:183)
      5. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178)
      6. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178)
      7. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178)
      8. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178)
      9. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178)
      10. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178)
      11. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178)
      11 frames
    3. hudson.plugins.jacoco
      JacocoPublisher.perform
      1. hudson.plugins.jacoco.model.ModuleInfo.analyzeStructure(ModuleInfo.java:90)
      2. hudson.plugins.jacoco.model.ModuleInfo.loadBundleCoverage(ModuleInfo.java:96)
      3. hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:311)
      4. hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:289)
      5. hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:164)
      5 frames
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:162)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:619)
      7. hudson.model.Run.run(Run.java:1429)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:238)
      10 frames