Is there a way to prevent Jenkins to silently catch RuntimeExceptions during unmarshalling? From my perspective our Robost*Converters are too robust.
Background: After upgrading my warnings plugin to the latest release Jenkins XStream failed to unmarshall an instance of my old plugin data. (Actually XStream did not fail, I rather got a corrupt instance as return value). Rather then failing fast and throwing an exception (well at list I would expect that the NPE with stack trace is printed somewhere in the log) the unmarshalling code the prints a rather unsuspicious and unclear logging message (the important context of the file, class and attribute is missing): WARNING h.util.RobustReflectionConverter#doUnmarshal: Cannot convert type edu.hm.hafner.util.TreeString to type java.lang.String It took me quite a while to locate the actual problem. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/D1B81899-E976-4747-9D98-42FB3AF08078%40gmail.com.
