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

fail to readYaml without setting MAX_CODE_POINT_LIMIT in java opt

XMLWordPrintable

      This code fail for every yaml

       try

      {         def processResponse1 = readYaml text: testYaml         writeYaml file: "test1.yaml", data: processResponse1, overwrite: true     }

      catch (Exception){
              println("Failing  ${Exception}")
          }

       

      Error :

      [2024-08-06T15:54:32.441Z] , codePointLimit=9437184} for org.jenkinsci.plugins.pipeline.utility.steps.conf.ReadYamlStep: java.lang.reflect.InvocationTargetException

       

      Fixed by :

      Environment="JAVA_OPTS=$JAVA_OPTS -Dorg.jenkinsci.plugins.pipeline.utility.steps.conf.ReadYamlStep.MAX_CODE_POINT_LIMIT=9437184

            escoem Emilio Escobar
            doronha doron
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: