OpenCover action exception on agent 1.8.0.131

When using the OpenCover action, Continua throws an unhandled exception, no matter what the results are from OpenCover. I think this is a plugin action error, rather than a configuration error based on the stack trace. I’m not sure what other information is relevant, so please let me know if there’s anything else you need to see.

The action ‘OpenCover [$Agent.NUnit.2.6.2.Path$]’ that was executing threw an exception that was not handled.
Exception: FormatException Message: Input string was not in a correct format. Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.Xml.Linq.XAttribute.op_Explicit(XAttribute attribute) at Continua.Modules.Builds.Actions.OpenCoverAction.ParseReportXmlDocument(IBuildSteppingContext context, String outputXmlFilename, XDocument doc) at Continua.Modules.Builds.Actions.OpenCoverAction.OnInterpretResult(IBuildSteppingContext context, Int32 exitCode, String output) at Continua.Modules.Builds.API.Actions.ExecuteAction`1.Execute(TContext context)


Continua Agent 1.8.0.131 on Windows Server 2012 R2

Hi dchoy,

Can you send a copy of the codeCoverage.xml file output from the OpenCover action to support@finalbuilder.com?

It will be in a folder similar to C:\CI_AWS\Ws###\Output\codeCoverage.xml on the agent where C:\CI_AWS is the agent workspace folder and ## is the build number. You may need to change the Agent Workspace Cleanup Policy settings in the cleanup section of the configuration wizard to ensure this is not deleted at the end of the build.

The error appears to be with parsing the Summary node, but we’re not sure which value is causing the problem.