Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23257

Non well-formed response from JIRA error is hard to diagnose

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • jira-plugin
    • Jira plugin 1.38 (latest available in cloudbees)

      My build just started failing yesterday after I pushed a change attached to a closed ticket (in my current sprint that i just checked in but it needed a tweak). It seems that Jira is returning invalid xml now when I try to do this causing the build to fail. I had to remove the Jira plugin to keep working.

      [success] Total time: 31 s, completed May 29, 2014 5:27:12 PM
      Build step 'Build using sbt' changed build result to SUCCESS
      [JIRA] Updating issues using workflow action Close Issue.
      [JIRA] JQL: project = Grocery and status in (Resolved, Staged)
      FATAL: ; nested exception is:
      org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 47; Character reference "&#
      

      Full stack

      [success] Total time: 31 s, completed May 29, 2014 5:27:12 PM 
      Build step 'Build using sbt' changed build result to SUCCESS 
      [JIRA] Updating issues using workflow action Close Issue. 
      [JIRA] JQL: project = Grocery and status in (Resolved, Staged) 
      FATAL: ; nested exception is: 
      org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 47; Character reference "&# 
      AxisFault 
      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException 
      faultSubcode: 
      faultString: org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 47; Character reference "&# 
      faultActor: 
      faultNode: 
      faultDetail: 
      {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 47; Character reference "&# 
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) 
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanCharReferenceValue(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) 
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) 
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) 
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) 
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source) 
      at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) 
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) 
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) 
      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) 
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) 
      at org.apache.axis.client.Call.invokeEngine(Call.java:2784) 
      at org.apache.axis.client.Call.invoke(Call.java:2767) 
      at org.apache.axis.client.Call.invoke(Call.java:2443) 
      at org.apache.axis.client.Call.invoke(Call.java:2366) 
      at org.apache.axis.client.Call.invoke(Call.java:1812) 
      at hudson.plugins.jira.soap.JirasoapserviceV2SoapBindingStub.getIssuesFromJqlSearch(JirasoapserviceV2SoapBindingStub.java:7422) 
      at hudson.plugins.jira.JiraSession.getIssuesFromJqlSearch(JiraSession.java:135) 
      at hudson.plugins.jira.JiraSite.progressMatchingIssues(JiraSite.java:487) 
      at hudson.plugins.jira.JiraIssueUpdateBuilder.perform(JiraIssueUpdateBuilder.java:96) 
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:795) 
      at hudson.model.Build$BuildExecution.build(Build.java:199) 
      at hudson.model.Build$BuildExecution.doRun(Build.java:160) 
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:576) 
      at hudson.model.Run.execute(Run.java:1665) 
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 
      at hudson.model.ResourceController.execute(ResourceController.java:88) 
      at hudson.model.Executor.run(Executor.java:246)
      
      {http://xml.apache.org/axis/}hostname:jenkins-grocery
      
      org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 47; Character reference "&# 
      at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) 
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701) 
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) 
      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) 
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) 
      at org.apache.axis.client.Call.invokeEngine(Call.java:2784) 
      at org.apache.axis.client.Call.invoke(Call.java:2767) 
      at org.apache.axis.client.Call.invoke(Call.java:2443) 
      at org.apache.axis.client.Call.invoke(Call.java:2366) 
      at org.apache.axis.client.Call.invoke(Call.java:1812) 
      at hudson.plugins.jira.soap.JirasoapserviceV2SoapBindingStub.getIssuesFromJqlSearch(JirasoapserviceV2SoapBindingStub.java:7422) 
      at hudson.plugins.jira.JiraSession.getIssuesFromJqlSearch(JiraSession.java:135) 
      at hudson.plugins.jira.JiraSite.progressMatchingIssues(JiraSite.java:487) 
      at hudson.plugins.jira.JiraIssueUpdateBuilder.perform(JiraIssueUpdateBuilder.java:96) 
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:795) 
      at hudson.model.Build$BuildExecution.build(Build.java:199) 
      at hudson.model.Build$BuildExecution.doRun(Build.java:160) 
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:576) 
      at hudson.model.Run.execute(Run.java:1665) 
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 
      at hudson.model.ResourceController.execute(ResourceController.java:88) 
      at hudson.model.Executor.run(Executor.java:246) 
      Caused by: org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 47; Character reference "&# 
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) 
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanCharReferenceValue(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) 
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) 
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) 
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) 
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) 
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source) 
      at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) 
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) 
      ... 21 more
      

            Unassigned Unassigned
            enalmada Adam Lane
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: