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

Null pointer exception when refering a unavailable/not configured kernel

XMLWordPrintable

      [Pipeline] {
      [Pipeline] stage
      [Pipeline] { (Test)
      [Pipeline] ipythonBuilder
      java.lang.NullPointerException
      	at io.jenkins.plugins.ml.IPythonBuilder.perform(IPythonBuilder.java:111)
      	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
      	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] }
      

      Fails when giving an unknown kernel in pipeline scripts

      step([$class: 'IPythonBuilder', parserType: 'text',code:'print(23)', task:'Training', kernelName:'igo'])
      
      

            loghijiaha Loghi Perinpanayagam
            loghijiaha Loghi Perinpanayagam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: