Program: 22969
Project: 22969
Buggy source:
@SuppressWarnings("String_Node_Str") @Override public <T extends Resource>T fetchResourceWithException(Class<T> class_,String uri) throws FHIRException {
  if (class_ == StructureDefinition.class)   uri=ProfileUtilities.sdNs(uri);
synchronized (lock) {
    if (uri.startsWith("String_Node_Str") || uri.startsWith("String_Node_Str")) {
      String version=null;
      if (uri.contains("String_Node_Str"))       uri=uri.substring(0,uri.indexOf("String_Node_Str"));
      if (class_ == Resource.class || class_ == null) {
        if (structures.containsKey(uri))         return (T)structures.get(uri);
        if (valueSets.containsKey(uri))         return (T)valueSets.get(uri);
        if (codeSystems.containsKey(uri))         return (T)codeSystems.get(uri);
        if (operations.containsKey(uri))         return (T)operations.get(uri);
        if (searchParameters.containsKey(uri))         return (T)searchParameters.get(uri);
        if (maps.containsKey(uri))         return (T)maps.get(uri);
        if (transforms.containsKey(uri))         return (T)transforms.get(uri);
        if (questionnaires.containsKey(uri))         return (T)questionnaires.get(uri);
        return null;
      }
 else       if (class_ == StructureDefinition.class) {
        return (T)structures.get(uri);
      }
 else       if (class_ == ValueSet.class) {
        return (T)valueSets.get(uri);
      }
 else       if (class_ == CodeSystem.class) {
        return (T)codeSystems.get(uri);
      }
 else       if (class_ == OperationDefinition.class) {
        OperationDefinition od=operations.get(uri);
        return (T)od;
      }
 else       if (class_ == SearchParameter.class) {
        SearchParameter res=searchParameters.get(uri);
        if (res == null) {
          StringBuilder b=new StringBuilder();
          for (          String s : searchParameters.keySet()) {
            b.append(s);
            b.append("String_Node_Str");
          }
        }
        if (res != null)         return (T)res;
      }
    }
    if (class_ == Questionnaire.class)     return (T)questionnaires.get(uri);
    if (class_ == null) {
      if (uri.matches(Constants.URI_REGEX) && !uri.contains("String_Node_Str"))       return null;
      if (Utilities.isAbsoluteUrl(uri) || uri.startsWith("String_Node_Str")) {
        Resource res=findTxValueSet(uri);
        if (res != null)         return (T)res;
      }
      return null;
    }
    throw new FHIRException("String_Node_Str" + uri);
  }
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @Override public <T extends Resource>T fetchResourceWithException(Class<T> class_,String uri) throws FHIRException {
  if (class_ == StructureDefinition.class)   uri=ProfileUtilities.sdNs(uri);
synchronized (lock) {
    if (uri.startsWith("String_Node_Str") || uri.startsWith("String_Node_Str")) {
      String version=null;
      if (uri.contains("String_Node_Str"))       uri=uri.substring(0,uri.indexOf("String_Node_Str"));
      if (class_ == Resource.class || class_ == null) {
        if (structures.containsKey(uri))         return (T)structures.get(uri);
        if (valueSets.containsKey(uri))         return (T)valueSets.get(uri);
        if (codeSystems.containsKey(uri))         return (T)codeSystems.get(uri);
        if (operations.containsKey(uri))         return (T)operations.get(uri);
        if (searchParameters.containsKey(uri))         return (T)searchParameters.get(uri);
        if (maps.containsKey(uri))         return (T)maps.get(uri);
        if (transforms.containsKey(uri))         return (T)transforms.get(uri);
        if (questionnaires.containsKey(uri))         return (T)questionnaires.get(uri);
        return null;
      }
 else       if (class_ == StructureDefinition.class) {
        return (T)structures.get(uri);
      }
 else       if (class_ == ValueSet.class) {
        return (T)valueSets.get(uri);
      }
 else       if (class_ == CodeSystem.class) {
        return (T)codeSystems.get(uri);
      }
 else       if (class_ == ConceptMap.class) {
        return (T)maps.get(uri);
      }
 else       if (class_ == OperationDefinition.class) {
        OperationDefinition od=operations.get(uri);
        return (T)od;
      }
 else       if (class_ == SearchParameter.class) {
        SearchParameter res=searchParameters.get(uri);
        if (res == null) {
          StringBuilder b=new StringBuilder();
          for (          String s : searchParameters.keySet()) {
            b.append(s);
            b.append("String_Node_Str");
          }
        }
        if (res != null)         return (T)res;
      }
    }
    if (class_ == Questionnaire.class)     return (T)questionnaires.get(uri);
    if (class_ == null) {
      if (uri.matches(Constants.URI_REGEX) && !uri.contains("String_Node_Str"))       return null;
      if (Utilities.isAbsoluteUrl(uri) || uri.startsWith("String_Node_Str")) {
        Resource res=findTxValueSet(uri);
        if (res != null)         return (T)res;
      }
      return null;
    }
    throw new FHIRException("String_Node_Str" + uri);
  }
}