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)

-- 
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/efb5f9c6-58fa-4f4f-8a27-5fab2b5f968c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to