db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjula Kutty" <manjula.ku...@gmail.com>
Subject Re: EMMA Code coverage
Date Fri, 28 Mar 2008 18:05:00 GMT
Yes first time it was empty. I tried running this by taking a new windows
with new env setting and I got a report file. But still there some errors
when I redirected the ant emma-all to an output file. It is like this

checkVMLevel:

START-SPAWNED:SpawnedNetworkServer ERROR OUTPUT:
    [junit] java.security.AccessControlException: access denied (
java.io.FilePermission coverage.ec read)
    [junit]  at java.security.AccessControlContext.checkPermission(
AccessControlContext.java:264)
    [junit]  at java.security.AccessController.checkPermission(
AccessController.java:427)
    [junit]  at java.lang.SecurityManager.checkPermission(
SecurityManager.java:532)
    [junit]  at java.lang.SecurityManager.checkRead(SecurityManager.java
:871)
    [junit]  at java.io.File.exists(File.java:700)
    [junit]  at com.vladium.emma.data.DataFactory.persist(DataFactory.java
:525)
    [junit]  at com.vladium.emma.data.DataFactory.persist(DataFactory.java
:86)
    [junit]  at com.vladium.emma.rt.RTCoverageDataPersister.dumpCoverageData
(RTCoverageDataPersister.java:54)
    [junit]  at com.vladium.emma.rt.RTExitHook.run(RTExitHook.java:32)
    [junit]  at java.lang.Thread.run(Thread.java:595)
    [junit] Exception in thread "EMMA shutdown handler thread"
java.lang.RuntimeException: EMMA failed to dump coverage data:
java.security.AccessControlException: access denied (java.io.FilePermission
coverage.ec read)
    [junit]  at com.vladium.emma.rt.RTCoverageDataPersister.dumpCoverageData
(RTCoverageDataPersister.java:71)
    [junit]  at com.vladium.emma.rt.RTExitHook.run(RTExitHook.java:32)
    [junit]  at java.lang.Thread.run(Thread.java:595)
    [junit] END-SPAWNED  :SpawnedNetworkServer ERROR OUTPUT:

This one occured quites few times

and in the last


emma-all:

BUILD FAILED
C:\derbydev\trunk\build.xml:2199: EMMA instrumented tests failed!

Total time: 118 minutes 0 seconds
I'm attaching the full output file.

Thanks
Manjula

On 3/28/08, Daniel John Debrunner <djd@apache.org> wrote:
>
> Manjula Kutty wrote:
> > I tried  ant emma-all.
> >
> > The following error was on the screen
> > BUILD FAILED
> > C:\derbydev\trunk\build.xml:2199: EMMA instrumented tests failed!
> >  It didn't create any other report file
>
> So the junit_<date> folder was empty?
>
> Dan.
>
>


-- 
Thanks,
Manjula.

Mime
View raw message