Program: 58244
Project: 58244
Buggy source:
/** 
 * Reacts on the elements of the entry tag. An example entry tag looks like this: <entry id="1" name="ec:1.8.4.1" type="enzyme" reaction="rn:R01292" link="http://www.genome.jp/dbget-bin/www_bget?enzyme+1.8.4.1">
 */
protected void handleEntryTag(){
  String sName="String_Node_Str";
  String sType="String_Node_Str";
  String sExternalLink="String_Node_Str";
  String sReactionId="String_Node_Str";
  for (int iAttributeIndex=0; iAttributeIndex < attributes.getLength(); iAttributeIndex++) {
    sAttributeName=attributes.getLocalName(iAttributeIndex);
    if ("String_Node_Str".equals(sAttributeName)) {
      sAttributeName=attributes.getQName(iAttributeIndex);
    }
    if (sAttributeName.equals("String_Node_Str")) {
    }
 else     if (sAttributeName.equals("String_Node_Str")) {
      sName=attributes.getValue(iAttributeIndex);
    }
 else     if (sAttributeName.equals("String_Node_Str")) {
      sType=attributes.getValue(iAttributeIndex);
    }
 else     if (sAttributeName.equals("String_Node_Str")) {
      sExternalLink=attributes.getValue(iAttributeIndex);
    }
 else     if (sAttributeName.equals("String_Node_Str")) {
      sReactionId=attributes.getValue(iAttributeIndex);
    }
  }
  alCurrentVertex.clear();
  if (sType.equals("String_Node_Str")) {
    StringTokenizer sTokenText=new StringTokenizer(sName,"String_Node_Str");
    Integer iDavidId=-1;
    String sTmpVertexName="String_Node_Str";
    Set<Integer> iSetDavidID=new HashSet<Integer>();
    while (sTokenText.hasMoreTokens()) {
      sTmpVertexName=sTokenText.nextToken();
      if (sTmpVertexName.substring(4).equals("String_Node_Str")) {
        continue;
      }
      try {
        iDavidId=generalManager.getIDMappingManager().getID(IDType.getIDType("String_Node_Str"),IDType.getIDType("String_Node_Str"),Integer.valueOf(sTmpVertexName.substring(4)));
      }
 catch (      Exception e) {
        System.out.println("String_Node_Str");
      }
      if (iDavidId == null) {
        continue;
      }
      iSetDavidID.add(iDavidId);
    }
    alCurrentVertex.addAll(pathwayItemManager.createVertexGene(sTmpVertexName,sType,sExternalLink,sReactionId,iSetDavidID));
  }
 else {
    currentVertex=pathwayItemManager.createVertex(sName,sType,sExternalLink,sReactionId);
    if (currentVertex == null)     throw new IllegalStateException("String_Node_Str");
    alCurrentVertex.add(currentVertex);
  }
}

Fixed version (ground truth):
/** 
 * Reacts on the elements of the entry tag. An example entry tag looks like this: <entry id="1" name="ec:1.8.4.1" type="enzyme" reaction="rn:R01292" link="http://www.genome.jp/dbget-bin/www_bget?enzyme+1.8.4.1">
 */
protected void handleEntryTag(){
  String sName="String_Node_Str";
  String sType="String_Node_Str";
  String sExternalLink="String_Node_Str";
  String sReactionId="String_Node_Str";
  for (int iAttributeIndex=0; iAttributeIndex < attributes.getLength(); iAttributeIndex++) {
    sAttributeName=attributes.getLocalName(iAttributeIndex);
    if ("String_Node_Str".equals(sAttributeName)) {
      sAttributeName=attributes.getQName(iAttributeIndex);
    }
    if (sAttributeName.equals("String_Node_Str")) {
    }
 else     if (sAttributeName.equals("String_Node_Str")) {
      sName=attributes.getValue(iAttributeIndex);
    }
 else     if (sAttributeName.equals("String_Node_Str")) {
      sType=attributes.getValue(iAttributeIndex);
    }
 else     if (sAttributeName.equals("String_Node_Str")) {
      sExternalLink=attributes.getValue(iAttributeIndex);
    }
 else     if (sAttributeName.equals("String_Node_Str")) {
      sReactionId=attributes.getValue(iAttributeIndex);
    }
  }
  alCurrentVertex.clear();
  if (sType.equals("String_Node_Str")) {
    StringTokenizer sTokenText=new StringTokenizer(sName,"String_Node_Str");
    Integer iDavidId=-1;
    String sTmpVertexName="String_Node_Str";
    Set<Integer> iSetDavidID=new HashSet<Integer>();
    while (sTokenText.hasMoreTokens()) {
      sTmpVertexName=sTokenText.nextToken();
      if (sTmpVertexName.substring(4).equals("String_Node_Str")) {
        continue;
      }
      try {
        iDavidId=generalManager.getIDMappingManager().getID(IDType.getIDType("String_Node_Str"),IDType.getIDType("String_Node_Str"),Integer.valueOf(sTmpVertexName.substring(4)));
      }
 catch (      Exception e) {
      }
      if (iDavidId == null) {
        continue;
      }
      iSetDavidID.add(iDavidId);
    }
    alCurrentVertex.addAll(pathwayItemManager.createVertexGene(sTmpVertexName,sType,sExternalLink,sReactionId,iSetDavidID));
  }
 else {
    currentVertex=pathwayItemManager.createVertex(sName,sType,sExternalLink,sReactionId);
    if (currentVertex == null)     throw new IllegalStateException("String_Node_Str");
    alCurrentVertex.add(currentVertex);
  }
}