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

Exceptions while not passing deleteIncompleteScan and passing boolean values for deleteIncompleteScan

XMLWordPrintable

      Exception while not passing deleteIncompleteScan:

      Unable to find source-code formatter for language: comment. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      java.lang.NullPointerException
      	at com.veracode.jenkins.plugin.VeracodePipelineRecorder.getDeleteIncompleteScan(VeracodePipelineRecorder.java:788)
      	at com.veracode.jenkins.plugin.VeracodePipelineRecorder.perform(VeracodePipelineRecorder.java:372)
      	at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
      	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:100)
      	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:70)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Finished: FAILURE

       

      Exception while passing boolean values for deleteIncompleteScan:

      java.lang.ClassCastException: com.veracode.jenkins.plugin.VeracodePipelineRecorder.deleteIncompleteScan expects class java.lang.String but received class java.lang.Boolean
      	at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce(DescribableModel.java:492)
      	at org.jenkinsci.plugins.structs.describable.DescribableModel.buildArguments(DescribableModel.java:409)
      	at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate(DescribableModel.java:329) 

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

              Created:
              Updated:
              Resolved: