mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
fixed NPE.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4173 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
bf72c00d58
commit
021c759034
1 file changed
+3
-1
@@ -146,7 +146,9 @@ final class ParsedQuickSilver {
|
||||
}
|
||||
|
||||
public SearchIndex getSearchIndex() {
|
||||
return ((SearchableModelObject)getter.get(instance)).getSearchIndex();
|
||||
Object child = getter.get(instance);
|
||||
if(child==null) return SearchIndex.EMPTY;
|
||||
return ((SearchableModelObject) child).getSearchIndex();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user