diff options
author | mkersten <mkersten> | 2004-11-04 15:44:51 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2004-11-04 15:44:51 +0000 |
commit | aab9c2c57db1c014e03720676d7e3cac14a761aa (patch) | |
tree | ecfb01b8c980ac912f9027005124f1d0fe906cee /ajde | |
parent | 2e2a268ed29ff75c076219cc53928f0c2358cb03 (diff) | |
download | aspectj-aab9c2c57db1c014e03720676d7e3cac14a761aa.tar.gz aspectj-aab9c2c57db1c014e03720676d7e3cac14a761aa.zip |
Applied patch for bug#77799 "NullPointerException in StructureSearchManager"
Diffstat (limited to 'ajde')
-rw-r--r-- | ajde/src/org/aspectj/ajde/ui/StructureSearchManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ajde/src/org/aspectj/ajde/ui/StructureSearchManager.java b/ajde/src/org/aspectj/ajde/ui/StructureSearchManager.java index 36c047bf4..a87c207fd 100644 --- a/ajde/src/org/aspectj/ajde/ui/StructureSearchManager.java +++ b/ajde/src/org/aspectj/ajde/ui/StructureSearchManager.java @@ -55,7 +55,7 @@ public class StructureSearchManager { matches.add(node); } } - if (node.getChildren() != null) { + if (node != null && node.getChildren() != null) { for (Iterator it = node.getChildren().iterator(); it.hasNext(); ) { IProgramElement nextNode = (IProgramElement)it.next(); if (nextNode instanceof IProgramElement) { |