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

StackOverflowError : Unexpected exception in CPS VM thread: CpsFlowExecution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • workflow-cps-plugin
    • None
    • Jenkins 2.39,
      Jenkins 2.45

      node {
          stage("test property") {
              echo "$art"
          }
      }
      def getArt() {
          if (!art) {
              art="YESS"
          }
          art
      }
      
      def setArt(value) {
          art =value
      }
      

      After stopping job, i have this error on Jenkins Log:

      Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[xxxxxxxxxxxxx]]
      java.lang.StackOverflowError
      	at com.cloudbees.groovy.cps.impl.ProxyEnv.getExceptionHandler(ProxyEnv.java:56)
      	at com.cloudbees.groovy.cps.impl.ProxyEnv.getExceptionHandler(ProxyEnv.java:56)
      	at com.cloudbees.groovy.cps.impl.CallEnv.getExceptionHandler(CallEnv.java:95)
      	at com.cloudbees.groovy.cps.impl.ProxyEnv.getExceptionHandler(ProxyEnv.java:56)
      	at com.cloudbees.groovy.cps.impl.ProxyEnv.getExceptionHandler(ProxyEnv.java:56)
      
      Nom Version
      ace-editor 1.1 true
      ant 1.4 true
      antisamy-markup-formatter 1.5 true
      artifactory 2.9.1 true
      authentication-tokens 1.3 true
      bouncycastle-api 2.16.0 true
      branch-api 2.0.4 true
      build-timeout 1.18 true
      cloudbees-folder 5.17 true
      config-file-provider 2.15.5 true
      credentials 2.1.11 true
      credentials-binding 1.10 true
      disk-usage 0.28 true
      display-url-api 1.1.1 true
      docker-commons 1.6 true
      docker-plugin 0.16.2 true
      docker-workflow 1.9.1 true
      durable-task 1.13 true
      email-ext 2.55 true
      external-monitor-job 1.7 true
      git 3.0.5 true
      git-client 2.2.1 true
      git-server 1.7 true
      github 1.26.0 true
      github-api 1.84 true
      github-branch-source 2.0.2 true
      github-organization-folder 1.6 true
      gitlab-plugin 1.4.4 true
      gradle 1.25 true
      handlebars 1.1.1 true
      icon-shim 2.0.3 true
      ivy 1.27.1 true
      jackson2-api 2.7.3 true
      javadoc 1.4 true
      job-import-plugin 1.6 true
      jquery 1.11.2-0 true
      jquery-detached 1.2.1 true
      junit 1.19 true
      ldap 1.14 true
      mailer 1.19 true
      mapdb-api 1.0.9.0 true
      matrix-auth 1.4 true
      matrix-project 1.8 true
      maven-plugin 2.14 true
      metrics 3.1.2.9 true
      metrics-diskusage 3.0.0 true
      momentjs 1.1.1 true
      pam-auth 1.3 true
      pipeline-build-step 2.4 true
      pipeline-github-lib 1.0 true
      pipeline-graph-analysis 1.3 true
      pipeline-input-step 2.5 true
      pipeline-milestone-step 1.3 true
      pipeline-model-api 1.0.1 true
      pipeline-model-declarative-agent 1.0.1 true
      pipeline-model-definition 1.0.1 true
      pipeline-rest-api 2.4 true
      pipeline-stage-step 2.2 true
      pipeline-stage-tags-metadata 1.0.1 true
      pipeline-stage-view 2.4 true
      pipeline-utility-steps 1.2.2 true
      plain-credentials 1.3 true
      plugin-usage-plugin 0.3 true
      rebuild 1.25 true
      resource-disposer 0.6 true
      role-strategy 2.3.2 true
      scm-api 2.0.3 true
      script-security 1.25 true
      sonar 2.5 true
      ssh-agent 1.14 true
      ssh-credentials 1.13 true
      ssh-slaves 1.13 true
      structs 1.5 true
      subversion 2.7.1 true
      thinBackup 1.9 true
      timestamper 1.8.8 true
      token-macro 2.0 true
      windows-slaves 1.2 true
      workflow-aggregator 2.5 true
      workflow-api 2.10 true
      workflow-basic-steps 2.4 true
      workflow-cps 2.26 true
      workflow-cps-global-lib 2.6 true
      workflow-durable-task-step 2.8 true
      workflow-job 2.10 true
      workflow-multibranch 2.12 true
      workflow-scm-step 2.3 true
      workflow-step-api 2.9 true
      workflow-support 2.12 true
      ws-cleanup 0.32 true

            Unassigned Unassigned
            sebglon sébastien glon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: