Can you please post the full stack trace?
Without is it hard to tell which resource is missing here.
--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/15e65265-306f-44bc-ade5-6e3589798755%40googlegroups.com.
Can you please post the full stack trace?
Without is it hard to tell which resource is missing here.
On 2019-09-18 08:34, Shehan Ranasinghe wrote:
When I tried to generate the report with jacococli.jar with source files, this error is given to me.here is the command I used to generate the report.java -jar jacococli.jar report jacoco.exec --classfiles ../../Stages/sevice/target/exracted/shehan/newOne/ --html ../report/ --sourcefiles ../../Stages/sevice/What is the problem in here? I can't find any solution.--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jac...@googlegroups.com.
Ok, so the problem happens when the CLI tries to load referenced source file. You could verify by leaving out the parameter
--sourcefiles ../../Stages/sevice
In this case a report should be generated without highlighted sources though.
The interesting question is, why some class files seems to have a source reference to "shehan/newOne". Normally it should look more like "a/b/c/Foo.java".
Questions about the class files in ../../Stages/sevice/target/extracted/shehan/newOne/
1) How do you create/compile these class files?
2) Can you provide a the class files for inspection (e.g. by Zip file)?
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/d8288bcf-e31b-4260-ab1f-7a6aa33527c4%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/d8288bcf-e31b-4260-ab1f-7a6aa33527c4%40googlegroups.com.
On 18. Sep 2019, at 14:07, Shehan Dhaleesha <jinuthisa...@gmail.com> wrote:
OK, So basically this is not Java. But the compiled files are in bytecode(.class files). What I've tried is called as "Ballerina". It is also compiled into bytecode so that the JVM can run it. Why I use jacoco for Ballerina is because of Scala. I saw some blog posts that jacoco can be used to generate coverage reports in Scala also (as far as I know Scala is also running on JVM). So that is the reason to have different different paths respect to java. So yes I'll attach a compiled jar file so that you can observe it. And the best part is jacoco is generating a coverage report but not highlighting the source file. I'll attach a image of a generated coverage report. So what I want is mapping source files with the report so that I can see the coverage. If this can't be done using this jacoco version please let me know, And it would be really helpful if you can guide me a way to re-implement the jacoco so that I can achieve what I want.Ballerina website: https://v1-0.ballerina.io/Jar file location : https://drive.google.com/open?id=1NF_tja42tFK3aQ-qcd5e2qvevxu-K84o
<Auto Generated Inline Image 1.png><Auto Generated Inline Image 2.png><Auto Generated Inline Image 3.png>
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/e120c4e2-9729-43e7-a87d-b40c5dd0dc93%40googlegroups.com.
<Auto Generated Inline Image 1.png><Auto Generated Inline Image 2.png><Auto Generated Inline Image 3.png>
On 21. Sep 2019, at 05:10, Shehan Dhaleesha <jinuthisa...@gmail.com> wrote:
Oh. So this is the version I've got.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/44dd3287-0768-4514-87d5-2755f5eea4cb%40googlegroups.com.
The interesting question is, why some class files seems to have a source reference to "shehan/newOne". Normally it should look more like "a/b/c/Foo.java".
The string referenced by the sourcefile_index item will be interpreted as indicating the name of the source file from which this class file was compiled.
So can I still have a hope?
--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/8e16d938-a85f-4663-8151-80a106b9633a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jac...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/ed435f0a-b7ea-4078-ac4d-9256fe7e8dd6%40googlegroups.com.