java.lang.NullPointerException

Jenkins JIRA | ruiling huang | 2 years ago
  1. 0

    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

    Jenkins JIRA | 2 years ago | ruiling huang
    java.lang.NullPointerException
  2. 0

    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

    Jenkins JIRA | 2 years ago | ruiling huang
    java.lang.NullPointerException
  3. 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.scm.SVNRevisionState.getRevision()
    2. Hudson
      SVNRevisionState.getRevision
      1. hudson.scm.SVNRevisionState.getRevision(SVNRevisionState.java:24)
      1 frame
    3. jenkins.plugins.svnmerge
      IntegrationPublisher.perform
      1. jenkins.plugins.svnmerge.IntegrateAction.getSvnInfo(IntegrateAction.java:149)
      2. jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:165)
      3. jenkins.plugins.svnmerge.IntegrationPublisher.perform(IntegrationPublisher.java:51)
      3 frames
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
      4. hudson.model.Build$BuildExecution.post2(Build.java:183)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
      6. hudson.model.Run.execute(Run.java:1743)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:89)
      9. hudson.model.Executor.run(Executor.java:240)
      9 frames