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

Hudson not able to add note to issue (Invalid element in hudson.plugins.mantis.soap.mantis120.IssueNoteData - time_tracking)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: mantis-plugin
    • Labels:
      None
    • Environment:
      Mantis version 1.2.0
    • Similar Issues:

      Description

      When updating a issue in mantis the plugin throws following error:

      Mar 30, 2010 11:00:45 AM hudson.plugins.mantis.Updater perform
      WARNING: Failed to add note to Mantis issue #hudson.plugins.mantis.changeset.SubversionChangeSet@6fccb59b.
      hudson.plugins.mantis.MantisHandlingException: org.xml.sax.SAXException: Invalid element in hudson.plugins.mantis.soap.mantis120.IssueNoteData - time_tracking
      at hudson.plugins.mantis.soap.mantis120.MantisSessionImpl.getIssue(MantisSessionImpl.java:63)
      at hudson.plugins.mantis.MantisSite.getIssue(MantisSite.java:137)
      at hudson.plugins.mantis.Updater.perform(Updater.java:71)
      at hudson.plugins.mantis.MantisIssueUpdater.perform(MantisIssueUpdater.java:48)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
      at hudson.model.Build$RunnerImpl.post2(Build.java:152)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1266)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)
      Caused by: org.xml.sax.SAXException: Invalid element in hudson.plugins.mantis.soap.mantis120.IssueNoteData - time_tracking
      at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
      at org.apache.axis.client.Call.invoke(Call.java:2470)
      at org.apache.axis.client.Call.invoke(Call.java:2366)
      at org.apache.axis.client.Call.invoke(Call.java:1812)
      at hudson.plugins.mantis.soap.mantis120.MantisConnectBindingStub.mc_issue_get(MantisConnectBindingStub.java:1634)
      at hudson.plugins.mantis.soap.mantis120.MantisSessionImpl.getIssue(MantisSessionImpl.java:60)
      ... 13 more
      Caused by: org.xml.sax.SAXException: Invalid element in hudson.plugins.mantis.soap.mantis120.IssueNoteData - time_tracking
      at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
      at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
      at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
      at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
      at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
      at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
      at org.apache.axis.client.Call.invoke(Call.java:2467)
      ... 17 more

      Mar 30, 2010 11:00:45 AM hudson.plugins.mantis.soap.LogHandler
      FINE: Response: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://futureware.biz/mantisconnect"><SOAP-ENV:Body><ns1:mc_issue_getResponse xmlns:ns1="http://futureware.biz/mantisconnect"><return xsi:type="tns:IssueData"><id xsi:type="xsd:integer">7986</id><view_state xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">10</id><name xsi:type="xsd:string">public</name></view_state><last_updated xsi:type="xsd:dateTime">2010-03-25T15:53:40Z</last_updated><project xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">36</id><name xsi:type="xsd:string">Core</name></project><category xsi:type="xsd:string">Change</category><priority xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">30</id><name xsi:type="xsd:string">normal</name></priority><severity xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">50</id><name xsi:type="xsd:string">minor</name></severity><status xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">50</id><name xsi:type="xsd:string">assigned</name></status><reporter xsi:type="tns:AccountData"><id xsi:type="xsd:integer">9</id><name xsi:type="xsd:string">mhaket</name><real_name xsi:type="xsd:string">Martin Haket</real_name><email xsi:type="xsd:string">martin.haket@asml.com</email></reporter><summary xsi:type="xsd:string">Clean-up directory structure Cerberus SVN</summary><reproducibility xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">100</id><name xsi:type="xsd:string">N/A</name></reproducibility><date_submitted xsi:type="xsd:dateTime">2010-03-19T07:49:16Z</date_submitted><sponsorship_total xsi:type="xsd:integer">0</sponsorship_total><projection xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">10</id><name xsi:type="xsd:string">none</name></projection><eta xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">10</id><name xsi:type="xsd:string">none</name></eta><resolution xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">10</id><name xsi:type="xsd:string">open</name></resolution><description xsi:type="xsd:string">[list=1][*]move models directory one level up[*]remove unused libraries[/list]</description><attachments xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:AttachmentData[0]"></attachments><notes xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:IssueNoteData[1]"><item xsi:type="tns:IssueNoteData"><id xsi:type="xsd:integer">17387</id><reporter xsi:type="tns:AccountData"><id xsi:type="xsd:integer">680</id><name xsi:type="xsd:string">sasvn</name><real_name xsi:type="xsd:string">service account for mantis auth</real_name><email xsi:type="xsd:string">dl-cerberus@asml.com</email></reporter><text xsi:type="xsd:string">Integrated in Cerberus WWW 0_DEV:163 ( See http://cm-dev.asml.com:9000/job/Cerberus%20WWW%200_DEV/163/ ).

      Revision/Changeset: 2673
      Author: mhaket
      Log:
      Issue #7986: Clean-up directory structure Cerberus SVN
      Changed paths:
      D /0_DEV/WWW/library/Bvb/Controller/Plugin
      D /0_DEV/WWW/library/Bvb/Grid/Column.php
      M /0_DEV/WWW/public/index.php
      D /0_DEV/WWW/library/Bvb/Grid/Template/Ods/Ods.php
      D /0_DEV/WWW/library/Bvb/Grid/Template/Odt/Odt.php
      D /0_DEV/WWW/library/Bvb/Grid/Deploy
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/webSettings.xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Ods/Ods/content.xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Odt/Odt/content.xml
      D /0_DEV/WWW/application/models
      D /0_DEV/WWW/library/Bvb/Grid/Template/Ods/Ods/Thumbnails
      D /0_DEV/WWW/library/Bvb/Grid/ExtraColumns.php
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/[Content_Types].xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Print
      D /0_DEV/WWW/library/Bvb/Grid/Interface.php
      D /0_DEV/WWW/library/Bvb/Grid/Template/Odt/Odt/meta.xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Odt/Odt/mimetype
      D /0_DEV/WWW/library/Bvb/Grid/Template/Pdf
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/theme/_rels
      D /0_DEV/WWW/library/Bvb/Grid/Template/Ods/Ods/meta.xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Ods/Ods/mimetype
      D /0_DEV/WWW/library/Bvb/Grid/Filters.php
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/_rels
      D /0_DEV/WWW/library/Bvb/Grid/Formatter
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx.php
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/_rels
      D /0_DEV/WWW/library/Bvb/Grid/Form
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/theme/theme1.xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Odt/Odt/META-INF
      D /0_DEV/WWW/library/Bvb/Grid/Template/Ods/Ods/META-INF
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/footer1.xml
      D /0_DEV/WWW/library/Bvb/Grid/Source/Db
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/footer2.xml
      D /0_DEV/WWW/library/Bvb/Grid/Form.php
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/media
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/fontTable.xml
      A /0_DEV/WWW/models
      D /0_DEV/WWW/library/Bvb/Grid/Template/Word
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/header1.xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Odt/Odt/styles.xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/styles.xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Odt/Odt/settings.xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Table
      D /0_DEV/WWW/library/Bvb/Grid/Template/Ods/Ods/Configurations2/accelerator
      D /0_DEV/WWW/library/Bvb/Grid/Template/Ods/Ods/styles.xml
      D /0_DEV/WWW/library/Bvb/Grid/Template/Wordx/Wordx/word/settings.xml
      D /0_DEV/WWW/library/Bvb/Grid/DataGrid.php
      D /0_DEV/WWW/library/Bvb/Grid/Template/Ods/Ods/settings.xml
      D /0_DEV/WWW/library/Grid/Template

      </text><view_state xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">10</id><name xsi:type="xsd:string">public</name></view_state><date_submitted xsi:type="xsd:dateTime">2010-03-19T09:30:58Z</date_submitted><last_modified xsi:type="xsd:dateTime">2010-03-19T09:30:58Z</last_modified><time_tracking xsi:type="xsd:integer">0</time_tracking></item></notes><custom_fields xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:CustomFieldValueForIssueData[1]"><item xsi:type="tns:CustomFieldValueForIssueData"><field xsi:type="tns:ObjectRef"><id xsi:type="xsd:integer">39</id><name xsi:type="xsd:string">Est days work</name></field><value xsi:type="xsd:string">0.5</value></item></custom_fields><due_date xsi:nil="true" xsi:type="xsd:dateTime"/></return></ns1:mc_issue_getResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

      Mar 30, 2010 11:00:45 AM hudson.plugins.mantis.soap.LogHandler
      FINE: Request: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
      <ns1:mc_issue_get soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://futureware.biz/mantisconnect">
      <username xsi:type="xsd:string">sasvn</username>
      <password xsi:type="xsd:string">S@svn@ttrib!</password>
      <issue_id xsi:type="xsd:integer">7986</issue_id>
      </ns1:mc_issue_get>
      </soapenv:Body>
      </soapenv:Envelope>

      Mar 30, 2010 11:00:45 AM hudson.plugins.mantis.soap.LogHandler
      FINE: Response: (null)

      Mar 30, 2010 11:00:45 AM hudson.plugins.mantis.soap.LogHandler
      FINE: Request: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
      <ns1:mc_issue_get soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://futureware.biz/mantisconnect">
      <username xsi:type="xsd:string">sasvn</username>
      <password xsi:type="xsd:string">S@svn@ttrib!</password>
      <issue_id xsi:type="xsd:integer">7986</issue_id>
      </ns1:mc_issue_get>
      </soapenv:Body>
      </soapenv:Envelope>

      Mar 30, 2010 11:00:43 AM hudson.plugins.mantis.soap.mantis120.MantisSessionImpl
      INFO: Mantis version is 1.2.X

        Attachments

          Activity

          Hide
          mhaket mhaket added a comment -

          We investigated this issue a little bit further yesterday and what we see is that the SOAP message returned by Mantis 1.2.x is not inline with the wsd issued by http://www.futureware.biz/mantisconnect/. We explicitly disabled timetracking in mantis but this has no impact on the SOAP message returned by mantisconnect.

          Show
          mhaket mhaket added a comment - We investigated this issue a little bit further yesterday and what we see is that the SOAP message returned by Mantis 1.2.x is not inline with the wsd issued by http://www.futureware.biz/mantisconnect/ . We explicitly disabled timetracking in mantis but this has no impact on the SOAP message returned by mantisconnect.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : sogabe
          Path:
          trunk/hudson/plugins/mantis/pom.xml
          trunk/hudson/plugins/mantis/src/main/java/hudson/plugins/mantis/changeset/ChangeSetFactory.java
          trunk/hudson/plugins/mantis/src/main/resources/hudson/plugins/mantis/MantisProjectProperty/global.properties
          trunk/hudson/plugins/mantis/src/main/resources/hudson/plugins/mantis/MantisProjectProperty/global_ja.properties
          trunk/hudson/plugins/mantis/src/main/wsdl/mantis120.wsdl
          http://jenkins-ci.org/commit/29743
          Log:
          [FIXED JENKINS-6114]

          • Updated wsdl to support Mantis 1.2.0.
          • bumped related plugins.
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : sogabe Path: trunk/hudson/plugins/mantis/pom.xml trunk/hudson/plugins/mantis/src/main/java/hudson/plugins/mantis/changeset/ChangeSetFactory.java trunk/hudson/plugins/mantis/src/main/resources/hudson/plugins/mantis/MantisProjectProperty/global.properties trunk/hudson/plugins/mantis/src/main/resources/hudson/plugins/mantis/MantisProjectProperty/global_ja.properties trunk/hudson/plugins/mantis/src/main/wsdl/mantis120.wsdl http://jenkins-ci.org/commit/29743 Log: [FIXED JENKINS-6114] Updated wsdl to support Mantis 1.2.0. bumped related plugins.

            People

            Assignee:
            sogabe sogabe
            Reporter:
            mhaket mhaket
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: