[ https://issues.jenkins-ci.org/browse/JENKINS-13824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163637#comment-163637 ]
dogfood commented on JENKINS-13824: ----------------------------------- Integrated in !http://ci.jenkins-ci.org/images/16x16/blue.png! [jenkins_ui-changes_branch #30|http://ci.jenkins-ci.org/job/jenkins_ui-changes_branch/30/] [FIX JENKINS-13824] prevent NullPointerException (Revision 609392414f1060fb67d69db026b6f40478784345) Result = SUCCESS Nicolas De Loof : [609392414f1060fb67d69db026b6f40478784345|https://github.com/jenkinsci/jenkins/commit/609392414f1060fb67d69db026b6f40478784345] Files : * core/src/main/java/hudson/model/Run.java > Jenkins can't monitor external job if master has no executor set > ---------------------------------------------------------------- > > Key: JENKINS-13824 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13824 > Project: Jenkins > Issue Type: Bug > Components: core > Reporter: Nicolas De Loof > Assignee: Nicolas De Loof > > Run#run(Runner job) uses Charset charset = > Computer.currentComputer().getDefaultCharset() to get the local encoding to > write the build log. When Jenkins master is configured with 0 executors > (delegating 100% work to slaves), currentComputer() returns null, so a > NullPointerException and run is recorded as FAILED. > hudson.model.Run handleFatalBuildProblem > SEVERE: #13 failed to build and we don't even have a listener > java.lang.NullPointerException -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira