Program: 94433
Project: 94433
Buggy source:
/** 
 * Add identity namespace extension point extensions
 * @param members the members to add
 */
protected void addNamespaceExtensions(IConfigurationElement[] members){
  org.eclipse.ecf.core.util.Trace.entering(Activator.PLUGIN_ID,IdentityDebugOptions.METHODS_ENTERING,Activator.class,"String_Node_Str",members);
  final String bundleName=getDefault().getBundle().getSymbolicName();
  for (int m=0; m < members.length; m++) {
    final IConfigurationElement member=members[m];
    final IExtension extension=member.getDeclaringExtension();
    String nsName=null;
    try {
      final Namespace ns=(Namespace)member.createExecutableExtension(CLASS_ATTRIBUTE);
      final String clazz=ns.getClass().getName();
      nsName=member.getAttribute(NAME_ATTRIBUTE);
      if (nsName == null) {
        nsName=clazz;
      }
      final String nsDescription=member.getAttribute(DESCRIPTION_ATTRIBUTE);
      ns.initialize(nsName,nsDescription);
      org.eclipse.ecf.core.util.Trace.trace(Activator.PLUGIN_ID,IdentityDebugOptions.DEBUG,"String_Node_Str" + ns + "String_Node_Str");
      if (IDFactory.containsNamespace0(ns))       throw new CoreException(new Status(IStatus.WARNING,bundleName,FACTORY_NAME_COLLISION_ERRORCODE,"String_Node_Str" + nsName + "String_Node_Str"+ member.getContributor().getName()+ "String_Node_Str"+ extension.getExtensionPointUniqueIdentifier(),null));
      IDFactory.addNamespace0(ns);
      org.eclipse.ecf.core.util.Trace.trace(Activator.PLUGIN_ID,IdentityDebugOptions.DEBUG,"String_Node_Str" + ns + "String_Node_Str");
    }
 catch (    final CoreException e) {
      getDefault().log(e.getStatus());
      org.eclipse.ecf.core.util.Trace.catching(Activator.PLUGIN_ID,IdentityDebugOptions.EXCEPTIONS_CATCHING,Activator.class,"String_Node_Str",e);
    }
catch (    final Exception e) {
      getDefault().log(new Status(IStatus.ERROR,bundleName,FACTORY_NAME_COLLISION_ERRORCODE,"String_Node_Str" + nsName + "String_Node_Str"+ extension.getExtensionPointUniqueIdentifier(),null));
      org.eclipse.ecf.core.util.Trace.catching(Activator.PLUGIN_ID,IdentityDebugOptions.EXCEPTIONS_CATCHING,Activator.class,"String_Node_Str",e);
    }
  }
  org.eclipse.ecf.core.util.Trace.exiting(Activator.PLUGIN_ID,IdentityDebugOptions.METHODS_EXITING,Activator.class,"String_Node_Str");
}

Fixed version (ground truth):
/** 
 * Add identity namespace extension point extensions
 * @param members the members to add
 */
protected void addNamespaceExtensions(IConfigurationElement[] members){
  org.eclipse.ecf.core.util.Trace.entering(Activator.PLUGIN_ID,IdentityDebugOptions.METHODS_ENTERING,Activator.class,"String_Node_Str",members);
  final String bundleName=getDefault().getBundle().getSymbolicName();
  for (int m=0; m < members.length; m++) {
    final IConfigurationElement member=members[m];
    final IExtension extension=member.getDeclaringExtension();
    String nsName=null;
    try {
      final Namespace ns=(Namespace)member.createExecutableExtension(CLASS_ATTRIBUTE);
      final String clazz=ns.getClass().getName();
      nsName=member.getAttribute(NAME_ATTRIBUTE);
      if (nsName == null) {
        nsName=clazz;
      }
      final String nsDescription=member.getAttribute(DESCRIPTION_ATTRIBUTE);
      ns.initialize(nsName,nsDescription);
      org.eclipse.ecf.core.util.Trace.trace(Activator.PLUGIN_ID,IdentityDebugOptions.DEBUG,"String_Node_Str" + ns + "String_Node_Str");
      if (!IDFactory.containsNamespace0(ns)) {
        IDFactory.addNamespace0(ns);
        org.eclipse.ecf.core.util.Trace.trace(Activator.PLUGIN_ID,IdentityDebugOptions.DEBUG,"String_Node_Str" + ns + "String_Node_Str");
      }
 else {
        getDefault().log(new Status(IStatus.WARNING,Activator.PLUGIN_ID,IStatus.WARNING,"String_Node_Str" + nsName,null));
      }
    }
 catch (    final CoreException e) {
      getDefault().log(e.getStatus());
      org.eclipse.ecf.core.util.Trace.catching(Activator.PLUGIN_ID,IdentityDebugOptions.EXCEPTIONS_CATCHING,Activator.class,"String_Node_Str",e);
    }
catch (    final Exception e) {
      getDefault().log(new Status(IStatus.ERROR,bundleName,FACTORY_NAME_COLLISION_ERRORCODE,"String_Node_Str" + nsName + "String_Node_Str"+ extension.getExtensionPointUniqueIdentifier(),null));
      org.eclipse.ecf.core.util.Trace.catching(Activator.PLUGIN_ID,IdentityDebugOptions.EXCEPTIONS_CATCHING,Activator.class,"String_Node_Str",e);
    }
  }
  org.eclipse.ecf.core.util.Trace.exiting(Activator.PLUGIN_ID,IdentityDebugOptions.METHODS_EXITING,Activator.class,"String_Node_Str");
}