Program: 143592
Project: 143592
Buggy source:
/** 
 * @param id
 */
public WebForm(final FormController controller){
  super("String_Node_Str");
  TabIndexHelper.setUpTabIndexAttributeModifier(this,ISupportWebTabSeq.SKIP);
  this.variation="String_Node_Str" + controller.getForm().getSolution().getName() + "String_Node_Str"+ controller.getName()+ "String_Node_Str";
  this.formController=controller;
  final IFormLayoutProvider layoutProvider=FormLayoutProviderFactory.getFormLayoutProvider(formController.getApplication(),formController.getApplication().getSolution(),formController.getForm(),formController.getName());
  TextualStyle panelStyle=layoutProvider.getLayoutForForm(0,false,true);
  add(new StyleAppendingModifier(panelStyle){
    @Override public boolean isEnabled(    Component component){
      return ((component.findParent(IWebFormContainer.class) != null) && !(component.findParent(IWebFormContainer.class) instanceof WebAccordionPanel));
    }
  }
);
  add(new StyleAppendingModifier(new Model<String>(){
    private static final long serialVersionUID=1L;
    @Override public String getObject(){
      IWebFormContainer container=findParent(IWebFormContainer.class);
      if (container != null && !(container instanceof WebAccordionPanel) && container.getBorder() instanceof TitledBorder) {
        int offset=ComponentFactoryHelper.getTitledBorderHeight(container.getBorder());
        return "String_Node_Str" + offset + "String_Node_Str";
      }
      return "String_Node_Str";
    }
  }
){
    @Override public boolean isEnabled(    Component component){
      IWebFormContainer container=component.findParent(IWebFormContainer.class);
      if (container != null && container.getBorder() instanceof TitledBorder) {
        return super.isEnabled(component);
      }
      return false;
    }
  }
);
  container=new WebMarkupContainer("String_Node_Str"){
    @Override protected void onComponentTagBody(    MarkupStream markupStream,    ComponentTag openTag){
      if (getBorder() instanceof TitledBorder) {
        getResponse().write(WebBaseButton.getTitledBorderOpenMarkup((TitledBorder)getBorder()));
      }
      super.onComponentTagBody(markupStream,openTag);
      if (getBorder() instanceof TitledBorder) {
        getResponse().write(WebBaseButton.getTitledBorderCloseMarkup());
      }
    }
  }
;
  container.add(new StyleAppendingModifier(new Model<String>(){
    private static final long serialVersionUID=1L;
    @Override public String getObject(){
      IWebFormContainer tabpanel=findParent(IWebFormContainer.class);
      if (tabpanel != null) {
        return "String_Node_Str";
      }
      return null;
    }
  }
));
  add(new StyleAppendingModifier(new Model<String>(){
    private static final long serialVersionUID=1L;
    @Override public String getObject(){
      IWebFormContainer formContainer=findParent(IWebFormContainer.class);
      if (formContainer != null) {
        String styleAddition="String_Node_Str";
        if (getBorder() instanceof RoundedBorder) {
          float[] radius=((RoundedBorder)getBorder()).getRadius();
          StringBuilder builder=new StringBuilder();
          builder.append("String_Node_Str");
          for (int i=0; i < 8; i++) {
            builder.append(radius[i]);
            builder.append("String_Node_Str");
            if (i == 3)             builder.append("String_Node_Str");
          }
          builder.append("String_Node_Str");
          styleAddition=builder.toString();
        }
        IStyleRule formStyle=controller.getFormStyle();
        boolean hasSemiTransparentBackground=false;
        if (formStyle != null && formStyle.hasAttribute(CSSName.BACKGROUND_COLOR.toString()) && formStyle.getValue(CSSName.BACKGROUND_COLOR.toString()).contains(PersistHelper.COLOR_RGBA_DEF))         hasSemiTransparentBackground=true;
        if (controller.getForm().getTransparent() || hasSemiTransparentBackground) {
          styleAddition+="String_Node_Str";
        }
        return styleAddition;
      }
      return null;
    }
  }
));
  add(new AttributeAppender("String_Node_Str",new Model<String>(){
    private static final long serialVersionUID=1332637522687352873L;
    @Override public String getObject(){
      return "String_Node_Str";
    }
  }
,"String_Node_Str"){
    @Override public boolean isEnabled(    Component component){
      return (component instanceof WebForm && ((WebForm)component).isDesignMode());
    }
  }
);
  container.setOutputMarkupId(true);
  container.setMarkupId("String_Node_Str" + ComponentFactory.stripIllegalCSSChars(formController.getName()));
  TabIndexHelper.setUpTabIndexAttributeModifier(container,ISupportWebTabSeq.SKIP);
  add(container);
  setOutputMarkupId(true);
}

Fixed version (ground truth):
/** 
 * @param id
 */
public WebForm(final FormController controller){
  super("String_Node_Str");
  TabIndexHelper.setUpTabIndexAttributeModifier(this,ISupportWebTabSeq.SKIP);
  this.variation="String_Node_Str" + controller.getForm().getSolution().getName() + "String_Node_Str"+ controller.getName()+ "String_Node_Str";
  this.formController=controller;
  final IFormLayoutProvider layoutProvider=FormLayoutProviderFactory.getFormLayoutProvider(formController.getApplication(),formController.getApplication().getSolution(),formController.getForm(),formController.getName());
  TextualStyle panelStyle=layoutProvider.getLayoutForForm(0,false,true);
  add(new StyleAppendingModifier(panelStyle){
    @Override public boolean isEnabled(    Component component){
      return ((component.findParent(IWebFormContainer.class) != null) && !(component.findParent(IWebFormContainer.class) instanceof WebAccordionPanel));
    }
  }
);
  add(new StyleAppendingModifier(new Model<String>(){
    private static final long serialVersionUID=1L;
    @Override public String getObject(){
      IWebFormContainer container=findParent(IWebFormContainer.class);
      if (container != null && !(container instanceof WebAccordionPanel) && container.getBorder() instanceof TitledBorder) {
        int offset=ComponentFactoryHelper.getTitledBorderHeight(container.getBorder());
        return "String_Node_Str" + offset + "String_Node_Str";
      }
      return "String_Node_Str";
    }
  }
){
    @Override public boolean isEnabled(    Component component){
      IWebFormContainer container=component.findParent(IWebFormContainer.class);
      if (container != null && container.getBorder() instanceof TitledBorder) {
        return super.isEnabled(component);
      }
      return false;
    }
  }
);
  add(new StyleAppendingModifier(new Model<String>(){
    private static final long serialVersionUID=1L;
    @Override public String getObject(){
      StringBuilder scrollingOverflow=new StringBuilder();
      final int scrollBars=formController.getForm().getScrollbars();
      String overflowX="String_Node_Str";
      if ((scrollBars & ISupportScrollbars.HORIZONTAL_SCROLLBAR_NEVER) == ISupportScrollbars.HORIZONTAL_SCROLLBAR_NEVER)       overflowX="String_Node_Str";
 else       if ((scrollBars & ISupportScrollbars.HORIZONTAL_SCROLLBAR_ALWAYS) == ISupportScrollbars.HORIZONTAL_SCROLLBAR_ALWAYS)       overflowX="String_Node_Str";
      scrollingOverflow.append("String_Node_Str").append(overflowX).append("String_Node_Str");
      String overflowY="String_Node_Str";
      if ((scrollBars & ISupportScrollbars.VERTICAL_SCROLLBAR_NEVER) == ISupportScrollbars.VERTICAL_SCROLLBAR_NEVER)       overflowY="String_Node_Str";
 else       if ((scrollBars & ISupportScrollbars.VERTICAL_SCROLLBAR_ALWAYS) == ISupportScrollbars.VERTICAL_SCROLLBAR_ALWAYS)       overflowY="String_Node_Str";
      scrollingOverflow.append("String_Node_Str").append(overflowY).append("String_Node_Str");
      return scrollingOverflow.toString();
    }
  }
));
  container=new WebMarkupContainer("String_Node_Str"){
    @Override protected void onComponentTagBody(    MarkupStream markupStream,    ComponentTag openTag){
      if (getBorder() instanceof TitledBorder) {
        getResponse().write(WebBaseButton.getTitledBorderOpenMarkup((TitledBorder)getBorder()));
      }
      super.onComponentTagBody(markupStream,openTag);
      if (getBorder() instanceof TitledBorder) {
        getResponse().write(WebBaseButton.getTitledBorderCloseMarkup());
      }
    }
  }
;
  add(new StyleAppendingModifier(new Model<String>(){
    private static final long serialVersionUID=1L;
    @Override public String getObject(){
      IWebFormContainer formContainer=findParent(IWebFormContainer.class);
      if (formContainer != null) {
        String styleAddition="String_Node_Str";
        if (getBorder() instanceof RoundedBorder) {
          float[] radius=((RoundedBorder)getBorder()).getRadius();
          StringBuilder builder=new StringBuilder();
          builder.append("String_Node_Str");
          for (int i=0; i < 8; i++) {
            builder.append(radius[i]);
            builder.append("String_Node_Str");
            if (i == 3)             builder.append("String_Node_Str");
          }
          builder.append("String_Node_Str");
          styleAddition=builder.toString();
        }
        IStyleRule formStyle=controller.getFormStyle();
        boolean hasSemiTransparentBackground=false;
        if (formStyle != null && formStyle.hasAttribute(CSSName.BACKGROUND_COLOR.toString()) && formStyle.getValue(CSSName.BACKGROUND_COLOR.toString()).contains(PersistHelper.COLOR_RGBA_DEF))         hasSemiTransparentBackground=true;
        if (controller.getForm().getTransparent() || hasSemiTransparentBackground) {
          styleAddition+="String_Node_Str";
        }
        return styleAddition;
      }
      return null;
    }
  }
));
  add(new AttributeAppender("String_Node_Str",new Model<String>(){
    private static final long serialVersionUID=1332637522687352873L;
    @Override public String getObject(){
      return "String_Node_Str";
    }
  }
,"String_Node_Str"){
    @Override public boolean isEnabled(    Component component){
      return (component instanceof WebForm && ((WebForm)component).isDesignMode());
    }
  }
);
  container.setOutputMarkupId(true);
  container.setMarkupId("String_Node_Str" + ComponentFactory.stripIllegalCSSChars(formController.getName()));
  TabIndexHelper.setUpTabIndexAttributeModifier(container,ISupportWebTabSeq.SKIP);
  add(container);
  setOutputMarkupId(true);
}