Program: 67237
Project: 67237
Buggy source:
protected void createFilterConditionContent(Composite innerParent){
  Composite anotherParent=new Composite(innerParent,SWT.NONE);
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  anotherParent.setLayoutData(gd);
  GridLayout glayout=new GridLayout(4,false);
  anotherParent.setLayout(glayout);
  Label lb=new Label(anotherParent,SWT.NONE);
  lb.setText(Messages.getString("String_Node_Str"));
  Label lb2=new Label(anotherParent,SWT.NONE);
  lb2.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  new Label(anotherParent,SWT.NONE);
  Composite condition=new Composite(innerParent,SWT.NONE);
  gd=new GridData(GridData.FILL_BOTH);
  gd.heightHint=180;
  condition.setLayoutData(gd);
  glayout=new GridLayout(5,false);
  condition.setLayout(glayout);
  expression=new Combo(condition,SWT.NONE);
  GridData gdata=new GridData();
  gdata.widthHint=100;
  expression.setLayoutData(gdata);
  expression.addListener(SWT.Selection,comboModifyListener);
  if (expression.getItemCount() == 0) {
    expression.add(DEUtil.resolveNull(null));
  }
  expression.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      if (expression.getText().equals(VALUE_OF_THIS_DATA_ITEM) && designHandle instanceof DataItemHandle) {
        expression.setText(DEUtil.getColumnExpression(((DataItemHandle)designHandle).getResultSetColumn()));
      }
      updateButtons();
    }
  }
);
  ExpressionProvider ep=new ChartExpressionProvider(designHandle,context,ChartReportItemUIUtil.getExpressionBuilderStyle(IUIServiceProvider.COMMAND_EXPRESSION_DATA_BINDINGS));
  expButton=ChartExpressionButtonUtil.createExpressionButton(condition,expression,(ExtendedItemHandle)designHandle,ep);
  expButton.addListener(new Listener(){
    public void handleEvent(    Event event){
      if (event.data instanceof String[]) {
        updateButtons();
        if (!expButton.getExpression().equals(fCurrentExpr)) {
          needRefreshList=true;
          fCurrentExpr=expButton.getExpression();
        }
      }
    }
  }
);
  expButton.setPredefinedQuery(getDataSetColumns());
  operator=new Combo(condition,SWT.READ_ONLY);
  for (int i=0; i < OPERATOR.length; i++) {
    operator.add(OPERATOR[i][0]);
  }
  operator.setVisibleItemCount(30);
  operator.addSelectionListener(operatorSelectionListener);
  create2ValueComposite(condition);
  if (inputHandle != null) {
    syncViewProperties();
  }
  lb=new Label(innerParent,SWT.SEPARATOR | SWT.HORIZONTAL);
  lb.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
}

Fixed version (ground truth):
protected void createFilterConditionContent(Composite innerParent){
  Composite anotherParent=new Composite(innerParent,SWT.NONE);
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  anotherParent.setLayoutData(gd);
  GridLayout glayout=new GridLayout(4,false);
  anotherParent.setLayout(glayout);
  Label lb=new Label(anotherParent,SWT.NONE);
  lb.setText(Messages.getString("String_Node_Str"));
  Label lb2=new Label(anotherParent,SWT.NONE);
  lb2.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  new Label(anotherParent,SWT.NONE);
  Composite condition=new Composite(innerParent,SWT.NONE);
  gd=new GridData(GridData.FILL_BOTH);
  gd.heightHint=180;
  condition.setLayoutData(gd);
  glayout=new GridLayout(5,false);
  condition.setLayout(glayout);
  expression=new Combo(condition,SWT.NONE);
  GridData gdata=new GridData();
  gdata.widthHint=100;
  expression.setLayoutData(gdata);
  expression.addListener(SWT.Selection,comboModifyListener);
  if (expression.getItemCount() == 0) {
    expression.add(DEUtil.resolveNull(null));
  }
  expression.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      if (expression.getText().equals(VALUE_OF_THIS_DATA_ITEM) && designHandle instanceof DataItemHandle) {
        expression.setText(DEUtil.getColumnExpression(((DataItemHandle)designHandle).getResultSetColumn()));
      }
      updateButtons();
    }
  }
);
  ExpressionProvider ep=new ChartExpressionProvider(designHandle,context,ChartReportItemUIUtil.getExpressionBuilderStyle(IUIServiceProvider.COMMAND_EXPRESSION_DATA_BINDINGS));
  expressionProvider=ep;
  expButton=ChartExpressionButtonUtil.createExpressionButton(condition,expression,(ExtendedItemHandle)designHandle,ep);
  expButton.addListener(new Listener(){
    public void handleEvent(    Event event){
      if (event.data instanceof String[]) {
        updateButtons();
        if (!expButton.getExpression().equals(fCurrentExpr)) {
          needRefreshList=true;
          fCurrentExpr=expButton.getExpression();
        }
      }
    }
  }
);
  expButton.setPredefinedQuery(getDataSetColumns());
  operator=new Combo(condition,SWT.READ_ONLY);
  for (int i=0; i < OPERATOR.length; i++) {
    operator.add(OPERATOR[i][0]);
  }
  operator.setVisibleItemCount(30);
  operator.addSelectionListener(operatorSelectionListener);
  create2ValueComposite(condition);
  if (inputHandle != null) {
    syncViewProperties();
  }
  lb=new Label(innerParent,SWT.SEPARATOR | SWT.HORIZONTAL);
  lb.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
}