java.lang.UnsupportedOperationException: getAttribute

Jenkins JIRA | Ivan Fernandez Calvo | 5 months ago
  1. 0

    Looks like an incompatibility between the Project Inheritance plugin and [this core code|https://github.com/jenkinsci/jenkins/blob/1c4c6432b795f807758152d06f3f8d9a7b9bf7bb/core/src/main/java/jenkins/util/ProgressiveRendering.java#L188-L189] which Templates (among other things) relies on. {code:java} 2016-06-15 11:44:05.608+0100 [id=91] WARNING j.util.ProgressiveRendering$1#run: failed to compute /jenkins/job/Delivery%20Pipeline%20Job/java.lang.UnsupportedOperationException: getAttribute at jenkins.util.ProgressiveRendering$2.invoke(ProgressiveRendering.java:190) at com.sun.proxy.$Proxy118.getAttribute(Unknown Source) at javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:120) at hudson.plugins.project_inheritance.projects.InheritanceProject.getUserDesiredVersionFromRequest(InheritanceProject.java:2172) at hudson.plugins.project_inheritance.projects.InheritanceProject.getUserDesiredVersion(InheritanceProject.java:2335) at hudson.plugins.project_inheritance.projects.InheritanceProject.getUserDesiredVersion(InheritanceProject.java:2328) at hudson.plugins.project_inheritance.projects.inheritance.InheritanceGovernor.retrieveFullyDerivedField(InheritanceGovernor.java:183) at hudson.plugins.project_inheritance.projects.InheritanceProject.getAllProperties(InheritanceProject.java:3226) at hudson.plugins.project_inheritance.projects.InheritanceProject.getProperty(InheritanceProject.java:3360) at hudson.plugins.project_inheritance.projects.InheritanceProject.getProperty(InheritanceProject.java:3352) at nectar.plugins.rbac.groups.JobProxyGroupContainer$GroupContainerLocatorImpl$1.findAttached(JobProxyGroupContainer.java:206) at nectar.plugins.rbac.groups.JobProxyGroupContainer$GroupContainerLocatorImpl$1.findAttached(JobProxyGroupContainer.java:203) at nectar.plugins.rbac.groups.GroupContainerLocator$PersistenceHelper.getOrCreateGroupContainer(GroupContainerLocator.java:184) at nectar.plugins.rbac.groups.JobProxyGroupContainer$GroupContainerLocatorImpl.get(JobProxyGroupContainer.java:232) at nectar.plugins.rbac.groups.GroupContainerLocator.locate(GroupContainerLocator.java:116) at nectar.plugins.rbac.strategy.RoleMatrixAuthorizationStrategyImpl.getACL(RoleMatrixAuthorizationStrategyImpl.java:146) at hudson.model.Job.getACL(Job.java:1482) at hudson.model.AbstractItem.hasPermission(AbstractItem.java:505) at com.cloudbees.hudson.plugins.folder.AbstractFolder.getItems(AbstractFolder.java:568) at hudson.model.Items.getAllItems(Items.java:357) at hudson.model.Items.getAllItems(Items.java:377) at hudson.model.Items.getAllItems(Items.java:377) at hudson.model.Items.getAllItems(Items.java:377) at hudson.model.Items.getAllItems(Items.java:353) at jenkins.model.Jenkins.getAllItems(Jenkins.java:1409) at com.cloudbees.hudson.plugins.modeling.impl.entity.ProgressiveInstances.compute(ProgressiveInstances.java:50) at jenkins.util.ProgressiveRendering$1.run(ProgressiveRendering.java:123) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {code}

    Jenkins JIRA | 5 months ago | Ivan Fernandez Calvo
    java.lang.UnsupportedOperationException: getAttribute
  2. 0

    [Crash] Remove RedAlloy Wire when active

    GitHub | 3 years ago | P0lyGone
    net.minecraft.util.ReportedException: Exception while updating neighbours
  3. 0

    Lift Framework can't deserialize JSON data

    Stack Overflow | 6 years ago | shj
    net.liftweb.json.MappingException: unknown error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ListView cannot be displayed

    Stack Overflow | 4 years ago | user1661881
    java.lang.UnsupportedOperationException: addView(View, LayoutParams)...
  6. 0

    Webstorm debugging issue

    Stack Overflow | 2 years ago | Nikhil
    java.lang.UnsupportedOperationException: io.netty.handler.codec.http.websocketx.ContinuationWebSocketFrame frame types not supported

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      getAttribute

      at jenkins.util.ProgressiveRendering$2.invoke()
    2. jenkins.util
      ProgressiveRendering$2.invoke
      1. jenkins.util.ProgressiveRendering$2.invoke(ProgressiveRendering.java:190)
      1 frame
    3. com.sun.proxy
      $Proxy118.getAttribute
      1. com.sun.proxy.$Proxy118.getAttribute(Unknown Source)
      1 frame
    4. JavaServlet
      ServletRequestWrapper.getAttribute
      1. javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:120)
      1 frame
    5. hudson.plugins.project_inheritance
      InheritanceProject.getProperty
      1. hudson.plugins.project_inheritance.projects.InheritanceProject.getUserDesiredVersionFromRequest(InheritanceProject.java:2172)
      2. hudson.plugins.project_inheritance.projects.InheritanceProject.getUserDesiredVersion(InheritanceProject.java:2335)
      3. hudson.plugins.project_inheritance.projects.InheritanceProject.getUserDesiredVersion(InheritanceProject.java:2328)
      4. hudson.plugins.project_inheritance.projects.inheritance.InheritanceGovernor.retrieveFullyDerivedField(InheritanceGovernor.java:183)
      5. hudson.plugins.project_inheritance.projects.InheritanceProject.getAllProperties(InheritanceProject.java:3226)
      6. hudson.plugins.project_inheritance.projects.InheritanceProject.getProperty(InheritanceProject.java:3360)
      7. hudson.plugins.project_inheritance.projects.InheritanceProject.getProperty(InheritanceProject.java:3352)
      7 frames
    6. nectar.plugins.rbac
      RoleMatrixAuthorizationStrategyImpl.getACL
      1. nectar.plugins.rbac.groups.JobProxyGroupContainer$GroupContainerLocatorImpl$1.findAttached(JobProxyGroupContainer.java:206)
      2. nectar.plugins.rbac.groups.JobProxyGroupContainer$GroupContainerLocatorImpl$1.findAttached(JobProxyGroupContainer.java:203)
      3. nectar.plugins.rbac.groups.GroupContainerLocator$PersistenceHelper.getOrCreateGroupContainer(GroupContainerLocator.java:184)
      4. nectar.plugins.rbac.groups.JobProxyGroupContainer$GroupContainerLocatorImpl.get(JobProxyGroupContainer.java:232)
      5. nectar.plugins.rbac.groups.GroupContainerLocator.locate(GroupContainerLocator.java:116)
      6. nectar.plugins.rbac.strategy.RoleMatrixAuthorizationStrategyImpl.getACL(RoleMatrixAuthorizationStrategyImpl.java:146)
      6 frames
    7. Hudson
      AbstractItem.hasPermission
      1. hudson.model.Job.getACL(Job.java:1482)
      2. hudson.model.AbstractItem.hasPermission(AbstractItem.java:505)
      2 frames
    8. com.cloudbees.hudson
      AbstractFolder.getItems
      1. com.cloudbees.hudson.plugins.folder.AbstractFolder.getItems(AbstractFolder.java:568)
      1 frame
    9. Hudson
      Items.getAllItems
      1. hudson.model.Items.getAllItems(Items.java:357)
      2. hudson.model.Items.getAllItems(Items.java:377)
      3. hudson.model.Items.getAllItems(Items.java:377)
      4. hudson.model.Items.getAllItems(Items.java:377)
      5. hudson.model.Items.getAllItems(Items.java:353)
      5 frames
    10. jenkins.model
      Jenkins.getAllItems
      1. jenkins.model.Jenkins.getAllItems(Jenkins.java:1409)
      1 frame
    11. com.cloudbees.hudson
      ProgressiveInstances.compute
      1. com.cloudbees.hudson.plugins.modeling.impl.entity.ProgressiveInstances.compute(ProgressiveInstances.java:50)
      1 frame
    12. jenkins.util
      ProgressiveRendering$1.run
      1. jenkins.util.ProgressiveRendering$1.run(ProgressiveRendering.java:123)
      1 frame
    13. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames