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

Queue$BlockedItem.getCauseOfBlockage waiting for lock on Queue

XMLWordPrintable

      "Handling POST /job/.../ajaxBuildQueue : ...
         java.lang.Thread.State: BLOCKED (on object monitor)
      	at hudson.model.ResourceController.getBlockingActivity(ResourceController.java:129)
      	- waiting to lock <0x00000000c11cf910> (a hudson.model.Queue)
      	at hudson.model.Queue$BlockedItem.getCauseOfBlockage(Queue.java:1490)
      	at hudson.model.Queue$Item.getWhy(Queue.java:1309)
      	at sun.reflect.GeneratedMethodAccessor681.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      

      The cause of blockage is just informational; should not wait for the Queue lock just for this.

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

              Created:
              Updated:
              Resolved: