Author: michiel
Date: 2009-11-12 08:52:08 +0100 (Thu, 12 Nov 2009)
New Revision: 39658
Modified:
mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/core/model.svg.jsp
Log:
avoid nfe
Modified:
mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/core/model.svg.jsp
===================================================================
---
mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/core/model.svg.jsp
2009-11-12 07:24:49 UTC (rev 39657)
+++
mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/core/model.svg.jsp
2009-11-12 07:52:08 UTC (rev 39658)
@@ -23,10 +23,13 @@
while (size < set.size()) {
size = set.size();
for (RelationManager rm : cloud.getRelationManagers()) {
+ try {
if (set.contains(rm.getSourceManager().getName()) ||
set.contains(rm.getDestinationManager().getName()) || nodemanager == null) {
set.add(rm.getSourceManager().getName());
set.add(rm.getDestinationManager().getName());
}
+ } catch (NotFoundException nfe) {
+ }
}
}
for (String nm : set) {
@@ -39,6 +42,7 @@
<jsp:scriptlet>
for (RelationManager rm : cloud.getRelationManagers()) {
+ try {
if (set.contains(rm.getSourceManager().getName()) ||
set.contains(rm.getDestinationManager().getName())) {
out.print(rm.getSourceManager().getName() + "->" +
rm.getDestinationManager().getName());
String role = rm.getForwardRole();
@@ -47,6 +51,8 @@
}
out.println(";");
}
+ } catch (NotFoundException nfe) {
+ }
}
</jsp:scriptlet>
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs