After upgrading to Hudson 1.339 and ClearCase Plugin 1.1 I got the following error after loading of all files from a snapshot view was finished:
Done loading "\EVTL_COMPS01\STM" (1565 objects, copied 11855 KB).
FATAL: null
java.lang.NullPointerException
at hudson.plugins.clearcase.ClearCaseUcmSCM.getBranchNames(ClearCaseUcmSCM.java:120)
at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:424)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1013)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:486)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:412)
at hudson.model.Run.run(Run.java:1179)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)
I have no idea what the reason could be. I will go back to clearcase version 1.0.2. There I don't see this issue.
Ah, I see it. We added a new optional config variable, but in existing setups, it wouldn't be initialized. Committing a fix now.