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

Refusing to marshal net.sf.json.JSONObject for security reasons; see https://jenkins.io/redirect/class-filter/

    Details

    • Similar Issues:

      Description

      Hi, I am doing continuous deployments using DeployHub Deployment tool in my workshop.But Jenkins Job is failed but deployment went successfully. The job has failed due to the below error. Please can anyone advise the below one. I did some work around this issue and noticed that issue with DeployHub plugin , I uninstall DeployHub plugin and ran the job and it wemt good and again install the same plugin and ran the job and it went failed status. I am starting the Jenkins service using the below command "java -Dhudson.remoting.ClassFilter=some.pkg.and.ClassName,some.pkg.and.OtherClassName -jar jenkins.war"
      Logged in to DeployHub as user admin*14:29:52* Deploying application dotnetapplication11 to environment dotnetenv1*14:29:55* Deployment #162 started*14:29:55* IO Exception: java.lang.UnsupportedOperationException: Refusing to marshal net.sf.json.JSONObject for security reasons; see
      https://jenkins.io/redirect/class-filter/
      14:29:55 Build step 'DeployHub Interface' marked build as failure*14:29:56* Finished: FAILURE

        Attachments

          Activity

          rama_pokuri Rama Pokuri created issue -
          rama_pokuri Rama Pokuri made changes -
          Field Original Value New Value
          Assignee Oleg Nenashev [ oleg_nenashev ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels JEP-200
          oleg_nenashev Oleg Nenashev made changes -
          Assignee Oleg Nenashev [ oleg_nenashev ] Rama Pokuri [ rama_pokuri ]
          oleg_nenashev Oleg Nenashev made changes -
          Assignee Rama Pokuri [ rama_pokuri ] Steve Taylor [ sbtaylor15 ]
          oleg_nenashev Oleg Nenashev made changes -
          Component/s deployhub-plugin [ 23931 ]
          Component/s deploy-plugin [ 15520 ]
          sbtaylor15 Steve Taylor made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              sbtaylor15 Steve Taylor
              Reporter:
              rama_pokuri Rama Pokuri
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: