Program: 58830
Project: 58830
Buggy source:
public void handleSelectionUpdate(final ISelectionDelta selectionDelta,boolean scrollToSelection,String info){
  if (selectionDelta.getIDType() != EIDType.EXPRESSION_INDEX)   return;
  Display.getDefault().asyncExec(new Runnable(){
    public void run(){
      if (!checkInternetConnection())       return;
      int iItemsToLoad=0;
      for (      SelectionDeltaItem selectionDeltaItem : selectionDelta) {
        if (selectionDeltaItem.getSelectionType() == ESelectionType.MOUSE_OVER || selectionDeltaItem.getSelectionType() == ESelectionType.SELECTION) {
          Integer iRefSeqID=generalManager.getIDMappingManager().getID(EMappingType.EXPRESSION_INDEX_2_REFSEQ_MRNA_INT,selectionDeltaItem.getPrimaryID());
          String sRefSeqID=generalManager.getIDMappingManager().getID(EMappingType.REFSEQ_MRNA_INT_2_REFSEQ_MRNA,iRefSeqID);
          Integer iDavidID=generalManager.getIDMappingManager().getID(EMappingType.REFSEQ_MRNA_INT_2_DAVID,selectionDeltaItem.getPrimaryID());
          if (iItemsToLoad == 0) {
            String sURL=urlGenerator.createURL(eBrowserQueryType,iDavidID);
            browser.setUrl(sURL);
            browser.update();
            textURL.setText(sURL);
            iAlDavidID.clear();
          }
          String sOutput="String_Node_Str";
          sOutput=sOutput + generalManager.getIDMappingManager().getID(EMappingType.DAVID_2_GENE_SYMBOL,iDavidID);
          sOutput=sOutput + "String_Node_Str";
          sOutput=sOutput + sRefSeqID;
          if (iAlDavidID.contains(selectionDeltaItem.getPrimaryID())) {
            continue;
          }
          iAlDavidID.add(iDavidID);
          iItemsToLoad++;
        }
      }
    }
  }
);
}

Fixed version (ground truth):
public void handleSelectionUpdate(final ISelectionDelta selectionDelta,boolean scrollToSelection,String info){
  if (selectionDelta.getIDType() != EIDType.EXPRESSION_INDEX)   return;
  Display.getDefault().asyncExec(new Runnable(){
    public void run(){
      if (!checkInternetConnection())       return;
      int iItemsToLoad=0;
      for (      SelectionDeltaItem selectionDeltaItem : selectionDelta) {
        if (selectionDeltaItem.getSelectionType() == ESelectionType.MOUSE_OVER || selectionDeltaItem.getSelectionType() == ESelectionType.SELECTION) {
          Integer iRefSeqID=generalManager.getIDMappingManager().getID(EMappingType.EXPRESSION_INDEX_2_REFSEQ_MRNA_INT,selectionDeltaItem.getPrimaryID());
          String sRefSeqID=generalManager.getIDMappingManager().getID(EMappingType.REFSEQ_MRNA_INT_2_REFSEQ_MRNA,iRefSeqID);
          Integer iDavidID=generalManager.getIDMappingManager().getID(EMappingType.REFSEQ_MRNA_INT_2_DAVID,iRefSeqID);
          if (iDavidID == null)           continue;
          if (iItemsToLoad == 0) {
            String sURL=urlGenerator.createURL(eBrowserQueryType,iDavidID);
            browser.setUrl(sURL);
            browser.update();
            textURL.setText(sURL);
            iAlDavidID.clear();
          }
          String sOutput="String_Node_Str";
          sOutput=sOutput + generalManager.getIDMappingManager().getID(EMappingType.DAVID_2_GENE_SYMBOL,iDavidID);
          sOutput=sOutput + "String_Node_Str";
          sOutput=sOutput + sRefSeqID;
          if (iAlDavidID.contains(selectionDeltaItem.getPrimaryID())) {
            continue;
          }
          iAlDavidID.add(iDavidID);
          iItemsToLoad++;
        }
      }
    }
  }
);
}