-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins 1.526, Amazon EC2 plugin v1.19-unreleased (last commit: #c33e297f2c)
Not the same as JENKINS-17410. Stack trace here.
When deleting a Jenkins Slave for a Spot Instance request that no longer exists the EC2-Plugin throws the error linked above.
Currently the only way to resolve the issue is to modify the config.xml and restart Jenkins.
I believe this can be resolve by updating hudson.plugins.ec2.EC2SpotSlave.getSpotRequest(EC2SpotSlave.java:95) method to return null when unable to retrieve SpotInstanceRequest for given ID.
Will give it a go.