Program: 117903
Project: 117903
Buggy source:
/** 
 * Comment method "createContent".
 * @param child
 */
private void createContent(Composite mainComposite){
  header=new HeaderComposite(mainComposite,SWT.NONE);
  if (this.foxManager.isNoLoopInComponent()) {
    header.updateStatus(Messages.getString("String_Node_Str"));
  }
  xmlToSchemaSash=new SashForm(mainComposite,SWT.HORIZONTAL | SWT.SMOOTH);
  xmlToSchemaSash.setLayoutData(new GridData(GridData.FILL_BOTH));
  xmlToSchemaSash.setBackgroundMode(SWT.INHERIT_FORCE);
  canModify=externalNode.getProcess().isReadOnly();
  if (externalNode.getOriginalNode().getJobletNode() != null) {
    canModify=externalNode.getOriginalNode().isReadOnly();
  }
  IElementParameter elem=externalNode.getElementParameter("String_Node_Str");
  if (elem != null) {
    String value=(String)elem.getValue();
    if (value != null && value.equals("String_Node_Str")) {
      isRepository=true;
    }
  }
  addSchemaViewer(xmlToSchemaSash,300,110);
  addXMLViewer(xmlToSchemaSash,400,110);
  xmlToSchemaSash.setWeights(new int[]{40,60});
  linker=new Schema2XMLLinker(this.xmlToSchemaSash);
  linker.init(schemaViewer.getTable(),xmlViewer);
  linker.setManager(foxManager);
  initSchemaTable();
  footerComp=new FooterComposite(mainComposite,SWT.NONE,foxManager);
  xmlViewer.expandToLevel(3);
  linker.createLinks();
}

Fixed version (ground truth):
/** 
 * Comment method "createContent".
 * @param child
 */
private void createContent(Composite mainComposite){
  header=new HeaderComposite(mainComposite,SWT.NONE);
  if (this.foxManager.isNoLoopInComponent()) {
    header.updateStatus(Messages.getString("String_Node_Str"));
  }
  xmlToSchemaSash=new SashForm(mainComposite,SWT.HORIZONTAL | SWT.SMOOTH);
  xmlToSchemaSash.setLayoutData(new GridData(GridData.FILL_BOTH));
  xmlToSchemaSash.setBackgroundMode(SWT.INHERIT_FORCE);
  if (Platform.OS_MACOSX.equals(Platform.getOS())) {
    xmlToSchemaSash.setSashWidth((mainComposite.getShell().getBounds().width) / 5);
  }
  canModify=externalNode.getProcess().isReadOnly();
  if (externalNode.getOriginalNode().getJobletNode() != null) {
    canModify=externalNode.getOriginalNode().isReadOnly();
  }
  IElementParameter elem=externalNode.getElementParameter("String_Node_Str");
  if (elem != null) {
    String value=(String)elem.getValue();
    if (value != null && value.equals("String_Node_Str")) {
      isRepository=true;
    }
  }
  addSchemaViewer(xmlToSchemaSash,300,110);
  addXMLViewer(xmlToSchemaSash,400,110);
  xmlToSchemaSash.setWeights(new int[]{40,60});
  linker=new Schema2XMLLinker(this.xmlToSchemaSash);
  linker.init(schemaViewer.getTable(),xmlViewer);
  linker.setManager(foxManager);
  initSchemaTable();
  footerComp=new FooterComposite(mainComposite,SWT.NONE,foxManager);
  xmlViewer.expandToLevel(3);
  linker.createLinks();
  if (Platform.OS_MACOSX.equals(Platform.getOS())) {
    mainComposite.getShell().addControlListener(new ControlListener(){
      @Override public void controlMoved(      ControlEvent e){
      }
      @Override public void controlResized(      ControlEvent e){
        xmlToSchemaSash.setSashWidth((mainComposite.getShell().getBounds().width) / 5);
      }
    }
);
  }
}