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

There's no @DataBoundConstructor on any constructor of class net.sf.json.JSONObject

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • workflow-cps-plugin
    • None
    • Jenkins 2.263.4 LTS, Pipeline: Groovy 2.90

      Jenkins LTS version: 2.263.4

      workflow-cps: 2.90 (upgraded from 2.83)

      For a pipeline Job with pipeline script snippet as below

      I'm getting the following error trace

      I can see that no constructor of net.sf.json.JSONObject has this DataboundConstructor
      .
      But with previous versions of Pipeline: Groovy 2.83, the above script is working find without any above error.

          [JENKINS-65295] There's no @DataBoundConstructor on any constructor of class net.sf.json.JSONObject

          sanjeet created issue -
          sanjeet made changes -
          Description Original: After upgrading workflow-cps plugin(Pipeline: Groovy) from 2.83 to 2.90 along with Jenkins version to 2.263.4

          For a pipeline Job with pipeline script snippet as below
          !image-2021-04-07-00-04-19-982.png!
          I'm getting the following error trace
          !image-2021-04-07-00-07-11-737.png!
          New: After upgrading workflow-cps plugin(Pipeline: Groovy) from 2.83 to 2.90 along with Jenkins version to 2.263.4

          For a pipeline Job with pipeline script snippet as below
          !image-2021-04-07-00-04-19-982.png!
          I'm getting the following error trace
          !image-2021-04-07-00-07-11-737.png!

          I can see that no constructor of net.sf.json.JSONObject has this DataboundConstructor
          .
          But with previous versions of Pipeline: Groovy 2.83, the above script is working find without any above error.
          sanjeet made changes -
          Description Original: After upgrading workflow-cps plugin(Pipeline: Groovy) from 2.83 to 2.90 along with Jenkins version to 2.263.4

          For a pipeline Job with pipeline script snippet as below
          !image-2021-04-07-00-04-19-982.png!
          I'm getting the following error trace
          !image-2021-04-07-00-07-11-737.png!

          I can see that no constructor of net.sf.json.JSONObject has this DataboundConstructor
          .
          But with previous versions of Pipeline: Groovy 2.83, the above script is working find without any above error.
          New: Jenkins LTS version: 2.263.4

          work

          For a pipeline Job with pipeline script snippet as below
           !image-2021-04-07-00-04-19-982.png!
           I'm getting the following error trace
           !image-2021-04-07-00-07-11-737.png!

          I can see that no constructor of net.sf.json.JSONObject has this DataboundConstructor
           .
           But with previous versions of Pipeline: Groovy 2.83, the above script is working find without any above error.
          sanjeet made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          sanjeet made changes -
          Description Original: Jenkins LTS version: 2.263.4

          work

          For a pipeline Job with pipeline script snippet as below
           !image-2021-04-07-00-04-19-982.png!
           I'm getting the following error trace
           !image-2021-04-07-00-07-11-737.png!

          I can see that no constructor of net.sf.json.JSONObject has this DataboundConstructor
           .
           But with previous versions of Pipeline: Groovy 2.83, the above script is working find without any above error.
          New: Jenkins LTS version: 2.263.4

          workflow-cps: 2.90

          For a pipeline Job with pipeline script snippet as below
           !image-2021-04-07-00-04-19-982.png!
           I'm getting the following error trace
           !image-2021-04-07-00-07-11-737.png!

          I can see that no constructor of net.sf.json.JSONObject has this DataboundConstructor
           .
           But with previous versions of Pipeline: Groovy 2.83, the above script is working find without any above error.
          sanjeet made changes -
          Description Original: Jenkins LTS version: 2.263.4

          workflow-cps: 2.90

          For a pipeline Job with pipeline script snippet as below
           !image-2021-04-07-00-04-19-982.png!
           I'm getting the following error trace
           !image-2021-04-07-00-07-11-737.png!

          I can see that no constructor of net.sf.json.JSONObject has this DataboundConstructor
           .
           But with previous versions of Pipeline: Groovy 2.83, the above script is working find without any above error.
          New: Jenkins LTS version: 2.263.4

          workflow-cps: 2.90 (upgraded from 2.83)

          For a pipeline Job with pipeline script snippet as below
           !image-2021-04-07-00-04-19-982.png!
           I'm getting the following error trace
           !image-2021-04-07-00-07-11-737.png!

          I can see that no constructor of net.sf.json.JSONObject has this DataboundConstructor
           .
           But with previous versions of Pipeline: Groovy 2.83, the above script is working find without any above error.

            Unassigned Unassigned
            eamngsa sanjeet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: