Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68909

Syntax generator not working in Jenkins 2.190.2 when using Object type for deleteIncompleteScan

XMLWordPrintable

      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) 

            sbuhary Shihaaz Buhary
            sbuhary Shihaaz Buhary
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: