[JIRA] (JENKINS-14813) 404 when canceling queue item that has already gone to an executor

2012-08-15 Thread jgl...@cloudbees.com (JIRA)














































jglick
 created  JENKINS-14813


404 when canceling queue item that has already gone to an executor















Issue Type:


Bug



Assignee:


Unassigned


Components:


core



Created:


15/Aug/12 5:55 PM



Description:


1.479-SNAPSHOT. Set system quiet period to two seconds. Click Build Now next to a job, and when the queue item appears, click the red X next to it to cancel. Sometimes you will be shown http://localhost:8080/queue/item/21/cancelQueue as an error page:


404 Not Found

Stapler processed this HTTP request as follows, but couldn't find the resource to consume the request

- evaluate(hudson.model.Hudson@75cdd3 :hudson.model.Hudson,"/queue/item/21/cancelQueue")
- evaluate(((StaplerProxy)hudson.model.Hudson@75cdd3).getTarget(),"/queue/item/21/cancelQueue")
- evaluate(hudson.model.Hudson@75cdd3.getQueue(),"/item/21/cancelQueue")
- evaluate(hudson.model.Queue@1f1f1f2 :hudson.model.Queue,"/item/21/cancelQueue")
- evaluate(hudson.model.Queue@1f1f1f2.getItem(21),"/cancelQueue")
- unexpected null!
If this 404 is unexpected, double check the last part of the trace to see if it should have evaluated to null.


Presumably item #21 had already been sent to an executor, but the AJAX code to refresh the queue  executor list had not yet gotten a chance to run. Fine, but Jenkins should recover more gracefully than this - just redirect to the calling page and ignore the request.




Project:


Jenkins



Labels:


404
queue




Priority:


Minor



Reporter:


jglick

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-14813) 404 when canceling queue item that has already gone to an executor

2012-08-15 Thread jgl...@cloudbees.com (JIRA)















































jglick
 assigned  JENKINS-14813 to jglick



404 when canceling queue item that has already gone to an executor
















Change By:


jglick
(15/Aug/12 5:59 PM)




Assignee:


jglick



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-14813) 404 when canceling queue item that has already gone to an executor

2012-08-15 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-14813


404 when canceling queue item that has already gone to an executor















Code changed in jenkins
User: Jesse Glick
Path:
 changelog.html
 core/src/main/java/hudson/model/Queue.java
 core/src/main/resources/hudson/widgets/BuildHistoryWidget/entries.jelly
 core/src/main/resources/lib/hudson/queue.jelly
http://jenkins-ci.org/commit/jenkins/43f1f5d100ba8dd730e5be02d182c6e9551ee9c8
Log:
  FIXED JENKINS-14813 404 canceling queue items.































This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-14813) 404 when canceling queue item that has already gone to an executor

2012-08-15 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-14813 as Fixed


404 when canceling queue item that has already gone to an executor
















Change By:


SCM/JIRA link daemon
(15/Aug/12 6:36 PM)




Status:


Open
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira