java.lang.NullPointerException

Jenkins JIRA | Björn Peemöller | 2 years ago
  1. 0

    Hi, after installation of version 1.613 Jenkins fails to load a project with the following output: {code} May 15, 2015 9:54:45 AM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job web-piraten java.lang.NullPointerException at hudson.matrix.MatrixProject.createTransientActions(MatrixProject.java:446) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:748) at hudson.matrix.MatrixProject.updateTransientActions(MatrixProject.java:456) at hudson.model.AbstractProject.onLoad(AbstractProject.java:333) at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:497) at hudson.model.Items.load(Items.java:322) at jenkins.model.Jenkins$17.run(Jenkins.java:2655) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code} I tried a manual downgrade to Jenkins 1.612, where no exception was thrown, but the job couldn't be accessed either!? The jobs' config.xml is the following: {code} <?xml version='1.0' encoding='UTF-8'?> <matrix-project plugin="matrix-project@1.3"> <actions/> <description>Automatisches Deployment der Web-Piraten</description> <keepDependencies>false</keepDependencies> <properties/> <scm class="hudson.plugins.git.GitSCM" plugin="git@2.0"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> <url>ssh://git@server.com/repo.git</url> </hudson.plugins.git.UserRemoteConfig> </userRemoteConfigs> <branches> <hudson.plugins.git.BranchSpec> <name>master</name> </hudson.plugins.git.BranchSpec> </branches> <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> <submoduleCfg class="list"/> <extensions/> </scm> <canRoam>true</canRoam> <disabled>true</disabled> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> <triggers> <hudson.triggers.SCMTrigger> <spec># every 5 minutes H/5 * * * *</spec> <ignorePostCommitHooks>false</ignorePostCommitHooks> </hudson.triggers.SCMTrigger> </triggers> <concurrentBuild>false</concurrentBuild> <axes/> <builders> <hudson.tasks.Shell> <command>bundle install cap production deploy</command> </hudson.tasks.Shell> </builders> <publishers> <hudson.tasks.Mailer plugin="mailer@1.5"> <recipients>alice@mail.com bob@mail.com</recipients> <dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild> <sendToIndividuals>false</sendToIndividuals> </hudson.tasks.Mailer> </publishers> </matrix-project> {code} Please do not hesitate to ask for additional information if you need some.

    Jenkins JIRA | 2 years ago | Björn Peemöller
    java.lang.NullPointerException
  2. 0

    Hi, after installation of version 1.613 Jenkins fails to load a project with the following output: {code} May 15, 2015 9:54:45 AM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job web-piraten java.lang.NullPointerException at hudson.matrix.MatrixProject.createTransientActions(MatrixProject.java:446) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:748) at hudson.matrix.MatrixProject.updateTransientActions(MatrixProject.java:456) at hudson.model.AbstractProject.onLoad(AbstractProject.java:333) at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:497) at hudson.model.Items.load(Items.java:322) at jenkins.model.Jenkins$17.run(Jenkins.java:2655) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code} I tried a manual downgrade to Jenkins 1.612, where no exception was thrown, but the job couldn't be accessed either!? The jobs' config.xml is the following: {code} <?xml version='1.0' encoding='UTF-8'?> <matrix-project plugin="matrix-project@1.3"> <actions/> <description>Automatisches Deployment der Web-Piraten</description> <keepDependencies>false</keepDependencies> <properties/> <scm class="hudson.plugins.git.GitSCM" plugin="git@2.0"> <configVersion>2</configVersion> <userRemoteConfigs> <hudson.plugins.git.UserRemoteConfig> <url>ssh://git@server.com/repo.git</url> </hudson.plugins.git.UserRemoteConfig> </userRemoteConfigs> <branches> <hudson.plugins.git.BranchSpec> <name>master</name> </hudson.plugins.git.BranchSpec> </branches> <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> <submoduleCfg class="list"/> <extensions/> </scm> <canRoam>true</canRoam> <disabled>true</disabled> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> <triggers> <hudson.triggers.SCMTrigger> <spec># every 5 minutes H/5 * * * *</spec> <ignorePostCommitHooks>false</ignorePostCommitHooks> </hudson.triggers.SCMTrigger> </triggers> <concurrentBuild>false</concurrentBuild> <axes/> <builders> <hudson.tasks.Shell> <command>bundle install cap production deploy</command> </hudson.tasks.Shell> </builders> <publishers> <hudson.tasks.Mailer plugin="mailer@1.5"> <recipients>alice@mail.com bob@mail.com</recipients> <dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild> <sendToIndividuals>false</sendToIndividuals> </hudson.tasks.Mailer> </publishers> </matrix-project> {code} Please do not hesitate to ask for additional information if you need some.

    Jenkins JIRA | 2 years ago | Björn Peemöller
    java.lang.NullPointerException
  3. 0

    Upgrading to v1.473 has broken all my matrix jobs

    Google Groups | 4 years ago | Thomas Fields
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NPE in Matrix job

    Google Groups | 4 years ago | Andrew Melo
    java.lang.NullPointerException
  6. 0

    Update to 1.473 breaks matrix jobs

    Google Groups | 4 years ago | wohauser
    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.matrix.MatrixProject.createTransientActions()
    2. Hudson
      Items.load
      1. hudson.matrix.MatrixProject.createTransientActions(MatrixProject.java:446)
      2. hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:748)
      3. hudson.matrix.MatrixProject.updateTransientActions(MatrixProject.java:456)
      4. hudson.model.AbstractProject.onLoad(AbstractProject.java:333)
      5. hudson.matrix.MatrixProject.onLoad(MatrixProject.java:497)
      6. hudson.model.Items.load(Items.java:322)
      6 frames
    3. jenkins.model
      Jenkins$17.run
      1. jenkins.model.Jenkins$17.run(Jenkins.java:2655)
      1 frame
    4. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      2 frames
    5. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
      1 frame
    6. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      2 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames