looks like the latest update to this plugin or the github organization folder is causing NPEs all over the place for my org scans/event handling:

ERROR: Failed to create or update a subproject appc-studio-server
java.lang.NullPointerException
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.shouldUpdate(ComputedFolder.java:728)
at jenkins.branch.OrganizationFolder$SCMSourceObserverImpl$1.complete(OrganizationFolder.java:1290)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator.add(GitHubSCMNavigator.java:460)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator.visitSources(GitHubSCMNavigator.java:319)
at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:399)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:252)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:154)
at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:850)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)

Oh, and now it seems to be wiping out all the projects where the NPE is occurring...

Chris Williams
added a comment - 2017-03-08 18:40 - edited looks like the latest update to this plugin or the github organization folder is causing NPEs all over the place for my org scans/event handling:
ERROR: Failed to create or update a subproject appc-studio-server
java.lang.NullPointerException
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.shouldUpdate(ComputedFolder.java:728)
at jenkins.branch.OrganizationFolder$SCMSourceObserverImpl$1.complete(OrganizationFolder.java:1290)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator.add(GitHubSCMNavigator.java:460)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator.visitSources(GitHubSCMNavigator.java:319)
at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:399)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:252)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:154)
at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:850)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Oh, and now it seems to be wiping out all the projects where the NPE is occurring...

After doing a lot of backtracking to figure out what plugins I updated today and find the source of the issue, I can confirm that the 6.0.0 cloudbees-folder plugin introduces the NPE I see above, which is a major blocking bug - it breaks scans of repos on github and actually deletes the existing jobs/folders/projects for those repos.

Chris Williams
added a comment - 2017-03-08 19:27 After doing a lot of backtracking to figure out what plugins I updated today and find the source of the issue, I can confirm that the 6.0.0 cloudbees-folder plugin introduces the NPE I see above, which is a major blocking bug - it breaks scans of repos on github and actually deletes the existing jobs/folders/projects for those repos.