New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPE in MethodAnalyzer.java:287 #222
Comments
@mhankus Thanks for reporting this. Any chance that we can get the "PATH_TO_SOME_FILE.class" for further analysis? If you can't share this here please sent it to my last name at mountainminds.com. |
@mhankus Thx for providing the class file. Unfortunately I cannot reproduce the problem. Can you please double check that you provided the exact same class file directly from the build process where the problem occurs (target/classes)? |
We got exactly the same error after upgrade jenkins jacoco plugin to 1.0.14. I will email you a sample class t |
@mhankus @bill-lin @marchof indeed - seems that there is mess in ASM dependencies in Jenkins plugin: https://github.com/jenkinsci/jacoco-plugin/blob/master/pom.xml#L97 At least because it depends on 4.x , whereas JaCoCo 0.7.1 uses 5.x. I can open PR or even push changes directly into Jenkins plugin, but unfortunately don't have time to test it properly. |
@Godin Thanks for the analysis! I tried to run JaCoCo 0.7.1 with ASM 4.x and got the following error: https://issues.jenkins-ci.org/browse/JENKINS-23426 Anyways I close this issue here for JaCoCo. @mhankus @bill-lin Can you please report the problem to the Jenkins plug-in maintainer? https://wiki.jenkins-ci.org/display/JENKINS/JaCoCo+Plugin |
Jacoco is run from jenkins job, and fails with NPE in MethodAnalyzer.java:287.
I'm using 0.7.1.201405082137
The text was updated successfully, but these errors were encountered: