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

JEP-200: Config file provide plugin: java.util.Collections$EmptyMap

      org.jenkinsci.plugins.configfiles.custom.CustomConfig$CustomConfigProvider    

      ConversionException: Refusing to unmarshal configs for security reasons; see https://jenkins.io/redirect/class-filter/ ---- Debugging information ---- class : java.util.Collections$EmptyMap required-type : java.util.Collections$EmptyMap converter-type : hudson.util.XStream2$BlacklistedTypesConverter path : /org.jenkinsci.plugins.configfiles.custom.CustomConfigProvider/configs line number : 3 --------

          [JENKINS-48956] JEP-200: Config file provide plugin: java.util.Collections$EmptyMap

          Should be fixed by JENKINS-48946

          Björn Pedersen added a comment - Should be fixed by JENKINS-48946

          Oleg Nenashev added a comment -

          I was testing Config File Provider in https://docs.google.com/document/d/1uQcyaaLvGFwFDe0mQ27JHeG2icdX0XfCHILbHGOtAmA/edit#heading=h.h4vlsjdbuqcd, but this issue has not been caught by PCT/ATH

          Oleg Nenashev added a comment - I was testing Config File Provider in https://docs.google.com/document/d/1uQcyaaLvGFwFDe0mQ27JHeG2icdX0XfCHILbHGOtAmA/edit#heading=h.h4vlsjdbuqcd , but this issue has not been caught by PCT/ATH

          oleg_nenashev is there anything I should do in addition to the referenced PR?

          Dominik Bartholdi added a comment - oleg_nenashev is there anything I should do in addition to the referenced PR?

          Oleg Nenashev added a comment -

          domi I will submit a workaround PR in 20 minutes

          Oleg Nenashev added a comment - domi I will submit a workaround PR in 20 minutes

          Oleg Nenashev added a comment -

          Hotfix is in https://github.com/jenkinsci/config-file-provider-plugin/pull/47 . It should be enough to get this pluhgin running before the core is released

          Oleg Nenashev added a comment - Hotfix is in https://github.com/jenkinsci/config-file-provider-plugin/pull/47 . It should be enough to get this pluhgin running before the core is released

          Just  for confirmation, I observed in migrate old data.

          Björn Pedersen added a comment - Just  for confirmation, I observed in migrate old data.

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          http://jenkins-ci.org/commit/config-file-provider-plugin/247e4903ea658128450f3b0e24c203fbba4abccd
          Log:
          JENKINS-48956 - Use the default version of JTH so that PCT can run against new cores

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml http://jenkins-ci.org/commit/config-file-provider-plugin/247e4903ea658128450f3b0e24c203fbba4abccd Log: JENKINS-48956 - Use the default version of JTH so that PCT can run against new cores

          Grigor Lekarov added a comment - - edited

          This issue is still reproducible saving an already edited Jenkins job. The plugin version is 17.0 and Jenkins version 2.101 and higher. When I donwgrade plugin to 16.4 everything is OK.

          Grigor Lekarov added a comment - - edited This issue is still reproducible saving an already edited Jenkins job. The plugin version is 17.0 and Jenkins version 2.101 and higher. When I donwgrade plugin to 16.4 everything is OK.

          Oleg Nenashev added a comment -

          glekarov could you please provide a stacktrace?
          I am pretty sure it is another issue, because there is no JEP-200 patch in 2.101

          Oleg Nenashev added a comment - glekarov could you please provide a stacktrace? I am pretty sure it is another issue, because there is no JEP-200 patch in 2.101

          Oleg Nenashev added a comment -

          No response from glekarov. Marking it as Resolve unless proven otherwise

          Oleg Nenashev added a comment - No response from glekarov . Marking it as Resolve unless proven otherwise

            oleg_nenashev Oleg Nenashev
            pedersen Björn Pedersen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: