diff --git a/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java b/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java index 829910392524..fab60030a8e6 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java @@ -698,6 +698,7 @@ public class LookupImpl extends LightweightHint implements Lookup, Disposable { int index = myList.getSelectedIndex(); Rectangle itmBounds = myList.getCellBounds(index, index); if (itmBounds == null){ + LOG.error("No bounds for " + index + "; size=" + myList.getModel().getSize()); return null; } Point layeredPanePoint=SwingUtilities.convertPoint(myList,itmBounds.x,itmBounds.y,getComponent());