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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • workflow-cps-plugin
    • None
    • Jenkins 2.263.4 LTS, Pipeline: Groovy 2.90

    Description

      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.

      Attachments

        Activity

          eamngsa sanjeet created issue -
          eamngsa sanjeet made changes -
          Field Original Value New Value
          Description 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!
          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.
          eamngsa sanjeet made changes -
          Description 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.
          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.
          eamngsa sanjeet made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          eamngsa sanjeet made changes -
          Description 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.
          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.
          eamngsa sanjeet made changes -
          Description 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.
          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.

          People

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

            Dates

              Created:
              Updated: