Details

    • Similar Issues:

      Description

      After Kohsuke Kawaguchi's work on github-organization-folder, we get

      java.lang.NullPointerException
      	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getView(AbstractFolder.java:380)
      	at org.jenkinsci.plugins.orgfolder.github.MainLogic.applyRepo(MainLogic.java:121)
      	at org.jenkinsci.plugins.orgfolder.github.ItemListenerImpl.maybeApply(ItemListenerImpl.java:44)
      	at org.jenkinsci.plugins.orgfolder.github.ItemListenerImpl.onUpdated(ItemListenerImpl.java:27)
      	at hudson.model.listeners.ItemListener$3.apply(ItemListener.java:195)
      	at hudson.model.listeners.ItemListener$3.apply(ItemListener.java:193)
      	at hudson.model.listeners.ItemListener.forAll(ItemListener.java:167)
      	at hudson.model.listeners.ItemListener.fireOnUpdated(ItemListener.java:193)
      	at com.cloudbees.hudson.plugins.folder.AbstractFolder.save(AbstractFolder.java:646)
      	at hudson.model.View.save(View.java:334)
      	at com.cloudbees.hudson.plugins.folder.AbstractFolder.initViews(AbstractFolder.java:236)
      	at com.cloudbees.hudson.plugins.folder.AbstractFolder.init(AbstractFolder.java:196)
      	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.init(ComputedFolder.java:110)
      	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.<init>(ComputedFolder.java:105)
      	at jenkins.branch.MultiBranchProject.<init>(MultiBranchProject.java:114)
      	at ...
      

      since getView is unexpectedly being called from inside initViews, when viewGroupMixIn is not yet set.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: