Hi George,
are you building JaCoCo source? In this case there should be a full stack trace
in
./org.jacoco.core.test.validation.java5/target/surefire-reports
Can you please send the full stack trace?
Our CI is green for master:
https://dev.azure.com/jacoco-org/JaCoCo/_build/latest?definitionId=1&branchName=master
<https://dev.azure.com/jacoco-org/JaCoCo/_build/latest?definitionId=1&branchName=master>
Regards,
-marc
> On 27. Jan 2021, at 11:11, fawu shi <[email protected]> wrote:
>
> Hi,
>
> I wonder why i ran the unittest with the newest jacoco source code, there
> will always be many error like " Could not initialize class
> org.jacoco.core.internal.analysis.CounterImpl":
>
>
> Tests in error:
>
> all_branches_should_have_line_number(org.jacoco.core.test.validation.java5.ExceptionsTest):
> Could not initialize class org.jacoco.core.internal.analysis.CounterImpl
>
> all_missed_instructions_should_have_line_number(org.jacoco.core.test.validation.java5.ExceptionsTest):
> Could not initialize class org.jacoco.core.internal.analysis.CounterImpl
>
> last_line_in_coverage_data_should_be_less_or_equal_to_number_of_lines_in_source_file(org.jacoco.core.test.validation.java5.ExceptionsTest):
> Could not initialize class org.jacoco.core.internal.analysis.CounterImpl
> ...
>
> could you please tell me how to resolve them?
>
> the command ran it is : "mvn clean test "
>
> thanks,
> George
>
>
> --
> 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 [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jacoco/0bf595ae-e676-4e8e-a9ac-b06148a73d0dn%40googlegroups.com
>
> <https://groups.google.com/d/msgid/jacoco/0bf595ae-e676-4e8e-a9ac-b06148a73d0dn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/D2EED678-7CD1-4248-8057-14CB5F904E86%40mountainminds.com.