Discussion:
[Springide-eclip-developer] little patch for configSets (with patch)
snpe
2005-05-08 01:21:29 UTC
Permalink
Hello,
  I get NPE for configSets (when dependencies beans are in different config files).

This is patch and it work for me with eclipse 3.1M6 and webtools M4

--- /u2/spring-ide/trunk/org.springframework.ide.eclipse.beans.ui.graph/src/org/springframework/ide/eclipse/beans/ui/graph/model/Bean.java 2005-04-13 12:48:16.000000000 +0000
+++ org.springframework.ide.eclipse.beans.ui.graph/src/org/springframework/ide/eclipse/beans/ui/graph/model/Bean.java 2005-05-08 00:30:44.000000000 +0000
@@ -47,6 +47,8 @@
}

public String getName() {
+ if (bean == null)
+ return "empty";
return bean.getElementName();
}

Loading...