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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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)
      

        Attachments

          Issue Links

            Activity

            Hide
            hcguersoy 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
            Show
            hcguersoy 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
            Hide
            alex_ouzounis 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

            Show
            alex_ouzounis 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
            Hide
            hcguersoy 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
            
            Show
            hcguersoy 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

              People

              • Assignee:
                schristou Steven Christou
                Reporter:
                hugueschabot Hugues Chabot
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: