Quantcast

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

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Assignee: Ognjen Bubalo
Components: jacoco
Created: 20/Sep/12 8:33 AM
Description:

When running job on slave this error occurred on slaves. (Linux, MS Windows):

[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)

When the same job is run on local Jenkins installation directly on Jenkins Master machine there is no error.

Environment: Master: OSX Lion
Slaves: Linux 64 bit, MS Windows 7 32 bit
Jenkins: ver. 1.447.2-SNAPSHOT
Jacoco plugin: 1.0.5
Project: Jenkins
Priority: Major Major
Reporter: Vlado Pakan
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org

Hi,

Do you use asm lib in your job?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Vlado Pakan commented on Bug JENKINS-15242

I'm not sure. My jobs contains just couple of standard steps:

1. Checkout from SVN
2. Run Maven build
3. Run jacoco plugin to create Code Coverage reports

Does that help you?

Or have can I find out my job is using asm lib?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
 
Vlado Pakan edited a comment on Bug JENKINS-15242

I'm not sure. My jobs contains just couple of standard steps:

1. Checkout from SVN
2. Run Maven build
3. Run jacoco plugin to create Code Coverage reports

Does that help you?

Or how can I find out my job is using asm lib?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Code changed in jenkins
User: Ognjen Bubalo
Path:
pom.xml
http://jenkins-ci.org/commit/jacoco-plugin/ee58f711a6f9a62e379f760b0b8b31464f8adfa5
Log:
Fixing JENKINS-15242 org.objectweb.asm.ClassReader.accept error: Using pluginClassLoaderFirst.

Compare: https://github.com/jenkinsci/jacoco-plugin/compare/4e138b068de1...ee58f711a6f9

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Ognjen Bubalo resolved Bug JENKINS-15242 as Fixed

Upcoming 1.0.7 should fix this issue. Please give us a feedback!

Change By: Ognjen Bubalo (08/Oct/12 12:39 PM)
Status: Open Resolved
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Tim Preston commented on Bug JENKINS-15242

I just installed 1.0.7 (first time installing this plugin). I'm still getting the same error.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Vlado Pakan commented on Bug JENKINS-15242

We just updated to 1.0.7 and we have got this error:

[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:  /home/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage/jsf/tests/target/jacoco.execERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception
java.lang.IllegalStateException: basedir /home/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage does not exist.
	at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:852)
	at hudson.plugins.jacoco.JacocoPublisher.resolveDirPaths(JacocoPublisher.java:116)
	at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:181)
	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)

Directory /home/hudson/workspace/jbosstools-3.3_stable_branch.jsf.bot.tests.codecoverage exists only on slave doesn't exist on Jenkins master. Could it be a problem.

I'm not sure if this means that old asm version is not used anymore therefore I'm not closing this issue for now.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

This was a new issue. The upcomming 1.0.8 version fixes it too. Check your update center in the next 6-12 hours.

Cheers,
Ogi

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Vlado Pakan closed Bug JENKINS-15242 as Fixed

With version 1.0.8 it's working for me. Thank you a lot for quick response.

Change By: Vlado Pakan (18/Oct/12 8:00 AM)
Status: Resolved Closed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...