db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siddharth srivastava <akssps...@gmail.com>
Subject Emma report generation fails
Date Sat, 14 Apr 2012 01:14:23 GMT
Hi

I have been trying to generate code coverage report(suites.All) with
Emma. I was
able to instrument the jar files and run the test cases. But the report
generation fails with the following error:

java.io.UTFDataFormatException: malformed input around byte 52
        at java.io.DataInputStream.readUTF(Unknown Source)
        at java.io.DataInputStream.readUTF(Unknown Source)
        at com.vladium.emma.data.ClassDescriptor.readExternal(ClassDescriptor.ja
va:171)
        at com.vladium.emma.data.MetaData.readExternal(MetaData.java:228)
        at com.vladium.emma.data.DataFactory.readEntry(DataFactory.java:770)
        at com.vladium.emma.data.DataFactory.mergeload(DataFactory.java:461)
        at com.vladium.emma.data.DataFactory.load(DataFactory.java:56)
        at com.vladium.emma.report.ReportProcessor._run(ReportProcessor.java:175
)
        at com.vladium.emma.Processor.run(Processor.java:54)
        at com.vladium.emma.report.reportCommand.run(reportCommand.java:130)
        at emma.main(emma.java:40)

I see that Knut also faced this error earlier,
http://permalink.gmane.org/gmane.comp.apache.db.derby.devel/93262

Has there been a workaround for this ?

-- 
Regards
Siddharth Srivastava

Mime
View raw message