mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 10:36:21 +00:00
let's be defensive here
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7620 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
18816984e4
commit
10e9b00258
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user