-
Notifications
You must be signed in to change notification settings - Fork 36
Don't fail in case of missing output folders #38
Comments
The reason might be an particular classpath setting. Can you please reduce the the coverage scope and narrow down the problem to a particular Java project? It would help a lot to fix this if you could identify the project which is causing the problem and provide its .classpath file. |
I found the problem was not in the test project itself. What is peculiar about this offending project it is a plugin project with no output directory defined in build.properties. I guess this causes the error above. Thank you. |
Can you please provide the content of the ".classpath" file of the project you closed? The build.properties file is not considered by EclEmma. |
Sorry, here is the correct one: |
Interesting, may I ask you tho check this:
I want to understand the root cause to provide a proper fix. |
Please let me know if you need more details. |
Ok, then we have a good explanation for the problem. I will harden EclEmma for such situations. |
Fixed on master. You can test from this update site: http://download.eclipselab.org/eclemma/trunk/update |
I am having a problem with a JUnit plugin test. Eclemma fails while calculating coverage stats.
I guess the problem is somehow related to #21
I synchronized the project with filesystem as it was advised, but alas, the result is the same.
Any advice please?
Thank you
eclipse.buildId=M20120914-1540
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_CH
Command-line arguments: -os win32 -ws win32 -arch x86_64
Error
Thu Jan 24 12:07:44 CET 2013
Error while analyzing package fragment root src at null (code 5007).
java.lang.NullPointerException
at com.mountainminds.eclemma.internal.core.analysis.ResourceTreeWalker.walk(ResourceTreeWalker.java:41)
at com.mountainminds.eclemma.internal.core.analysis.PackageFragementRootAnalyzer.analyzeInternal(PackageFragementRootAnalyzer.java:63)
at com.mountainminds.eclemma.internal.core.analysis.PackageFragementRootAnalyzer.analyze(PackageFragementRootAnalyzer.java:46)
at com.mountainminds.eclemma.internal.core.analysis.SessionAnalyzer.processPackageFragmentRoot(SessionAnalyzer.java:100)
at com.mountainminds.eclemma.internal.core.analysis.SessionAnalyzer.processSession(SessionAnalyzer.java:80)
at com.mountainminds.eclemma.internal.core.JavaCoverageLoader$LoadSessionJob.run(JavaCoverageLoader.java:81)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
The text was updated successfully, but these errors were encountered: