-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.107
Windows 7 32bits
JDK 1.8.0_162
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.
- links to
- mentioned in
-
Page Loading...