1.1 --- a/mdr/src/org/netbeans/jmiimpl/mof/model/AssociationEndImpl.java Thu Jun 17 14:25:54 2004 +0000
1.2 +++ b/mdr/src/org/netbeans/jmiimpl/mof/model/AssociationEndImpl.java Thu Jun 17 14:48:05 2004 +0000
1.3 @@ -34,7 +34,9 @@
1.4 public AssociationEnd otherEnd() {
1.5 _lock(false);
1.6 try {
1.7 - Collection elements = this.getContainer().getContents();
1.8 + Namespace container = this.getContainer();
1.9 + if (container == null) return null;
1.10 + Collection elements = container.getContents();
1.11 Object element;
1.12
1.13 for (Iterator it = elements.iterator(); it.hasNext();) {