Please see FAQ ( http://www.jacoco.org/jacoco/trunk/doc/faq.html ):

My code uses reflection. Why does it fail when I execute it with JaCoCo?

To collect execution data JaCoCo instruments the classes under test which 
adds two members to the classes: A private static field $jacocoData and a 
private static method $jacocoInit(). Both members are marked as synthetic.

Please change your code to ignore synthetic members. This is a good 
practice anyways as also the Java compiler creates synthetic members in 
certain situation.


On Monday, May 15, 2017 at 8:39:02 AM UTC+2, [email protected] wrote:
>
> Coverage as gives the error :jodd.bean.BeanException: Simple property not 
> found: $jacocoData. Invalid property while running as junit test works fine.

-- 
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/1f031a2a-2a14-47a3-97bd-d5ae8ebc5ac6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to