view findbugs xml file error!
Using /var/atlassian/application-data/bamboo_home/xml-data/build-dir/BRAH-BRAH10-JOB1/build/reports/spotbugs/main.xml 01-四月-2019 16:35:59 Error occurred while running Task '代码质量检测(7)' of type eu.markusschulte.atlassian.bamboo.plugin.report-findbugs:findbugsJobTask. 01-四月-2019 16:35:59 java.lang.NumberFormatException: Not a number: 1.1.1-BuildID-e54734714c8ee3942a06d5e3dcf9e6a648b28f2a 01-四月-2019 16:35:59 at com.sun.xml.internal.bind.DatatypeConverterImpl._parseInt(DatatypeConverterImpl.java:110) 01-四月-2019 16:35:59 at com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$18.parse(RuntimeBuiltinLeafInfoImpl.java:725) 01-四月-2019 16:35:59 at com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$18.parse(RuntimeBuiltinLeafInfoImpl.java:723) 01-四月-2019 16:35:59 at com.sun.xml.internal.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.parse(TransducedAccessor.java:230) 01-四月-2019 16:35:59 at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:195) 01-四月-2019 16:35:59 at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:559) 01-四月-2019 16:35:59 at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:538) 01-四月-2019 16:35:59 at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:153) 01-四月-2019 16:35:59 at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) 01-四月-2019 16:35:59 at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) 01-四月-2019 16:35:59 at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) 01-四月-2019 16:35:59 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) 01-四月-2019 16:35:59 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 01-四月-2019 16:35:59 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 01-四月-2019 16:35:59 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 01-四月-2019 16:35:59 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 01-四月-2019 16:35:59 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 01-四月-2019 16:35:59 at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 01-四月-2019 16:35:59 at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:243) 01-四月-2019 16:35:59 at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214) 01-四月-2019 16:35:59 at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157) 01-四月-2019 16:35:59 at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:214) 01-四月-2019 16:35:59 at schulte.markus.metrictoolsanalyser.xml.core.XmlFactory.createXmlRootElement(XmlFactory.java:31) 01-四月-2019 16:35:59 at schulte.markus.metrictoolsanalyser.xml.findbugs.representation.FindbugsXmlFactory.createXmlRootElement(FindbugsXmlFactory.java:26) 01-四月-2019 16:35:59 at schulte.markus.metrictoolsanalyser.xml.findbugs.FindbugsXmlResultConsumer.createXmlRootElement(FindbugsXmlResultConsumer.java:17) 01-四月-2019 16:35:59 at schulte.markus.metrictoolsanalyser.xml.findbugs.FindbugsXmlResultConsumer.createXmlRootElement(FindbugsXmlResultConsumer.java:10) 01-四月-2019 16:35:59 at eu.markusschulte.atlassian.bamboo.plugin.report.xml.task.core.ReportXmlJobTask.execute(ReportXmlJobTask.java:72) 01-四月-2019 16:35:59 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$2(TaskExecutorImpl.java:317) 01-四月-2019 16:35:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252) 01-四月-2019 16:35:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317) 01-四月-2019 16:35:59 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112) 01-四月-2019 16:35:59 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73) 01-四月-2019 16:35:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:203) 01-四月-2019 16:35:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:175) 01-四月-2019 16:35:59 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131) 01-四月-2019 16:35:59 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185) 01-四月-2019 16:35:59 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125) 01-四月-2019 16:35:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126) 01-四月-2019 16:35:59 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) 01-四月-2019 16:35:59 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) 01-四月-2019 16:35:59 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) 01-四月-2019 16:35:59 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) 01-四月-2019 16:35:59 at java.lang.Thread.run(Thread.java:748)
Comments (7)
-
reporter -
repo owner Hi,
thanks for reporting this issue. Can you please provide spotbugs/main.xml ? Please attach as part of this issue or send to atlassian-marketplace@marqsschulte.de
-
reporter - attached main.xml
Hi: The attach file is my main.xml that generated by ./gradlew check .
-
repo owner Thanks for submitting spotbugs/main.xml The problem is reproducable, I will release a bugfix-release soon. For safety-reasons, I deleted your submitted file "main.xml".
-
repo owner I did fix the parsing problem, that was the easy part. But spotbugs/main.xml does not yet work in my environment, probably because of Chinese letters. I will have to do further investigations. I will hopefully get spotbugs/main.xml parseable by my Bamboo app in this week.
-
reporter Thank u for your work . Waiting the fixed version
-
repo owner - changed status to resolved
I just released https://marketplace.atlassian.com/apps/1215928/view-spotbugs-findbugs/version-history#b200000800, it should fix your problem. In case it does not, please re-open this issue report.
Thanks again for submitting this issue report!
- Log in to comment
The release NO. just only with number ?