Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-38555

Jira returning invalid xml in soap api

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Low
    • Resolution: Obsolete
    • Affects Version/s: 6.2.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      I am using cloudbees (hosted Jenkins) with the jira plugin 1.38 (latest available) and 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. It stopped working May 29th. I love JIRA but unfortunately I do not know how the Jenkins plugin works, only that it appears that JIRA is returning invalid xml to it when runs a query. Can you be sure you didn't just push out a change to query results in soap api (and when there are no results) that has invalid xml?

      [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 "&#
      

      Thank you for your time and great product,
      Adam

      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
      

      Cloudbees ticket: https://cloudbees.zendesk.com/requests/18780
      Jenkins plugin issue: https://issues.jenkins-ci.org/browse/JENKINS-23257

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            adam52 Adam Lane
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: