mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-32754 - NPE: LookupManagerImpl.showLookup
This commit is contained in:
@@ -113,7 +113,7 @@ public class LookupManagerImpl extends LookupManager {
|
||||
}
|
||||
|
||||
LookupImpl lookup = createLookup(editor, items, prefix, arranger);
|
||||
return lookup.showLookup() ? lookup : null;
|
||||
return lookup != null && lookup.showLookup() ? lookup : null;
|
||||
}
|
||||
|
||||
public LookupImpl createLookup(final Editor editor,
|
||||
|
||||
Reference in New Issue
Block a user