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

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

      As mentionned by hcguersoy in this comment.

      svnmerge plugin version 2.5 and subversion plugin version 2.5.
      The Integration Publisher fails with a NPE in SVNRevisionState.getRevision.

      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)
      

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

          hcguersoy added a comment -

          Hi,

          if you need more information, logfiles or something else pls don't hesitate to ask me.

          Some more additional info:

          • Runs on Ubuntu 12.04
          • SVN 1.6
          • Jenkins 1.580.2
          • Build on Slaves

          hcguersoy added a comment - Hi, if you need more information, logfiles or something else pls don't hesitate to ask me. Some more additional info: Runs on Ubuntu 12.04 SVN 1.6 Jenkins 1.580.2 Build on Slaves

          Alex Ouzounis added a comment -

          Hi all,

          I had the same issues, it ended up being unresolved vars in the SVNUrl.
          I would suggest you use the script console to see the SVNUrl returned.

          Are you using the inheritance plugin by any chance?

          Alex

          Alex Ouzounis added a comment - Hi all, I had the same issues, it ended up being unresolved vars in the SVNUrl. I would suggest you use the script console to see the SVNUrl returned. Are you using the inheritance plugin by any chance? Alex

          hcguersoy added a comment -

          Hi Alex,

          no, don't using the inheritance plugin. We're using the Parameterized Trigger Plugin, setting the SVN revision for the branch. The initial SVN checkout works fine without errors running after this into the error:

          <snip long svn output>
           U        .
          At revision 19854
          ERROR: Publisher jenkins.plugins.svnmerge.IntegrationPublisher aborted due to exception
          java.lang.NullPointerException
          

          hcguersoy added a comment - Hi Alex, no, don't using the inheritance plugin. We're using the Parameterized Trigger Plugin, setting the SVN revision for the branch. The initial SVN checkout works fine without errors running after this into the error: <snip long svn output> U . At revision 19854 ERROR: Publisher jenkins.plugins.svnmerge.IntegrationPublisher aborted due to exception java.lang.NullPointerException

            schristou Steven Christou
            hugueschabot Hugues Chabot
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: