Creating folder throws: javax.servlet.ServletException: java.lang.NoSuchFieldError: owner

Issue

  • Folder plugin was upgraded to the new 5.0 version.
  • When you created a new folder java.lang.NoSuchFieldError: owner is thrown.
Caused by: java.lang.NoSuchFieldError: owner
at com.cloudbees.hudson.plugins.folder.properties.FolderProxyGroupContainer.access$102(FolderProxyGroupContainer.java:49)
at com.cloudbees.hudson.plugins.folder.properties.FolderProxyGroupContainer$GroupContainerLocatorImpl$1.create(FolderProxyGroupContainer.java:215)
at com.cloudbees.hudson.plugins.folder.properties.FolderProxyGroupContainer$GroupContainerLocatorImpl$1.create(FolderProxyGroupContainer.java:205)
at nectar.plugins.rbac.groups.GroupContainerLocator$PersistenceHelper.getOrCreateGroupContainer(GroupContainerLocator.java:188)
at com.cloudbees.hudson.plugins.folder.properties.FolderProxyGroupContainer$TransientFolderActionFactoryImpl.createFor(FolderProxyGroupContainer.java:248)
at com.cloudbees.hudson.plugins.folder.Folder.createTransientActions(Folder.java:180)
at com.cloudbees.hudson.plugins.folder.Folder.updateTransientActions(Folder.java:172)
at com.cloudbees.hudson.plugins.folder.Folder.onCreatedFromScratch(Folder.java:145)
at hudson.model.ItemGroupMixIn.callOnCreatedFromScratch(ItemGroupMixIn.java:322)
at hudson.model.ItemGroupMixIn.createProject(ItemGroupMixIn.java:304)
at hudson.model.ItemGroupMixIn.createTopLevelItem(ItemGroupMixIn.java:198)
at jenkins.model.Jenkins.doCreateItem(Jenkins.java:3089)
at jenkins.model.Jenkins.doCreateItem(Jenkins.java:306)
at hudson.model.AllView.doCreateItem(AllView.java:72)
... 76 more

Environment

  • CloudBees Jenkins Enterprise
  • CloudBees Folder plugin v5

Resolution

Upgrade the cloudbees-folder-plus, nectar-rbac and the cloudbees-templates plugin to the latest release.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.