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.

  • After upgrading from 1.504 to 1.507, all our Matrix jobs are failing to load with this message and NullPointerException: SEVERE: Failed Loading job BPS 2.4-branch VC++ Matrix java.lang.NullPointerException at hudson.matrix.MatrixProject.getItem(MatrixProject.java:669) at hudson.matrix.MatrixProject.getItem(MatrixProject.java:662) at hudson.matrix.MatrixProject.getItem(MatrixProject.java:98) at hudson.model.AbstractProject.onLoad(AbstractProject.java:291) at hudson.model.Project.onLoad(Project.java:83) at hudson.matrix.MatrixConfiguration.onLoad(MatrixConfiguration.java:89) at hudson.matrix.MatrixProject.loadConfigurations(MatrixProject.java:541) at hudson.matrix.MatrixProject.loadConfigurations(MatrixProject.java:548) at hudson.matrix.MatrixProject.loadConfigurations(MatrixProject.java:548) at hudson.matrix.MatrixProject.rebuildConfigurations(MatrixProject.java:585) at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:476) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$17.run(Jenkins.java:2552) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:887) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 25-03-2013 08:38:06 jenkins.InitReactorRunner$1 onTaskFailed Configuration file attached.
    via by Lars Christensen,
  • After upgrading from 1.504 to 1.507, all our Matrix jobs are failing to load with this message and NullPointerException: SEVERE: Failed Loading job BPS 2.4-branch VC++ Matrix java.lang.NullPointerException at hudson.matrix.MatrixProject.getItem(MatrixProject.java:669) at hudson.matrix.MatrixProject.getItem(MatrixProject.java:662) at hudson.matrix.MatrixProject.getItem(MatrixProject.java:98) at hudson.model.AbstractProject.onLoad(AbstractProject.java:291) at hudson.model.Project.onLoad(Project.java:83) at hudson.matrix.MatrixConfiguration.onLoad(MatrixConfiguration.java:89) at hudson.matrix.MatrixProject.loadConfigurations(MatrixProject.java:541) at hudson.matrix.MatrixProject.loadConfigurations(MatrixProject.java:548) at hudson.matrix.MatrixProject.loadConfigurations(MatrixProject.java:548) at hudson.matrix.MatrixProject.rebuildConfigurations(MatrixProject.java:585) at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:476) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$17.run(Jenkins.java:2552) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:887) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 25-03-2013 08:38:06 jenkins.InitReactorRunner$1 onTaskFailed Configuration file attached.
    via by Lars Christensen,
  • NPE in Matrix job
    via by Andrew Melo,
  • Update to 1.473 breaks matrix jobs
    via by wohauser,
  • 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.
    via by Björn Peemöller,
  • 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.
    via by Björn Peemöller,
    • java.lang.NullPointerException at hudson.matrix.MatrixProject.getItem(MatrixProject.java:669) at hudson.matrix.MatrixProject.getItem(MatrixProject.java:662) at hudson.matrix.MatrixProject.getItem(MatrixProject.java:98) at hudson.model.AbstractProject.onLoad(AbstractProject.java:291) at hudson.model.Project.onLoad(Project.java:83) at hudson.matrix.MatrixConfiguration.onLoad(MatrixConfiguration.java:89) at hudson.matrix.MatrixProject.loadConfigurations(MatrixProject.java:541) at hudson.matrix.MatrixProject.loadConfigurations(MatrixProject.java:548) at hudson.matrix.MatrixProject.loadConfigurations(MatrixProject.java:548) at hudson.matrix.MatrixProject.rebuildConfigurations(MatrixProject.java:585) at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:476) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$17.run(Jenkins.java:2552) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:887) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
    No Bugmate found.