Program: 145639
Project: 145639
Buggy source:
protected Component processGeneralProperties(final Component aComponent,Element aTag,boolean aDefaultOpaque,PublishedComponent aPublished) throws Exception {
  final String widgetName=aTag.getAttribute(NAME_ATTRIBUTE);
  if (widgetName != null)   aComponent.setData(Form.PID_DATA_KEY,widgetName);
  aComponent.setId("String_Node_Str" + (++idCounter));
  boolean visible=Utils.getBooleanAttribute(aTag,"String_Node_Str",true);
  if (!visible)   aComponent.setVisible(visible);
  boolean enabled=Utils.getBooleanAttribute(aTag,"String_Node_Str",true);
  if (!enabled)   aComponent.setEnabled(enabled);
  if (aTag.hasAttribute("String_Node_Str")) {
    String toolTipText=aTag.getAttribute("String_Node_Str");
    aComponent.setTitle(toolTipText);
  }
  String prefWidth=aTag.getAttribute("String_Node_Str");
  String prefHeight=aTag.getAttribute("String_Node_Str");
  if (prefWidth != null && prefHeight != null) {
    Size size=new Size(Util.parseInt(prefWidth,0),Util.parseInt(prefHeight,0));
    componentsPreferredSize.put(widgetName,size);
  }
  if (aTag.hasAttribute("String_Node_Str")) {
    final String componentPopupMenu=aTag.getAttribute("String_Node_Str");
    postponedTasks.add(new Runnable(){
      @Override public void run(){
        Component comp=components.get(componentPopupMenu);
        if (comp instanceof Menu) {
          aComponent.setContextMenu((Menu)comp);
          aComponent.setData(ControlsUtils.CONTEXT_MENU,comp);
        }
 else         Logger.getLogger(GxtControlsFactory.class.getName()).log(Level.WARNING,"String_Node_Str" + widgetName);
      }
    }
);
  }
  final boolean inheritsPopupMenu=Utils.getBooleanAttribute(aTag,"String_Node_Str",false);
  if (aTag.hasAttribute("String_Node_Str")) {
    aPublished.setBackground(ControlsUtils.parseColor(aTag.getAttribute("String_Node_Str")));
  }
  if (aTag.hasAttribute("String_Node_Str")) {
    aPublished.setForeground(ControlsUtils.parseColor(aTag.getAttribute("String_Node_Str")));
  }
  boolean opaque=Utils.getBooleanAttribute(aTag,"String_Node_Str",aDefaultOpaque);
  if (!opaque)   aPublished.setOpaque(opaque);
  if (!isRoot) {
    Element fontTag=Utils.getElementByTagName(aTag,"String_Node_Str");
    if (fontTag != null) {
      String fontFamily=null;
      if (fontTag.hasAttribute("String_Node_Str")) {
        fontFamily=fontTag.getAttribute("String_Node_Str");
      }
      int fontSize=0;
      if (fontTag.hasAttribute("String_Node_Str")) {
        fontSize=Utils.getIntegerAttribute(fontTag,"String_Node_Str",10);
      }
      int fontStyle=0;
      if (fontTag.hasAttribute("String_Node_Str")) {
        fontStyle=Utils.getIntegerAttribute(fontTag,"String_Node_Str",0);
      }
      aPublished.setFont(PublishedFont.create(fontFamily,fontStyle,fontSize));
    }
  }
  if (aTag.hasAttribute("String_Node_Str")) {
    aPublished.setCursor(convertCursor(Utils.getIntegerAttribute(aTag,"String_Node_Str",0)));
  }
  return aComponent;
}

Fixed version (ground truth):
protected Component processGeneralProperties(final Component aComponent,Element aTag,boolean aDefaultOpaque,PublishedComponent aPublished) throws Exception {
  final String widgetName=aTag.getAttribute(NAME_ATTRIBUTE);
  if (widgetName != null)   aComponent.setData(Form.PID_DATA_KEY,widgetName);
  if (widgetName != null && !widgetName.isEmpty())   aComponent.setId(widgetName);
 else   aComponent.setId("String_Node_Str" + (++idCounter));
  boolean visible=Utils.getBooleanAttribute(aTag,"String_Node_Str",true);
  if (!visible)   aComponent.setVisible(visible);
  boolean enabled=Utils.getBooleanAttribute(aTag,"String_Node_Str",true);
  if (!enabled)   aComponent.setEnabled(enabled);
  if (aTag.hasAttribute("String_Node_Str")) {
    String toolTipText=aTag.getAttribute("String_Node_Str");
    aComponent.setTitle(toolTipText);
  }
  String prefWidth=aTag.getAttribute("String_Node_Str");
  String prefHeight=aTag.getAttribute("String_Node_Str");
  if (prefWidth != null && prefHeight != null) {
    Size size=new Size(Util.parseInt(prefWidth,0),Util.parseInt(prefHeight,0));
    componentsPreferredSize.put(widgetName,size);
  }
  if (aTag.hasAttribute("String_Node_Str")) {
    final String componentPopupMenu=aTag.getAttribute("String_Node_Str");
    postponedTasks.add(new Runnable(){
      @Override public void run(){
        Component comp=components.get(componentPopupMenu);
        if (comp instanceof Menu) {
          aComponent.setContextMenu((Menu)comp);
          aComponent.setData(ControlsUtils.CONTEXT_MENU,comp);
        }
 else         Logger.getLogger(GxtControlsFactory.class.getName()).log(Level.WARNING,"String_Node_Str" + widgetName);
      }
    }
);
  }
  final boolean inheritsPopupMenu=Utils.getBooleanAttribute(aTag,"String_Node_Str",false);
  if (aTag.hasAttribute("String_Node_Str")) {
    aPublished.setBackground(ControlsUtils.parseColor(aTag.getAttribute("String_Node_Str")));
  }
  if (aTag.hasAttribute("String_Node_Str")) {
    aPublished.setForeground(ControlsUtils.parseColor(aTag.getAttribute("String_Node_Str")));
  }
  boolean opaque=Utils.getBooleanAttribute(aTag,"String_Node_Str",aDefaultOpaque);
  if (!opaque)   aPublished.setOpaque(opaque);
  if (!isRoot) {
    Element fontTag=Utils.getElementByTagName(aTag,"String_Node_Str");
    if (fontTag != null) {
      String fontFamily=null;
      if (fontTag.hasAttribute("String_Node_Str")) {
        fontFamily=fontTag.getAttribute("String_Node_Str");
      }
      int fontSize=0;
      if (fontTag.hasAttribute("String_Node_Str")) {
        fontSize=Utils.getIntegerAttribute(fontTag,"String_Node_Str",10);
      }
      int fontStyle=0;
      if (fontTag.hasAttribute("String_Node_Str")) {
        fontStyle=Utils.getIntegerAttribute(fontTag,"String_Node_Str",0);
      }
      aPublished.setFont(PublishedFont.create(fontFamily,fontStyle,fontSize));
    }
  }
  if (aTag.hasAttribute("String_Node_Str")) {
    aPublished.setCursor(convertCursor(Utils.getIntegerAttribute(aTag,"String_Node_Str",0)));
  }
  return aComponent;
}