-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Mac OS X Server 10.7.4, Jenkins 1.473, Rational Team Concert Plugin 0.3, RTC / Jazz 2.0.0.2iFix5
Jenkins repository task fails when changes have been accepted in a stream but not yet accepted. A NullPointerException is thrown from the JazzChangeSet.copyItemsFrom(...) method: see the stack trace below.
It would be far better to allow the plugin to just log a warning and ignore this error, or wrap this exception in a more significant and detailed Exception. It would be nice to be able to set the behavior in the plugin settings.
10 juil. 2012 14:30:04 com.ibm.team.filesystem.client.internal.http.HttpConnection readNextRequest INFO: Handling request: /service/com.ibm.team.filesystem.client.rest.IFilesystemRestClient/WorkspaceUpdate Espace de travail inchangé. FATAL: null java.lang.NullPointerException at com.deluan.jenkins.plugins.rtc.changelog.JazzChangeSet.copyItemsFrom(JazzChangeSet.java:150) at com.deluan.jenkins.plugins.rtc.JazzClient.accept(JazzClient.java:112) at com.deluan.jenkins.plugins.rtc.JazzSCM.checkout(JazzSCM.java:104) at hudson.model.AbstractProject.checkout(AbstractProject.java:1249) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1488) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236)