Error while creating report if putting all relevant class pkg together

55 views
Skip to first unread message

xiongf...@gmail.com

unread,
Jul 14, 2015, 12:31:02 AM7/14/15
to jac...@googlegroups.com, luka...@sap.com
After I completed the data collection into jacoco.exec, I run the ant task to generate the report referring all the relevant application jar class packages.

Then I will get the error message "Error while creating report".

After some investigation, I find it's failed because of the inclusion of some packages.

Then I divided the referred application jar packages into two groups. And run the report ant task separately for them. Surprisingly, it's working this way and generated two reports.

However, even if it's working that way, I still need to generate a single report by referring all the jar. packages together.

And also wondering what could possibly lead to this issue?

xiongf...@gmail.com

unread,
Jul 14, 2015, 12:58:10 AM7/14/15
to jac...@googlegroups.com, luka...@sap.com, xiongf...@gmail.com
btw, "Error while creating report". is the only message I got. There's not any other helpful messages displayed.

Evgeny Mandrikov

unread,
Jul 15, 2015, 5:35:48 AM7/15/15
to jac...@googlegroups.com, xiongf...@gmail.com, xiongf...@gmail.com, luka...@sap.com
Hi,

Could you please run Ant in verbose mode ("ant -v") in order to get full stack trace?

xiongf...@gmail.com

unread,
Jul 16, 2015, 1:50:37 AM7/16/15
to jac...@googlegroups.com, luka...@sap.com, xiongf...@gmail.com
thanks Evgeny. I have figured out the root cause. It's because there're classes in different jars. having same full class names. After I configure them into different groups in build.xml, then it's working
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages