Program: 143711
Project: 143711
Buggy source:
private void init(){
  add(new HeaderContributor(new IHeaderContributor(){
    private static final long serialVersionUID=1L;
    public void renderHead(    IHeaderResponse response){
      response.renderCSSReference(new CompressedResourceReference(WebDataLookupField.class,"String_Node_Str"));
    }
  }
){
    @Override public boolean isEnabled(    Component component){
      return !getScriptObject().js_isReadOnly() && getScriptObject().js_isEnabled();
    }
  }
);
  setOutputMarkupPlaceholderTag(true);
  AutoCompleteSettings behSettings=new AutoCompleteSettings();
  behSettings.setMaxHeightInPx(200);
  behSettings.setPreselect(true);
  behSettings.setShowCompleteListOnFocusGain(true);
  behSettings.setAdjustInputWidth(false);
  ClientProperties clp=(application.getApplicationType() != IApplication.HEADLESS_CLIENT ? ((WebClientInfo)Session.get().getClientInfo()).getProperties() : null);
  if (clp != null && (!clp.isBrowserInternetExplorer() || clp.getBrowserVersionMajor() >= 8)) {
    behSettings.setUseSmartPositioning(true);
    behSettings.setUseHideShowCoveredIEFix(false);
  }
 else {
    behSettings.setUseSmartPositioning(false);
    behSettings.setUseHideShowCoveredIEFix(true);
  }
  behSettings.setThrottleDelay(500);
  AbstractAutoCompleteTextRenderer<Object> renderer=new AbstractAutoCompleteTextRenderer<Object>(){
    @Override protected String getTextValue(    Object object){
      String str=(object == null ? "String_Node_Str" : object.toString());
      if (str.trim().equals("String_Node_Str"))       str="String_Node_Str";
      return str;
    }
  }
;
  AutoCompleteBehavior<Object> beh=new AutoCompleteBehavior<Object>(renderer,behSettings){
    private static final long serialVersionUID=1L;
    /** 
 * @see org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior#getChoices(java.lang.String)
 */
    @Override protected Iterator<Object> getChoices(    String input){
      try {
        dlm.fill(parentState,getDataProviderID(),input,false);
        return dlm.iterator();
      }
 catch (      Exception ex) {
        Debug.error(ex);
      }
      return Collections.emptyList().iterator();
    }
    /** 
 * @see org.apache.wicket.ajax.AbstractDefaultAjaxBehavior#getFailureScript()
 */
    @Override protected CharSequence getFailureScript(){
      return "String_Node_Str";
    }
    /** 
 * @see org.apache.wicket.ajax.AbstractDefaultAjaxBehavior#getPreconditionScript()
 */
    @Override protected CharSequence getPreconditionScript(){
      return "String_Node_Str" + super.getPreconditionScript();
    }
    @Override public void renderHead(    IHeaderResponse response){
      settings.setShowListOnEmptyInput(Boolean.TRUE.equals(UIUtils.getUIProperty(getScriptObject(),application,IApplication.TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY,Boolean.TRUE)));
      settings.setShowListOnFocusGain(Boolean.TRUE.equals(UIUtils.getUIProperty(getScriptObject(),application,IApplication.TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN,Boolean.TRUE)));
      if (!getScriptObject().js_isReadOnly() && getScriptObject().js_isEnabled()) {
        super.renderHead(response);
        response.renderJavascript("String_Node_Str","String_Node_Str");
      }
    }
    /** 
 * @see org.apache.wicket.behavior.AbstractBehavior#isEnabled(org.apache.wicket.Component)
 */
    @Override public boolean isEnabled(    Component component){
      return super.isEnabled(component) && WebClientSession.get().useAjax();
    }
  }
;
  add(beh);
}

Fixed version (ground truth):
private void init(){
  add(new HeaderContributor(new IHeaderContributor(){
    private static final long serialVersionUID=1L;
    @SuppressWarnings("String_Node_Str") public void renderHead(    IHeaderResponse response){
      response.renderCSSReference(new CompressedResourceReference(WebDataLookupField.class,"String_Node_Str"));
      StringBuffer headerStyle=new StringBuffer();
      headerStyle.append("String_Node_Str");
      headerStyle.append("String_Node_Str" + getMarkupId() + "String_Node_Str"+ "String_Node_Str");
      headerStyle.append("String_Node_Str");
      headerStyle.append("String_Node_Str" + getFont().getSize() + "String_Node_Str");
      headerStyle.append("String_Node_Str");
      headerStyle.append("String_Node_Str");
      headerStyle.append("String_Node_Str");
      headerStyle.append("String_Node_Str");
      response.renderString(headerStyle.toString());
    }
  }
){
    @Override public boolean isEnabled(    Component component){
      return !getScriptObject().js_isReadOnly() && getScriptObject().js_isEnabled();
    }
  }
);
  setOutputMarkupPlaceholderTag(true);
  AutoCompleteSettings behSettings=new AutoCompleteSettings();
  behSettings.setMaxHeightInPx(200);
  behSettings.setPreselect(true);
  behSettings.setShowCompleteListOnFocusGain(true);
  behSettings.setAdjustInputWidth(false);
  ClientProperties clp=(application.getApplicationType() != IApplication.HEADLESS_CLIENT ? ((WebClientInfo)Session.get().getClientInfo()).getProperties() : null);
  if (clp != null && (!clp.isBrowserInternetExplorer() || clp.getBrowserVersionMajor() >= 8)) {
    behSettings.setUseSmartPositioning(true);
    behSettings.setUseHideShowCoveredIEFix(false);
  }
 else {
    behSettings.setUseSmartPositioning(false);
    behSettings.setUseHideShowCoveredIEFix(true);
  }
  behSettings.setThrottleDelay(500);
  AbstractAutoCompleteTextRenderer<Object> renderer=new AbstractAutoCompleteTextRenderer<Object>(){
    @Override protected String getTextValue(    Object object){
      String str=(object == null ? "String_Node_Str" : object.toString());
      if (str.trim().equals("String_Node_Str"))       str="String_Node_Str";
      return str;
    }
  }
;
  AutoCompleteBehavior<Object> beh=new AutoCompleteBehavior<Object>(renderer,behSettings){
    private static final long serialVersionUID=1L;
    /** 
 * @see org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior#getChoices(java.lang.String)
 */
    @Override protected Iterator<Object> getChoices(    String input){
      try {
        dlm.fill(parentState,getDataProviderID(),input,false);
        return dlm.iterator();
      }
 catch (      Exception ex) {
        Debug.error(ex);
      }
      return Collections.emptyList().iterator();
    }
    /** 
 * @see org.apache.wicket.ajax.AbstractDefaultAjaxBehavior#getFailureScript()
 */
    @Override protected CharSequence getFailureScript(){
      return "String_Node_Str";
    }
    /** 
 * @see org.apache.wicket.ajax.AbstractDefaultAjaxBehavior#getPreconditionScript()
 */
    @Override protected CharSequence getPreconditionScript(){
      return "String_Node_Str" + super.getPreconditionScript();
    }
    @Override public void renderHead(    IHeaderResponse response){
      settings.setShowListOnEmptyInput(Boolean.TRUE.equals(UIUtils.getUIProperty(getScriptObject(),application,IApplication.TYPE_AHEAD_SHOW_POPUP_WHEN_EMPTY,Boolean.TRUE)));
      settings.setShowListOnFocusGain(Boolean.TRUE.equals(UIUtils.getUIProperty(getScriptObject(),application,IApplication.TYPE_AHEAD_SHOW_POPUP_ON_FOCUS_GAIN,Boolean.TRUE)));
      if (!getScriptObject().js_isReadOnly() && getScriptObject().js_isEnabled()) {
        super.renderHead(response);
        response.renderJavascript("String_Node_Str","String_Node_Str");
      }
    }
    /** 
 * @see org.apache.wicket.behavior.AbstractBehavior#isEnabled(org.apache.wicket.Component)
 */
    @Override public boolean isEnabled(    Component component){
      return super.isEnabled(component) && WebClientSession.get().useAjax();
    }
  }
;
  add(beh);
}