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

ClassCastException when VSS plugin is used to get the latest from the VSS repository

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Component/s: vss-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Windows NT
    • Similar Issues:

      Description

      Hi,

      I am using Hudson 1.261 for CI in our project. Our source code repository is in
      Microsoft VSS. However when the job is run with VSS configured, it gives the
      following exception.

      started
      FATAL: hudson.maven.MavenModuleSetBuild
      java.lang.ClassCastException: hudson.maven.MavenModuleSetBuild
      at scm.vss.VSSSCM.checkout(VSSSCM.java:227)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:666)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:261)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:235)
      at hudson.model.Run.run(Run.java:817)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:89)

      Please provide a solution to this.

      Thanks in advance,
      Shashi

        Attachments

          Issue Links

            Activity

            Hide
            evernat evernat added a comment -

            Reading the source code [1], it seems that this issue has already been fixed in the 1.3 release of the vss plugin, in the same way that JENKINS-5404 has been fixed (by casting to AbstractBuild)
            [1] https://svn.jenkins-ci.org/trunk/hudson/plugins/vss/src/main/java/scm/vss/

            Show
            evernat evernat added a comment - Reading the source code [1] , it seems that this issue has already been fixed in the 1.3 release of the vss plugin, in the same way that JENKINS-5404 has been fixed (by casting to AbstractBuild) [1] https://svn.jenkins-ci.org/trunk/hudson/plugins/vss/src/main/java/scm/vss/

              People

              • Assignee:
                Unassigned
                Reporter:
                shashiatjavadotnet shashiatjavadotnet
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: