Hi,

I discuss with my colleague and he said we can not change this into service
class because I am writing only test case so is there any way that we can
change in test class file or in excel file?

Thanks & Regards
Vikas Gupta

On Tue, 8 Feb, 2022, 7:24 PM Marc Hoffmann, <[email protected]>
wrote:

> Hi Vikas,
>
> in this case I *urge* you to *ASAP* have a look at our *very critical*
> FAQ: https://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.
>
>
> Regards,
> -marc
>
>
>
> On 8. Feb 2022, at 13:39, Vikas Gupta <[email protected]> wrote:
>
> Hi Team,
>
> While parsing the excel file in Java, I am getting Null Pointer Exception
> because [java code coverage] Re: $jacocoData column is added in the excel
> sheet.
>
> This issue is faced while writing a test case for the ExcelService Class.
>
> The above issue is very critical. So, need urgent help ASAP.
>
>
> Thank,
> Vikas Gupta
>
> --
> 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/e50d58b3-53fa-4baa-90c1-be67d121831an%40googlegroups.com
> <https://groups.google.com/d/msgid/jacoco/e50d58b3-53fa-4baa-90c1-be67d121831an%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/784D4DE6-A9E7-47CA-960B-A939F304F179%40mountainminds.com
> <https://groups.google.com/d/msgid/jacoco/784D4DE6-A9E7-47CA-960B-A939F304F179%40mountainminds.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/CAAcWZK9-GuGB_%2BKDtDcZJ9vc4ZzGfpAq2hiDyKwEYHrAW5p%3DsA%40mail.gmail.com.

Reply via email to