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

Error when using Integrate to upstream upon successful build on branch project

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • svnmerge-plugin
    • None
    • windows seven
      jdk 1.6
      tomcat 6

      When using option to integrate to upstream after a successful build build of project failed with this error :

      [JENKINS] Archiving C:\Users\joffroy\.jenkins\workspace\ProjetSpringWTP01-ProjetSpringWTP01_branche1\ProjetSpringWTP01_branche1\target\ProjetSpringWTP01.war to C:\Users\joffroy\.jenkins\jobs\ProjetSpringWTP01-ProjetSpringWTP01_branche1\modules\fr.offroy$ProjetSpringWTP01\builds\2011-09-04_22-28-44\archive\fr.offroy\ProjetSpringWTP01\1.0.1-SNAPSHOT\ProjetSpringWTP01-1.0.1-SNAPSHOT.war
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4 seconds
      [INFO] Finished at: Sun Sep 04 22:28:51 CEST 2011
      [INFO] Final Memory: 17M/41M
      [INFO] ------------------------------------------------------------------------
      channel stopped
      ERROR: Publisher jenkins.plugins.svnmerge.IntegrationPublisher aborted due to exception
      java.lang.NullPointerException
      at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:131)
      at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:120)
      at jenkins.plugins.svnmerge.IntegrationPublisher.perform(IntegrationPublisher.java:47)
      at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:958)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604)
      at hudson.model.Run.run(Run.java:1401)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:479)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:230)
      Sending e-mails to: jerome.offroy@gmail.com
      Finished: FAILURE

          [JENKINS-10893] Error when using Integrate to upstream upon successful build on branch project

          javydreamercsw added a comment - - edited

          I have the same issue. It was successful once and then failed afterwards.

          Any work around/fix?

          javydreamercsw added a comment - - edited I have the same issue. It was successful once and then failed afterwards. Any work around/fix?

          I thought it was the same issue but after reviewing the stack trace I opened a different issue: https://issues.jenkins-ci.org/browse/JENKINS-16723

          javydreamercsw added a comment - I thought it was the same issue but after reviewing the stack trace I opened a different issue: https://issues.jenkins-ci.org/browse/JENKINS-16723

          chirag Patel added a comment -

          I have same issue any work around for these issue

          chirag Patel added a comment - I have same issue any work around for these issue

          Hugues Chabot added a comment -

          Is this bug still in version 1.2 ?

          Hugues Chabot added a comment - Is this bug still in version 1.2 ?

          hcguersoy added a comment -

          Hi,

          have the same issue here with merge plugin ver. 2.5 and svn plugin version 2.5.
          Its not the exact same stacktrace maybe to different versions

          ERROR: Publisher jenkins.plugins.svnmerge.IntegrationPublisher aborted due to exception
          java.lang.NullPointerException
          	at hudson.scm.SVNRevisionState.getRevision(SVNRevisionState.java:24)
          	at jenkins.plugins.svnmerge.IntegrateAction.getSvnInfo(IntegrateAction.java:149)
          	at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:165)
          	at jenkins.plugins.svnmerge.IntegrationPublisher.perform(IntegrationPublisher.java:51)
          	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
          	at hudson.model.Build$BuildExecution.post2(Build.java:183)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
          	at hudson.model.Run.execute(Run.java:1770)
          	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          	at hudson.model.ResourceController.execute(ResourceController.java:89)
          	at hudson.model.Executor.run(Executor.java:240)
          

          hcguersoy added a comment - Hi, have the same issue here with merge plugin ver. 2.5 and svn plugin version 2.5. Its not the exact same stacktrace maybe to different versions ERROR: Publisher jenkins.plugins.svnmerge.IntegrationPublisher aborted due to exception java.lang.NullPointerException at hudson.scm.SVNRevisionState.getRevision(SVNRevisionState.java:24) at jenkins.plugins.svnmerge.IntegrateAction.getSvnInfo(IntegrateAction.java:149) at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:165) at jenkins.plugins.svnmerge.IntegrationPublisher.perform(IntegrationPublisher.java:51) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1770) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)

          Hugues Chabot added a comment -

          This is not the same issue. I created JENKINS-26771 for your issue.

          Hugues Chabot added a comment - This is not the same issue. I created JENKINS-26771 for your issue.

            hugueschabot Hugues Chabot
            joffroy offroy jerome
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: