Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Attachments: coverage_report.zip
Components: emma
Created: 19/Nov/12 8:42 AM
Description:

We are using Jenkins and Buckminster to build our product, about half a year ago we updated to java7 since then emma did not work anymore. Because the buckminster emma extension was outdated, used emma (1.4.x).
After I reported in the forum, buckminster updated emma to version 2.2.0.
I now get the following exception even though the xml looks fine (to me).
Maybe this is caused by the update to java7 or emma 2.2.0.
Attached is the coverage report.

------------------------------------------------
Emma: looking for coverage reports in the provided path: output/coverage_report.xml
Emma: found 1 report files:
C:\Data\Jenkins\workspace\workspace\scodi.server.integration\output\coverage_report.xml
Emma: stored 1 report files in the build folder: C:\Data\Jenkins\workspace\jobs\scodi.server.integration\builds\2012-11-19_09-05-45\emma
ERROR: Publisher hudson.plugins.emma.EmmaPublisher aborted due to exception
hudson.util.IOException2: Failed to parse C:\Data\Jenkins\workspace\workspace\scodi.server.integration\output\coverage_report.xml
at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:243)
at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:150)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
at hudson.model.Run.execute(Run.java:1541)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Caused by: org.xmlpull.v1.XmlPullParserException: expected START_TAG or END_TAG not END_DOCUMENT (position: END_DOCUMENT seen ...<counter type="CLASS" missed="395" covered="620"/></report>... @1:5408806)
at org.xmlpull.mxp1.MXParser.nextTag(MXParser.java:1083)
at hudson.plugins.emma.EmmaBuildAction.loadRatios(EmmaBuildAction.java:269)
at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:241)
... 10 more

Environment: Java7,buckminster4.2,Jenkins1.491
Project: Jenkins
Priority: Major Major
Reporter: Flavio Donzé
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to