-
Bug
-
Resolution: Fixed
-
Critical
-
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!)