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

JEP-200: Filesystem list parameter plugin: java.util.Formatter

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      java.util.Formatter appears to be missing from whitelist :

      févr. 19, 2018 3:29:37 PM jenkins.security.ClassFilterImpl lambda$isBlacklisted$1
      AVERTISSEMENT: java.util.Formatter in JRE might be dangerous, so rejecting; see https://jenkins.io/redirect/class-filter/
      

      This is making trouble to read some job configuration, and for data cleaning :

      ConversionException: Refusing to unmarshal formatter for security reasons; see https://jenkins.io/redirect/class-filter/ ---- Debugging information ---- class : java.util.Formatter required-type : java.util.Formatter converter-type : hudson.util.XStream2$BlacklistedTypesConverter path : /build/actions/hudson.model.ParametersAction/parameterDefinitionNames/outer-class/parameterDefinitions/alex.jenkins.plugins.FileSystemListParameterDefinition/formatter line number : 35 -------------------------------,
      

      Workaround:

      Add the following argument to jenkins command line:

      -Dhudson.remoting.ClassFilter=java.util.Formatter
      

      PS : This my first bug report, advices are welcome.

       

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/alex/jenkins/plugins/FileSystemListParameterDefinition.java
          http://jenkins-ci.org/commit/filesystem-list-parameter-plugin/31c35d55d6e2807dfdc8b2ec8b9fb3cb39e6d285
          Log:
          JENKINS-49649 - Stop serializing FileSystemParameterDefinition#map to the disk

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/alex/jenkins/plugins/FileSystemListParameterDefinition.java http://jenkins-ci.org/commit/filesystem-list-parameter-plugin/31c35d55d6e2807dfdc8b2ec8b9fb3cb39e6d285 Log: JENKINS-49649 - Stop serializing FileSystemParameterDefinition#map to the disk
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/alex/jenkins/plugins/FileSystemListParameterDefinition.java
          src/test/java/alex/jenkins/plugins/ChangeSequenceTest.java
          http://jenkins-ci.org/commit/filesystem-list-parameter-plugin/e3de407a505b44aadc9bad8c59f393db018c070e
          Log:
          JENKINS-49649 - Fix tests and refactor the methods a bit

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/alex/jenkins/plugins/FileSystemListParameterDefinition.java src/test/java/alex/jenkins/plugins/ChangeSequenceTest.java http://jenkins-ci.org/commit/filesystem-list-parameter-plugin/e3de407a505b44aadc9bad8c59f393db018c070e Log: JENKINS-49649 - Fix tests and refactor the methods a bit
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/test/java/alex/jenkins/plugins/FileSystemListParameterDefinitionTest.java
          http://jenkins-ci.org/commit/filesystem-list-parameter-plugin/71ae1522b536713c053043b47dc082ccb294896c
          Log:
          JENKINS-49649 - Add direct unit test for the issue

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/test/java/alex/jenkins/plugins/FileSystemListParameterDefinitionTest.java http://jenkins-ci.org/commit/filesystem-list-parameter-plugin/71ae1522b536713c053043b47dc082ccb294896c Log: JENKINS-49649 - Add direct unit test for the issue
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: A. Endter
          Path:
          Jenkinsfile
          pom.xml
          src/main/java/alex/jenkins/plugins/FileSystemListParameterDefinition.java
          src/main/resources/alex/jenkins/plugins/FileSystemListParameterDefinition/config.jelly
          src/main/resources/alex/jenkins/plugins/FileSystemListParameterDefinition/index.jelly
          src/main/resources/alex/jenkins/plugins/FileSystemListParameterValue/value.jelly
          src/main/resources/index.jelly
          src/test/java/alex/jenkins/plugins/ChangeSequenceTest.java
          src/test/java/alex/jenkins/plugins/FileSystemListParameterDefinitionTest.java
          http://jenkins-ci.org/commit/filesystem-list-parameter-plugin/587fceccec2bcf298c14a94c69a593d685fa3a59
          Log:
          Merge pull request #2 from oleg-nenashev/JENKINS-49649

          JENKINS-49649 - Update the plugin to make it compatible with Jenkins 2.102+

          Compare: https://github.com/jenkinsci/filesystem-list-parameter-plugin/compare/148bc9572a60...587fceccec2b

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: A. Endter Path: Jenkinsfile pom.xml src/main/java/alex/jenkins/plugins/FileSystemListParameterDefinition.java src/main/resources/alex/jenkins/plugins/FileSystemListParameterDefinition/config.jelly src/main/resources/alex/jenkins/plugins/FileSystemListParameterDefinition/index.jelly src/main/resources/alex/jenkins/plugins/FileSystemListParameterValue/value.jelly src/main/resources/index.jelly src/test/java/alex/jenkins/plugins/ChangeSequenceTest.java src/test/java/alex/jenkins/plugins/FileSystemListParameterDefinitionTest.java http://jenkins-ci.org/commit/filesystem-list-parameter-plugin/587fceccec2bcf298c14a94c69a593d685fa3a59 Log: Merge pull request #2 from oleg-nenashev/ JENKINS-49649 JENKINS-49649 - Update the plugin to make it compatible with Jenkins 2.102+ Compare: https://github.com/jenkinsci/filesystem-list-parameter-plugin/compare/148bc9572a60...587fceccec2b
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Fix released in 0.0.4

          Show
          oleg_nenashev Oleg Nenashev added a comment - Fix released in 0.0.4

            People

            Assignee:
            oleg_nenashev Oleg Nenashev
            Reporter:
            rmaura Régis Maura
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: