Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28417

NullPointerException in hudson.matrix.MatrixProject.createTransientActions

XMLWordPrintable

      Hi, after installation of version 1.613 Jenkins fails to load a project with the following output:

      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)
      

      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:

      <?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>
      

      Please do not hesitate to ask for additional information if you need some.

        1. config.xml
          9 kB
          Alastair D'Silva

            Unassigned Unassigned
            bjp Björn Peemöller
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: