Buggy code:
@ Serialized public class UIFormInputSet extends UIContainer { private transient BeanDataMapping beanMapping = null ; private static String selectedCompId = "" ; public UIFormInputSet ( ) { } public UIFormInputSet ( String name ) { } public UIFormInputSet addUIFormInput ( UIFormInput input ) { } public UIFormInputSet addUIFormInput ( UIFormInputSet input ) { } public String getName ( ) { } @ SuppressWarnings ( "unchecked" ) public < T extends UIFormInput > T getUIInput ( String name ) { } public UIFormStringInput getUIStringInput ( String name ) { } public String getSelectedComponentId ( ) { } public void setSelectedComponent ( String renderCompId ) { } public void setSelectedComponent ( int index ) { } public UIFormCheckBoxInput getUIFormCheckBoxInput ( String name ) { } public UICheckBoxInput getUICheckBoxInput ( String name ) { } public UIFormSelectBox getUIFormSelectBox ( String name ) { } public UIFormInputInfo getUIFormInputInfo ( String name ) { } public UIFormTextAreaInput getUIFormTextAreaInput ( String name ) { } public void reset ( ) { } public void invokeGetBindingField ( Object bean ) throws Exception { } public void invokeSetBindingField ( Object bean ) throws Exception { } public void processDecode ( WebuiRequestContext context ) throws Exception { } public void processRender ( WebuiRequestContext context ) throws Exception { if ( ( getComponentConfig ( ) ) != null ) { super . processRender ( context ) ; return ; } Writer w = context . getWriter ( ) ; w . write ( "<div<seq2seq4repair_space>class=\"UIFormInputSet\">" ) ; w . write ( "<div<seq2seq4repair_space>class=\"form-horizontal\">" ) ; ResourceBundle res = context . getApplicationResourceBundle ( ) ; UIForm uiForm = getAncestorOfType ( UIForm . class ) ; boolean required = false ; for ( UIComponent inputEntry : getChildren ( ) ) { if ( ( ! required ) && ( inputEntry instanceof UIFormInputBase ) ) { required = ( ( UIFormInputBase ) ( inputEntry ) ) . isMandatory ( ) ; } } if ( required ) <START_BUG> w . write ( ( ( "<tr><td<seq2seq4repair_space>colspan=\"2\"<seq2seq4repair_space>class=\"require\">" + ( res . getString ( "legend.required_field" ) ) ) + "<seq2seq4repair_space>(*)<//td><//tr>" ) ) ; <END_BUG> for ( UIComponent inputEntry : getChildren ( ) ) { if ( inputEntry . isRendered ( ) ) { String label = "" ; boolean hasLabel = false ; if ( inputEntry instanceof UIFormInputBase ) { UIFormInputBase formInputBase = ( ( UIFormInputBase ) ( inputEntry ) ) ; if ( ( formInputBase . getLabel ( ) ) != null ) { label = uiForm . getLabel ( res , formInputBase . getLabel ( ) ) ; } else { label = uiForm . getLabel ( res , formInputBase . getId ( ) ) ; } if ( ( ( formInputBase . getLabel ( ) ) != null ) || ( label != ( formInputBase . getId ( ) ) ) ) { hasLabel = true ; } } w . write ( "<div<seq2seq4repair_space>class=\"control-group\">" ) ; if ( hasLabel ) { w . write ( ( ( "<label<seq2seq4repair_space>class=\"control-label\"<seq2seq4repair_space>for=\"" + ( inputEntry . getId ( ) ) ) + "\">" ) ) ; w . write ( label ) ; w . write ( "<//label>" ) ; w . write ( "<div<seq2seq4repair_space>class=\"controls\">" ) ; } else { w . write ( "<div<seq2seq4repair_space>class=\"controls-full\">" ) ; } renderUIComponent ( inputEntry ) ; w . write ( "<//div>" ) ; w . write ( "<//div>" ) ; } } w . write ( "<//div>" ) ; w . write ( "<//div>" ) ; } public static class SelectComponentActionListener extends EventListener < UIFormInputSet > { public void execute ( Event < UIFormInputSet > event ) throws Exception { } } }

Fix:
w . write ( ( ( "<div<seq2seq4repair_space>class=\"require\">" + ( res . getString ( "legend.required_field" ) ) ) + "<seq2seq4repair_space>(*)<//div>" ) ) ;