java.lang.NullPointerException

Jenkins JIRA | Jackey Cheung | 2 years ago
  1. 0

    There is no "Integrate Branch" action in any of feature branches' builds. The following are from `svn info`: dev1: Path: . Working Copy Root Path: /var/lib/jenkins/jobs/xxxx-dev1/workspace URL: https://192.168.3.15/svn/xxxx/branches/dev1 Repository Root: https://192.168.3.15/svn/xxxx Repository UUID: d0eb5361-05ce-7c4b-8453-cbb3c9b96fe4 Revision: 131 Node Kind: directory Schedule: normal trunk: Path: . Working Copy Root Path: /var/lib/jenkins/jobs/xxxx/workspace URL: https://192.168.3.15/svn/xxxx/trunk Repository Root: https://192.168.3.15/svn/xxxx Repository UUID: d0eb5361-05ce-7c4b-8453-cbb3c9b96fe4 Revision: 129 Node Kind: directory Schedule: normal What I've done was create a Jenkins job for the trunk. Then create a the dev1 branch in Feature Branches. Then make a change to the README.md, perform a build, all on dev1. Then go to last build. Yet can't see the Integrate Branch action. Not sure if it's related, I've tried adding the Integrate to upstream upon successful build post-build action, and got an exception at the end of a (successful) build: ERROR: Publisher jenkins.plugins.svnmerge.IntegrationPublisher aborted due to exception java.lang.NullPointerException at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:183) at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:172) 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:1784) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) I've double checked the Upstream project name is correct. Also, the branch job is created with "Feature Branch". In the "Configure" of branch job: "This project builds a Subversion feature branch" is checked; "Upstream project name" is "xxxx". In the Status page of branch job: "Subversion Merge Tracking This project is a feature branch of xxxx" Clicking the job link goes to the master job "xxxx", as expected. In the "Configure" of master job: "Accept Integration from Subversion feature branches" is checked. In the "Feature Branches" of master job: "Existing Feature Branches xxxx-dev1" Clicking the job name goes to the branch job, as expected. The svn repo is a fresh one, just for trying out the Jenkins. There is no other sources in it. I've double checked with: svn propget svn:externals Which returns empty.

    Jenkins JIRA | 2 years ago | Jackey Cheung
    java.lang.NullPointerException
  2. 0

    There is no "Integrate Branch" action in any of feature branches' builds. The following are from `svn info`: dev1: Path: . Working Copy Root Path: /var/lib/jenkins/jobs/xxxx-dev1/workspace URL: https://192.168.3.15/svn/xxxx/branches/dev1 Repository Root: https://192.168.3.15/svn/xxxx Repository UUID: d0eb5361-05ce-7c4b-8453-cbb3c9b96fe4 Revision: 131 Node Kind: directory Schedule: normal trunk: Path: . Working Copy Root Path: /var/lib/jenkins/jobs/xxxx/workspace URL: https://192.168.3.15/svn/xxxx/trunk Repository Root: https://192.168.3.15/svn/xxxx Repository UUID: d0eb5361-05ce-7c4b-8453-cbb3c9b96fe4 Revision: 129 Node Kind: directory Schedule: normal What I've done was create a Jenkins job for the trunk. Then create a the dev1 branch in Feature Branches. Then make a change to the README.md, perform a build, all on dev1. Then go to last build. Yet can't see the Integrate Branch action. Not sure if it's related, I've tried adding the Integrate to upstream upon successful build post-build action, and got an exception at the end of a (successful) build: ERROR: Publisher jenkins.plugins.svnmerge.IntegrationPublisher aborted due to exception java.lang.NullPointerException at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:183) at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:172) 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:1784) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) I've double checked the Upstream project name is correct. Also, the branch job is created with "Feature Branch". In the "Configure" of branch job: "This project builds a Subversion feature branch" is checked; "Upstream project name" is "xxxx". In the Status page of branch job: "Subversion Merge Tracking This project is a feature branch of xxxx" Clicking the job link goes to the master job "xxxx", as expected. In the "Configure" of master job: "Accept Integration from Subversion feature branches" is checked. In the "Feature Branches" of master job: "Existing Feature Branches xxxx-dev1" Clicking the job name goes to the branch job, as expected. The svn repo is a fresh one, just for trying out the Jenkins. There is no other sources in it. I've double checked with: svn propget svn:externals Which returns empty.

    Jenkins JIRA | 2 years ago | Jackey Cheung
    java.lang.NullPointerException
  3. 0

    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 JIRA | 5 years ago | offroy jerome
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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 JIRA | 5 years ago | offroy jerome
    java.lang.NullPointerException
  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 jenkins.plugins.svnmerge.IntegrateAction.perform()
    2. jenkins.plugins.svnmerge
      IntegrationPublisher.perform
      1. jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:183)
      2. jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:172)
      3. jenkins.plugins.svnmerge.IntegrationPublisher.perform(IntegrationPublisher.java:51)
      3 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      4. hudson.model.Build$BuildExecution.post2(Build.java:183)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
      6. hudson.model.Run.execute(Run.java:1784)
      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