Exception while running service process importData after running tests

Sometimes my test build fails at the end of the run with the following in the log. Any ideas?

[18:51:03]Waiting for 1 service processes to complete

[18:51:04]Importing data from 'C:\TeamCity\buildAgent\work\fd5780ddf5f183b3\testResults.trx' (64.24 MB) with 'mstest' processor

[18:51:04]Caught exception while running service process importData

[18:51:04]java.lang.IllegalStateException: Step processing context is null      at jetbrains.buildServer.xmlReportPlugin.XmlReportPlugin.getStepProcessingContext(XmlReportPlugin.java:425)      at jetbrains.buildServer.xmlReportPlugin.XmlReportPlugin.processRules(XmlReportPlugin.java:103)      at jetbrains.buildServer.xmlReportPlugin.XmlReportDataProcessor.processData(XmlReportDataProcessor.java:75)      at jetbrains.buildServer.agent.impl.inspections.DataImportServiceMessage$1.run(DataImportServiceMessage.java:95)      at jetbrains.buildServer.agent.impl.serviceProcess.impl.ThreadedServiceProcessFactory$1.run(ThreadedServiceProcessFactory.java:30)      at java.lang.Thread.run(Unknown Source)

Please sign in to leave a comment.