Program: 69805
Project: 69805
Buggy source:
/** 
 * Outputs the flash.
 * @param ele
 * @param cssStyles
 * @param content
 */
protected static void outputFlash(Element ele,Map cssStyles,IContent content){
  String src=ele.getAttribute("String_Node_Str");
  if (src != null) {
    ObjectContent flash=(ObjectContent)((ReportContent)(content.getReportContent())).createObjectContent();
    flash.setExtension("String_Node_Str");
    flash.setMIMEType("String_Node_Str");
    addChild(content,flash);
    handleStyle(ele,cssStyles,flash);
    if (!FileUtil.isLocalResource(src)) {
      flash.setImageSource(IImageContent.IMAGE_URL);
      flash.setURI(src);
    }
 else {
      ReportDesignHandle handle=content.getReportContent().getDesign().getReportDesign();
      URL url=handle.findResource(src,IResourceLocator.IMAGE,content.getReportContent().getReportContext() == null ? null : content.getReportContent().getReportContext().getAppContext());
      if (url != null) {
        src=url.toString();
      }
      flash.setImageSource(IImageContent.IMAGE_FILE);
      flash.setURI(src);
    }
    IForeignContent foreign=getForeignRoot(content);
    if (null != ele.getAttribute("String_Node_Str") && !"String_Node_Str".equals(ele.getAttribute("String_Node_Str"))) {
      flash.setWidth(PropertyUtil.getDimensionAttribute(ele,"String_Node_Str"));
    }
 else {
      if (null != foreign)       flash.setWidth(foreign.getWidth());
    }
    if (ele.getAttribute("String_Node_Str") != null && !"String_Node_Str".equals(ele.getAttribute("String_Node_Str"))) {
      flash.setHeight(PropertyUtil.getDimensionAttribute(ele,"String_Node_Str"));
    }
 else {
      if (null != foreign)       flash.setHeight(foreign.getHeight());
    }
    String flashVars=ele.getAttribute("String_Node_Str");
    if (flashVars != null && !"String_Node_Str".equals(flashVars)) {
      flash.addParam("String_Node_Str",flashVars);
    }
    String alt=ele.getAttribute("String_Node_Str");
    if (alt != null && !"String_Node_Str".equals(alt)) {
      flash.setAltText(alt);
    }
  }
}

Fixed version (ground truth):
/** 
 * Outputs the flash.
 * @param ele
 * @param cssStyles
 * @param content
 */
protected static void outputFlash(Element ele,Map cssStyles,IContent content){
  String src=ele.getAttribute("String_Node_Str");
  if (src != null) {
    ObjectContent flash=(ObjectContent)((ReportContent)(content.getReportContent())).createObjectContent();
    flash.setExtension("String_Node_Str");
    flash.setMIMEType("String_Node_Str");
    addChild(content,flash);
    handleStyle(ele,cssStyles,flash);
    if (!FileUtil.isLocalResource(src)) {
      flash.setImageSource(IImageContent.IMAGE_URL);
      flash.setURI(src);
    }
 else {
      ReportDesignHandle handle=content.getReportContent().getDesign().getReportDesign();
      URL url=handle.findResource(src,IResourceLocator.IMAGE,content.getReportContent().getReportContext() == null ? null : content.getReportContent().getReportContext().getAppContext());
      if (url != null) {
        src=url.toString();
      }
      flash.setImageSource(IImageContent.IMAGE_FILE);
      flash.setURI(src);
    }
    IForeignContent foreign=getForeignRoot(content);
    if (null != foreign) {
      flash.setWidth(foreign.getWidth());
      flash.setHeight(foreign.getHeight());
    }
    String flashVars=ele.getAttribute("String_Node_Str");
    if (flashVars != null && !"String_Node_Str".equals(flashVars)) {
      flash.addParam("String_Node_Str",flashVars);
    }
    String alt=ele.getAttribute("String_Node_Str");
    if (alt != null && !"String_Node_Str".equals(alt)) {
      flash.setAltText(alt);
    }
  }
}