This commit is contained in:
anna
2010-11-23 11:48:17 +03:00
parent 6ecfb96eed
commit 5e69316b8c
@@ -45,6 +45,7 @@ public class ApplicationConfigurationProducer extends JavaRuntimeConfigurationPr
protected RunnerAndConfigurationSettings createConfigurationByElement(Location location, final ConfigurationContext context) {
location = JavaExecutionUtil.stepIntoSingleClass(location);
if (location == null) return null;
final PsiElement element = location.getPsiElement();
PsiElement currentElement = element;