java.io.IOException: Error while analyzing class /share/pub/build/hudson/jobs/d4-aces-classifier/builds/2014-06-25_13-18-52/jacoco/classes/com/proofpoint/d4/aces/classifier/Attribute.class.

Jenkins JIRA | wgracelee | 2 years ago
  1. 0

    The Jenkins configuration for Jacoco is using default values. Here is the error message: [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] **/**.exec;**/classes;**/src/main/java; locations are configured [JaCoCo plugin] Number of found exec files: 1 [JaCoCo plugin] Saving matched execfiles: /share/pub/build/projects/hudson/workspace/d4-aces-classifier/target/jacoco.exec [JaCoCo plugin] Saving matched class directories: /share/pub/build/projects/hudson/workspace/d4-aces-classifier/target/classes [JaCoCo plugin] Saving matched source directories: /share/pub/build/projects/hudson/workspace/d4-aces-classifier/src/main/java [JaCoCo plugin] Loading inclusions files.. [JaCoCo plugin] inclusions: [] [JaCoCo plugin] exclusions: [] ERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception java.io.IOException: Error while analyzing class /share/pub/build/hudson/jobs/d4-aces-classifier/builds/2014-06-25_13-18-52/jacoco/classes/com/proofpoint/d4/aces/classifier/Attribute.class. at org.jacoco.core.analysis.Analyzer.analyzerError(Analyzer.java:150) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:144) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:175) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:208) at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:130) at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:137) at hudson.plugins.jacoco.JacocoReportDir.parse(JacocoReportDir.java:102) at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:291) at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:273) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:371) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725) at hudson.model.Run.execute(Run.java:1709) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.lang.IllegalArgumentException at org.objectweb.asm.ClassVisitor.<init>(Unknown Source) at org.jacoco.core.internal.flow.ClassProbesVisitor.<init>(ClassProbesVisitor.java:37) at org.jacoco.core.internal.flow.ClassProbesVisitor.<init>(ClassProbesVisitor.java:27) at org.jacoco.core.internal.analysis.ClassAnalyzer.<init>(ClassAnalyzer.java:47) at org.jacoco.core.analysis.Analyzer$1.<init>(Analyzer.java:90) at org.jacoco.core.analysis.Analyzer.createAnalyzingVisitor(Analyzer.java:87) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:105) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:142) ... 17 more Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur. Finished: FAILURE

    Jenkins JIRA | 2 years ago | wgracelee
    java.io.IOException: Error while analyzing class /share/pub/build/hudson/jobs/d4-aces-classifier/builds/2014-06-25_13-18-52/jacoco/classes/com/proofpoint/d4/aces/classifier/Attribute.class.
  2. 0

    [JENKINS-23579] jacoco 1.0.14 & 1.0.15 failed in analyzing some class file produced by jacoco-maven-plugin:0.6.2.201302030002 - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    java.io.IOException: Error while analyzing class /share/pub/build/hudson/jobs/d4-aces-classifier/builds/2014-06-25_13-18-52/jacoco/classes/com/proofpoint/d4/aces/classifier/Attribute.class.
  3. 0

    The Jenkins configuration for Jacoco is using default values. Here is the error message: [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] **/**.exec;**/classes;**/src/main/java; locations are configured [JaCoCo plugin] Number of found exec files: 1 [JaCoCo plugin] Saving matched execfiles: /share/pub/build/projects/hudson/workspace/d4-aces-classifier/target/jacoco.exec [JaCoCo plugin] Saving matched class directories: /share/pub/build/projects/hudson/workspace/d4-aces-classifier/target/classes [JaCoCo plugin] Saving matched source directories: /share/pub/build/projects/hudson/workspace/d4-aces-classifier/src/main/java [JaCoCo plugin] Loading inclusions files.. [JaCoCo plugin] inclusions: [] [JaCoCo plugin] exclusions: [] ERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception java.io.IOException: Error while analyzing class /share/pub/build/hudson/jobs/d4-aces-classifier/builds/2014-06-25_13-18-52/jacoco/classes/com/proofpoint/d4/aces/classifier/Attribute.class. at org.jacoco.core.analysis.Analyzer.analyzerError(Analyzer.java:150) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:144) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:175) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:208) at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:130) at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:137) at hudson.plugins.jacoco.JacocoReportDir.parse(JacocoReportDir.java:102) at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:291) at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:273) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:371) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725) at hudson.model.Run.execute(Run.java:1709) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.lang.IllegalArgumentException at org.objectweb.asm.ClassVisitor.<init>(Unknown Source) at org.jacoco.core.internal.flow.ClassProbesVisitor.<init>(ClassProbesVisitor.java:37) at org.jacoco.core.internal.flow.ClassProbesVisitor.<init>(ClassProbesVisitor.java:27) at org.jacoco.core.internal.analysis.ClassAnalyzer.<init>(ClassAnalyzer.java:47) at org.jacoco.core.analysis.Analyzer$1.<init>(Analyzer.java:90) at org.jacoco.core.analysis.Analyzer.createAnalyzingVisitor(Analyzer.java:87) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:105) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:142) ... 17 more Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur. Finished: FAILURE

    Jenkins JIRA | 2 years ago | wgracelee
    java.io.IOException: Error while analyzing class /share/pub/build/hudson/jobs/d4-aces-classifier/builds/2014-06-25_13-18-52/jacoco/classes/com/proofpoint/d4/aces/classifier/Attribute.class.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using Jenkins 1.567 on Linux. Each project is Maven 3 based and publishes jacoco coverage reports. Since upgrading plugins yesterday we're seeing a crash whenever the plugin tries to run. Here's one example: [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] **/**.exec;**/classes;**/src/main/java; locations are configured [JaCoCo plugin] Number of found exec files: 3 [JaCoCo plugin] Saving matched execfiles: /var/lib/jenkins/jobs/mjls-parent/workspace/automated-readers/target/jacoco.exec /var/lib/jenkins/jobs/mjls-parent/workspace/mjls-core/target/jacoco.exec /var/lib/jenkins/jobs/mjls-parent/workspace/mjls-web/target/jacoco.exec [JaCoCo plugin] Saving matched class directories: /var/lib/jenkins/jobs/mjls-parent/workspace/automated-readers/target/classes /var/lib/jenkins/jobs/mjls-parent/workspace/mjls-core/target/classes /var/lib/jenkins/jobs/mjls-parent/workspace/mjls-web/target/classes /var/lib/jenkins/jobs/mjls-parent/workspace/mjls-web/target/mjls/WEB-INF/classes [JaCoCo plugin] Saving matched source directories: /var/lib/jenkins/jobs/mjls-parent/workspace/automated-readers/src/main/java /var/lib/jenkins/jobs/mjls-parent/workspace/mjls-core/src/main/java /var/lib/jenkins/jobs/mjls-parent/workspace/mjls-web/src/main/java [JaCoCo plugin] Loading inclusions files.. [JaCoCo plugin] inclusions: [] [JaCoCo plugin] exclusions: [] ERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception java.io.IOException: Error while analyzing class /var/lib/jenkins/jobs/mjls-parent/builds/2014-06-13_12-58-21/jacoco/classes/com/mjog/mjls/attachment/DeletedAttachmentToSaas.class. at org.jacoco.core.analysis.Analyzer.analyzerError(Analyzer.java:150) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:144) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:175) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:208) at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:130) at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:137) at hudson.plugins.jacoco.JacocoReportDir.parse(JacocoReportDir.java:102) at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:291) at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:273) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:371) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1040) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:669) at hudson.model.Run.execute(Run.java:1735) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) Caused by: java.lang.IllegalArgumentException at org.objectweb.asm.ClassVisitor.<init>(Unknown Source) at org.jacoco.core.internal.flow.ClassProbesVisitor.<init>(ClassProbesVisitor.java:37) at org.jacoco.core.internal.flow.ClassProbesVisitor.<init>(ClassProbesVisitor.java:27) at org.jacoco.core.internal.analysis.ClassAnalyzer.<init>(ClassAnalyzer.java:47) at org.jacoco.core.analysis.Analyzer$1.<init>(Analyzer.java:90) at org.jacoco.core.analysis.Analyzer.createAnalyzingVisitor(Analyzer.java:87) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:105) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:142) ... 17 more Finished: FAILURE Similar stacktraces can be found across our other projects. I've updated the jacoco plugin within the project to the latest 0.7.1 with no change. The build itself is successful - it's just the publishing of the report that fails.

    Jenkins JIRA | 2 years ago | James Green
    java.io.IOException: Error while analyzing class /var/lib/jenkins/jobs/mjls-parent/builds/2014-06-13_12-58-21/jacoco/classes/com/mjog/mjls/attachment/DeletedAttachmentToSaas.class.
  6. 0

    [JENKINS-23426] Crash publishing jacoco report across all projects with 1.0.15 - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    java.io.IOException: Error while analyzing class /var/lib/jenkins/jobs/mjls-parent/builds/2014-06-13_12-58-21/jacoco/classes/com/mjog/mjls/attachment/DeletedAttachmentToSaas.class.

    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.IllegalArgumentException

      No message provided

      at org.objectweb.asm.ClassVisitor.<init>()
    2. Felix iPOJO
      ClassVisitor.<init>
      1. org.objectweb.asm.ClassVisitor.<init>(Unknown Source)
      1 frame
    3. JaCoCo :: Core
      Analyzer.analyzeAll
      1. org.jacoco.core.internal.flow.ClassProbesVisitor.<init>(ClassProbesVisitor.java:37)
      2. org.jacoco.core.internal.flow.ClassProbesVisitor.<init>(ClassProbesVisitor.java:27)
      3. org.jacoco.core.internal.analysis.ClassAnalyzer.<init>(ClassAnalyzer.java:47)
      4. org.jacoco.core.analysis.Analyzer$1.<init>(Analyzer.java:90)
      5. org.jacoco.core.analysis.Analyzer.createAnalyzingVisitor(Analyzer.java:87)
      6. org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:105)
      7. org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:142)
      8. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:175)
      9. org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:208)
      9 frames
    4. hudson.plugins.jacoco
      JacocoPublisher.perform
      1. hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:130)
      2. hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:137)
      3. hudson.plugins.jacoco.JacocoReportDir.parse(JacocoReportDir.java:102)
      4. hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:291)
      5. hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:273)
      6. hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:371)
      6 frames
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
      4. hudson.model.Build$BuildExecution.post2(Build.java:183)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725)
      6. hudson.model.Run.execute(Run.java:1709)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:231)
      9 frames