-
Bug
-
Resolution: Fixed
-
Minor
Not clear how to reproduce.
java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.credentialsbinding.impl.BindingStep from {"stapler-class":"org.jenkinsci.plugins.credentialsbinding.impl.BindingStep","bindings":{"variable":"foo","credentialsId":["",""],"stapler-class":"org.jenkinsci.plugins.credentialsbinding.impl.StringBinding","kind":"org.jenkinsci.plugins.credentialsbinding.impl.StringBinding"}} at hudson.model.Descriptor.newInstance(Descriptor.java:577) at org.jenkinsci.plugins.workflow.cps.Snippetizer.doGenerateSnippet(Snippetizer.java:203) at ... Caused by: java.lang.NullPointerException at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:632) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:684) at org.kohsuke.stapler.RequestImpl.access$100(RequestImpl.java:81) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:587) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:625) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:684) at org.kohsuke.stapler.RequestImpl.access$100(RequestImpl.java:81) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:587) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:396) at hudson.model.Descriptor.newInstance(Descriptor.java:568) ... 56 more
- is duplicated by
-
JENKINS-27960 Snippet Generator for 'Bind Credentials to variables' blows up
- Resolved
-
JENKINS-28988 Snippet Generator fails for Secret File Binding
- Resolved
-
JENKINS-31813 [withCredentials] NPE in snippet generator
- Resolved
- is related to
-
JENKINS-27397 Add credentials directly in control in Snippet Generator does not work
- Resolved
-
JENKINS-37707 Saving SecretBuildWrapper for the first time fails due to duplicated credentialsId field unless git also installed
- Resolved
-
JENKINS-35490 JENKINS-27387 broke binding to credentials parameter for Freestyle jobs
- Closed
- links to