javax.mail.internet.InternetAddress from additional jar mail-1.4.4.jar appears to be missing from whitelist :
févr. 19, 2018 3:29:28 PM jenkins.security.ClassFilterImpl lambda$isBlacklisted$1
AVERTISSEMENT: javax.mail.internet.InternetAddress in file:/C:/dev/programmes/Jenkins/war/WEB-INF/lib/mail-1.4.4.jar 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 javax.mail.internet.InternetAddress for security reasons; see https://jenkins.io/redirect/class-filter/ ---- Debugging information ---- class : javax.mail.internet.InternetAddress required-type : javax.mail.internet.InternetAddress converter-type : hudson.util.XStream2$BlacklistedTypesConverter path : /org.jenkinsci.plugins.detection.unreliable.slave.UnreliableSlaveDetection$DescriptorImpl/settings/addresses/javax.mail.internet.InternetAddress line number : 5 class[1] : [Ljavax.mail.internet.InternetAddress; converter-type[1] : com.thoughtworks.xstream.converters.collections.ArrayConverter -------------------------------, MissingFieldException: No field 'numberOfFailureInRow' found in class 'org.jenkinsci.plugins.detection.unreliable.slave.UnreliableSlaveDetection$DescriptorImpl'
Workaround:
Add the following argument to jenkins command line:
No worries about the delay for fix. Even if it is not fixed, it is not blocking as long as we can use the option "-Dhudson.remoting.ClassFilter". My goal was mostly informative for other users of the plugin.
I did not do any change for so long time in this plugin! I guess that whole implementation is very old and need some actualization. Oleg is right .... it would deserve some tests too. I do not have time for it, but if you sent pull request I will happily accept it. I do not have a usage for this plugin anymore (I would maintain it only for community) so handover of the plugin to someone else is welcome too!