fixed NPE I saw in my production system. Root cause is unknown, but the...
fixed NPE I saw in my production system. Root cause is unknown, but the javadoc says getNode can return null indeed, so making the code bit more defensive java.lang.NullPointerException at hudson.model.Queue$JobOffer.canTake(Queue.java:178) at hudson.model.Queue$ApplicableJobOfferList.(Queue.java:765) at hudson.model.Queue$ApplicableJobOfferList.(Queue.java:757) at hudson.model.Queue.pop(Queue.java:682) at hudson.model.Executor.grabJob(Executor.java:160) at hudson.model.Executor.run(Executor.java:102) git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24776 71c3de6d-444a-0410-be80-ed276b4c234a
Showing
想要评论请 注册 或 登录