NPE if Buildsnumbers are not configured wrong

XMLWordPrintable

      builds are added at the end of the build with the buildinfo file mechanism (but with an old version number). checking the build number with the new (correct version with hudson results to the following:

      java.lang.NullPointerException
      at hudson.plugins.sctmexecutor.service.SCTMService.buildNumberExists(SCTMService.java:229)
      at hudson.plugins.sctmexecutor.service.SCTMReRunProxy.doBuildNumberExists(SCTMReRunProxy.java:131)
      at hudson.plugins.sctmexecutor.service.SCTMReRunProxy.buildNumberExists(SCTMReRunProxy.java:126)
      at hudson.plugins.sctmexecutor.SCTMExecutor.getOrAddBuildNumber(SCTMExecutor.java:177)
      at hudson.plugins.sctmexecutor.SCTMExecutor.perform(SCTMExecutor.java:135)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.Build$RunnerImpl.build(Build.java:174)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:138)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      at hudson.model.Run.run(Run.java:1257)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:127)

            Assignee:
            Thomas Fürer
            Reporter:
            tofuAtjava
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: