[
https://issues.jenkins-ci.org/browse/JENKINS-13824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162914#comment-162914
]
SCM/JIRA link daemon commented on JENKINS-13824:
------------------------------------------------
Code changed in jenkins
User: Nicolas De Loof
Path:
core/src/main/java/hudson/model/Run.java
http://jenkins-ci.org/commit/jenkins/609392414f1060fb67d69db026b6f40478784345
Log:
[FIX JENKINS-13824] prevent NullPointerException
> 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