Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: core
-
Labels:
-
Environment:Jenkins 2.55
-
Similar Issues:
Description
I'm using the CLI to delete some jobs, and I've noticed that sometimes I receive a NullPointerException when deleting.
java.lang.NullPointerException at hudson.model.queue.Executables.getParentOf(Executables.java:44) at hudson.model.AbstractItem.delete(AbstractItem.java:625) at hudson.model.Job.delete(Job.java:669) at hudson.cli.DeleteJobCommand.run(DeleteJobCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:274) at org.jenkinsci.main.modules.sshd.CLICommandAdapter$1.run(CLICommandAdapter.java:37) at org.jenkinsci.main.modules.sshd.AsynchronousCommand$1.run(AsynchronousCommand.java:112) at java.lang.Thread.run(Thread.java:745)
I only see this in Jenkins 2.55 and not 2.54 and judging by the stack trace, my guess is that the error is related to this change: https://github.com/jenkinsci/jenkins/commit/52a1a1035fa71a2e023e93c083a626898bcb0d47
Attachments
Issue Links
- links to
Yes, this is a regression