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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • vss-plugin
    • None
    • Platform: PC, OS: Windows NT

      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

          [JENKINS-2665] ClassCastException when VSS plugin is used to get the latest from the VSS repository

          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/

          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/

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

              Created:
              Updated:
              Resolved: