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

SubversionChangeLogSet$LogEntry cannot be cast to BazaarChangeSet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • bazaar-plugin
    • None
    • Hudson Bazaar plugin 1.1 + maven + SVN

      When using both the Bazaar (1.0+) and SVN plugins on hudson, some of our maven builds that update from SVN fail with the following error:

      FATAL: hudson.scm.SubversionChangeLogSet$LogEntry cannot be cast to hudson.plugins.bazaar.BazaarChangeSet
      java.lang.ClassCastException: hudson.scm.SubversionChangeLogSet$LogEntry cannot be cast to hudson.plugins.bazaar.BazaarChangeSet
      at hudson.plugins.bazaar.BazaarTagAction$BazaarTagListener.onChangeLogParsed(BazaarTagAction.java:160)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:488)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:412)
      at hudson.model.Run.run(Run.java:1362)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:401)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)

      Only every second build fails - that's probably because the SVN update succeeds, so for every other build it doesn't need update.

      From the stack trace I assume something nasty (a singleton?) has happened when the BazaarTagAction was registered (these jobs have nothing to do with Bazaar!)

            kgeri kgeri
            kgeri kgeri
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: