[FIXED JENKINS-41825] Display an informative message, rather than a Groovy exception, when View.getItems fails. (cherry picked from commit fcf4ca76)