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

Config File Provider NPE on upgrade to 3.6.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      jenkins/jenkins:lts image (2.176.1) on CentOS 7 host
      Config File Provider 3.6.2
    • Similar Issues:

      Description

      When upgrading from 3.0 to 3.6.2 there's an NPE when loading a GitHub Organization:

      Jul 16, 2019 10:03:29 AM jenkins.InitReactorRunner$1 onTaskFailed
      SEVERE: Failed Loading item csullivannet
      java.lang.NullPointerException
      	at jenkins.branch.OrganizationFolder.onLoad(OrganizationFolder.java:214)
      	at hudson.model.Items.load(Items.java:373)
      	at jenkins.model.Jenkins$14.run(Jenkins.java:3162)
      	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
      	at jenkins.model.Jenkins$5.runTask(Jenkins.java:1091)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          It does not look like Config File provider is involvved here. Any evidence?

           

          Show
          oleg_nenashev Oleg Nenashev added a comment - It does not look like Config File provider is involvved here. Any evidence?  
          Hide
          csullivannet Christopher Sullivan added a comment - - edited

          All of my plugins are currently up to date, except for Config File Provider which is on 3.0. When I update Config File Provider to 3.6.2, this is the exception I get.

          Show
          csullivannet Christopher Sullivan added a comment - - edited All of my plugins are currently up to date, except for Config File Provider which is on 3.0 . When I update Config File Provider to 3.6.2 , this is the exception I get.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          https://github.com/jenkinsci/branch-api-plugin/blame/master/src/main/java/jenkins/branch/OrganizationFolder.java . Looks like "navigators" field is null due to whatever reason. 

           

          Christopher Sullivan any chance you use Configuration-as-code plugin or JobDSL? If so, please provide the config

          Show
          oleg_nenashev Oleg Nenashev added a comment - https://github.com/jenkinsci/branch-api-plugin/blame/master/src/main/java/jenkins/branch/OrganizationFolder.java  . Looks like "navigators" field is null due to whatever reason.    Christopher Sullivan any chance you use Configuration-as-code plugin or JobDSL? If so, please provide the config
          Hide
          csullivannet Christopher Sullivan added a comment -

          I'm not using CasC or DSL for this job, sorry.

          Show
          csullivannet Christopher Sullivan added a comment - I'm not using CasC or DSL for this job, sorry.
          Hide
          csullivannet Christopher Sullivan added a comment -

          Does the config.xml of the job help?

          Show
          csullivannet Christopher Sullivan added a comment - Does the config.xml of the job help?
          Hide
          csullivannet Christopher Sullivan added a comment - - edited

          I tried upgrading Jenkins to 2.185 and the issue persists.

          Show
          csullivannet Christopher Sullivan added a comment - - edited I tried upgrading Jenkins to 2.185 and the issue persists.

            People

            Assignee:
            domi Dominik Bartholdi
            Reporter:
            csullivannet Christopher Sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: