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

Java Exception when the Issue has an attached file

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • mantis-plugin
    • None
    • Mantis 1.2.5
      Jenkins Mantis Plugin 0.10.1

      The following exception is retrieved using the Mantis Plugin in Hudson when the issue has an attached file:
      .......................
      Failed to add note to Mantis issue #hudson.plugins.mantis.changeset.SubversionChangeSet@f3cab6.
      hudson.plugins.mantis.MantisHandlingException: org.apache.axis.types.URI$MalformedURIException: Path contains invalid character: \
      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:53)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:622)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:579)
      at hudson.model.Build$RunnerImpl.post2(Build.java:156)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:548)
      at hudson.model.Run.run(Run.java:1386)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)

          [JENKINS-9552] Java Exception when the Issue has an attached file

          sogabe added a comment -

          sogabe added a comment - See http://www.mantisbt.org/bugs/view.php?id=12794

          sogabe added a comment -

          rombert said

          I am the current maintainer of the SOAP API for MantisBT . A user has recently reported that since upgrading to MantisBT 1.2.5 the Jenkins plugin does not work anymore. The fix is pretty simple - regenerate the stubs, the changes are backwards-compatible.

          sogabe added a comment - rombert said I am the current maintainer of the SOAP API for MantisBT . A user has recently reported that since upgrading to MantisBT 1.2.5 the Jenkins plugin does not work anymore. The fix is pretty simple - regenerate the stubs, the changes are backwards-compatible.

          Code changed in jenkins
          User: Seiji Sogabe
          Path:
          src/main/wsdl/mantis120.wsdl
          http://jenkins-ci.org/commit/mantis-plugin/92c503027c9d9b49f58d505c95b50e6f18fe5f4f
          Log:
          JENKINS-9552 updated wsdl to regenerate stubs.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: src/main/wsdl/mantis120.wsdl http://jenkins-ci.org/commit/mantis-plugin/92c503027c9d9b49f58d505c95b50e6f18fe5f4f Log: JENKINS-9552 updated wsdl to regenerate stubs.

          Code changed in jenkins
          User: Seiji Sogabe
          Path:
          src/test/java/hudson/plugins/mantis/MantisSiteTest.java
          http://jenkins-ci.org/commit/mantis-plugin/6b6b983e1e2c5fd5f02a7343426d4df85b59c8f7
          Log:
          JENKINS-9552 added Test.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: src/test/java/hudson/plugins/mantis/MantisSiteTest.java http://jenkins-ci.org/commit/mantis-plugin/6b6b983e1e2c5fd5f02a7343426d4df85b59c8f7 Log: JENKINS-9552 added Test.

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

              Created:
              Updated:
              Resolved: