bkwok2318 - 2012-07-11

Hi I used Emma years ago when the apps were running on Solaris. coverage.ec file was created fine by either running the ctl command or shutting down the JVM. I am using the tool again now when all the apps are running on AIX (not sure if that's the issue). No coverage.ec file was created on the usr.dir by shutting down the app. And I tried running the ctl command and I am getting the following:
EMMA: processing control command sequence …
EMMA: executing  …

emma ctl: coverage.get: RPC failure while executing
Exception in thread "main" com.vladium.emma.EMMARuntimeException: coverage.get: RPC failure while executing
        at com.vladium.emma.ctl.CtlProcessor._run(CtlProcessor.java:242)
        at com.vladium.emma.Processor.run(Processor.java:88)
        at com.vladium.emma.ctl.ctlCommand.run(ctlCommand.java:151)
        at emma.main(emma.java:50)
Caused by: java.io.StreamCorruptedException: invalid stream header: 5454502F
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:294)
        at com.vladium.emma.rt.rpc.Response.read(Response.java:46)
        at com.vladium.emma.rt.RTControllerClientProxy.execute(RTControllerClientProxy.java:100)
        at com.vladium.emma.ctl.CtlProcessor._run(CtlProcessor.java:231)
        … 3 more

Can anyone help?

Thanks.