java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • In order to make Jenkins do integration automatically,I enable "Integarate to upstream upon successful build" of Post-build Actions in a project.And it reminds that this "Integarate to upstream upon successful build" option is used in conjunction with the "Enable Subversion Merge Tracking" option (which appears early in the configuration.) But actually I can not find the option "Enable Subversion Merge Tracking" in the configuration.So when I enable "Integarate to upstream upon successful build" of Post-build Actions in a project, the project will build failed like this: ERROR: Build step failed with 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:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1743) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Build step 'Integrate to upstream upon successful build' marked build as failure Finished: FAILURE
    via by ruiling huang,
  • In order to make Jenkins do integration automatically,I enable "Integarate to upstream upon successful build" of Post-build Actions in a project.And it reminds that this "Integarate to upstream upon successful build" option is used in conjunction with the "Enable Subversion Merge Tracking" option (which appears early in the configuration.) But actually I can not find the option "Enable Subversion Merge Tracking" in the configuration.So when I enable "Integarate to upstream upon successful build" of Post-build Actions in a project, the project will build failed like this: ERROR: Build step failed with 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:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1743) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Build step 'Integrate to upstream upon successful build' marked build as failure Finished: FAILURE
    via by ruiling huang,
    • 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)
    No Bugmate found.