help with "[jacoco:report] Writing bundle 'XXXXX' with 0 classes"

15 views
Skip to first unread message

don fong

unread,
Mar 27, 2025, 2:57:44 AMMar 27
to JaCoCo and EclEmma Users
i am trying to generate a coverage report from a bunch of exec files.  our coverage script, which uses ant's jacoco tasks, worked fine when the project was built under java 8.  but now we are moving to java 11.  and when i run the coverage script on the java 11-built project, it is giving the message

"Writing bundle "...." with 0 classes"

for every group.  under java 8, it would say with (some number of) classes, not zero.

the exec files themselves look OK.  at least, the sizes look similar to what we got under java 8.

there are no overt error messages.  in the resulting coverage report, all the coverage numbers are shown as "n/a"

any hints as to how to make this work?

Marc Hoffmann

unread,
Mar 31, 2025, 1:57:47 PMMar 31
to jac...@googlegroups.com
Hi,

the message "Writing bundle ... with 0 classes” means that no class files have been found at the location given in the group. Please check the Ant file and see whether there are actually class files or jars at the specified locations.

Regards,
-marc


--
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 visit https://groups.google.com/d/msgid/jacoco/46be30a9-b943-43b7-9c08-219f33fceba1n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages