Program: 30032
Project: 30032
Buggy source:
private EnvironmentProperty[] getDescriptors(Class resourceType,String logicalName,ResourceContainerContext[] rcContexts,Resource resourceAn){
  Class webServiceContext=null;
  try {
    WSDolSupport support=Globals.getDefaultHabitat().getComponent(WSDolSupport.class);
    if (support != null) {
      webServiceContext=support.getType("String_Node_Str");
    }
  }
 catch (  Exception e) {
  }
  if (resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str")) {
    return getMessageDestinationReferenceDescriptors(logicalName,rcContexts);
  }
 else   if (resourceType == javax.sql.DataSource.class || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || resourceType == webServiceContext || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || resourceType == org.omg.CORBA_2_3.ORB.class || resourceType == org.omg.CORBA.ORB.class || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str")) {
    return getResourceReferenceDescriptors(logicalName,rcContexts);
  }
 else   if (envEntryTypes.containsKey(resourceType) || resourceType.isEnum()) {
    return getEnvironmentPropertyDescriptors(logicalName,rcContexts,resourceAn);
  }
 else {
    return getJmsDestinationReferenceDescriptors(logicalName,rcContexts);
  }
}

Fixed version (ground truth):
private EnvironmentProperty[] getDescriptors(Class resourceType,String logicalName,ResourceContainerContext[] rcContexts,Resource resourceAn){
  Class webServiceContext=null;
  try {
    WSDolSupport support=habitat.getComponent(WSDolSupport.class);
    if (support != null) {
      webServiceContext=support.getType("String_Node_Str");
    }
  }
 catch (  Exception e) {
  }
  if (resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str")) {
    return getMessageDestinationReferenceDescriptors(logicalName,rcContexts);
  }
 else   if (envEntryTypes.containsKey(resourceType) || resourceType.isEnum()) {
    return getEnvironmentPropertyDescriptors(logicalName,rcContexts,resourceAn);
  }
 else   if (resourceType == javax.sql.DataSource.class || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || resourceType == webServiceContext || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || resourceType == org.omg.CORBA_2_3.ORB.class || resourceType == org.omg.CORBA.ORB.class || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || resourceType.getName().equals("String_Node_Str") || DOLUtils.isRAConnectionFactory(habitat,resourceType.getName(),((ResourceContainerContextImpl)rcContexts[0]).getAppFromDescriptor())) {
    return getResourceReferenceDescriptors(logicalName,rcContexts);
  }
 else {
    return getJmsDestinationReferenceDescriptors(logicalName,rcContexts);
  }
}