-
Bug
-
Resolution: Fixed
-
Minor
-
None
Syntax generator not working in Jenkins 2.190.2 when using Object type for deleteIncompleteScan.
Server log:
2022-07-01 14:57:14.277+0000 [id=82] WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving http://localhost:8080/pipeline-syntax/generateSnippet java.lang.IllegalArgumentException: Unable to convert to class java.lang.Object at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:738) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:478) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:778) Caused: java.lang.IllegalArgumentException: Failed to convert the deleteIncompleteScan parameter of the constructor public com.veracode.jenkins.plugin.VeracodePipelineRecorder(java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean,int,java.lang.Object,boolean,java.lang.String,boolean,boolean,boolean,boolean,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean,boolean,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:780) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:678)