提交 10e9b002 编写于 作者: K kohsuke

let's be defensive here


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7620 71c3de6d-444a-0410-be80-ed276b4c234a
上级 18816984
......@@ -78,6 +78,8 @@ public abstract class Actionable extends AbstractModelObject {
public Object getDynamic(String token, StaplerRequest req, StaplerResponse rsp) {
for (Action a : getActions()) {
if(a==null)
continue; // be defensive
String urlName = a.getUrlName();
if(urlName==null)
continue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册