提交 161bfe3b 编写于 作者: M mindless

[FIXED HUDSON-3326] handle null axes in getLayouter(),

which can occur if build page is access right when build starts,
before axes field is initialized.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19017 71c3de6d-444a-0410-be80-ed276b4c234a
上级 ce700525
......@@ -92,7 +92,8 @@ public class MatrixBuild extends AbstractBuild<MatrixProject,MatrixBuild> {
}
public Layouter<RunPtr> getLayouter() {
return new Layouter<RunPtr>(axes) {
// axes can be null if build page is access right when build starts
return axes == null ? null : new Layouter<RunPtr>(axes) {
protected RunPtr getT(Combination c) {
return new RunPtr(c);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册