Thanks! I just noted that you mentioned multiple errors.
What is the very first error log or exception you see?
Regards,
-marc
On 13.07.16 07:38, [email protected] wrote:
On Tuesday, July 12, 2016 at 8:27:58 PM UTC+5:30, Marc R. Hoffmann wrote:
So you only use the jacoco:coverage tag, right? No offline
instrumentation?
Also, can you please provide a stacktrace?
Regards,
-marc
On 2016-07-12 14:41, [email protected] wrote:
I am calculating coverage using jacoco using ant script.
Refering the documentation i have written my junit wrapped inside
jacoco target. When only junits are run they are successful without
any exception.
When running inside jacoco coverage target many give exceptions.
Most of them being
java.util.MissingResourceException
Could you all help ?
Yes Marc that is correct I am only using jacoco:coverage tag and no offline
instrumentation.The Junits work fine when executed without the jacoco:coverage
tag.
Please find the stack trace
null
java.lang.ExceptionInInitializerError
at wt.fc.WTObject.<init>(WTObject.java:239)
at
com.xxx.sc.disconnectedSystem._SCActivationRecord.<init>(_SCActivationRecord.java:4)
at
com.xxx.sc.disconnectedSystem.SCActivationRecord.<init>(SCActivationRecord.java:55)
at
com.xxx.sc.disconnectedSystem.SCActivationRecord.newSCActivationRecord(SCActivationRecord.java:69)
at
com.xxx.sc.disconnectedSystem.SCActivationRecordTest.testNewSCActivationRecord(SCActivationRecordTest.java:9)
Caused by: java.util.MissingResourceException: Can't find resource for bundle
wt.fc.fcResource_en, key 49
at java.util.ResourceBundle.getObject(ResourceBundle.java:450)
at java.util.ResourceBundle.getObject(ResourceBundle.java:444)
at java.util.ResourceBundle.getString(ResourceBundle.java:407)
at wt.fc.WTObjectCounter.<clinit>(WTObjectCounter.java:401)
--
Marc Hoffmann
[email protected]
_______________________________________________
Mountainminds GmbH & Co. KG
Nussbaumstr. 4 * 80336 Muenchen * Germany
Phone/Fax +49-700-68664637 * 0700-MTNMINDS
Registergericht Muenchen * HRA 80201
Mountainminds Verwaltungs GmbH
Registergericht Muenchen * HRB 143183
Geschaeftsfuehrer Marc Hoffmann
--
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/0a1cdc69-5f47-01e8-dfce-1564a763cef9%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.