In the Pipeline Model 1.4.0 this causes a NullPointerException. Will be resolved in 1.5 and there is a hotfix (with more details) available at JENKINS-60115.
In the Pipeline Model API 1.4.0 this causes a {{NullPointerException}}. Will be resolved in 1.5 and there is a hotfix (with more details) available at JENKINS-60115.