Program: 167553
Project: 167553
Buggy source:
public ExecutionLogPanel(String executionId,ApplicationContext context){
  this.backgroundRefresherService=context.getBackgroundRefresherService();
  this.executionService=context.getExecutionService();
  this.executionId=executionId;
  HorizontalLayout header1=new HorizontalLayout();
  header1.addComponent(new Label("String_Node_Str",ContentMode.HTML));
  header1.addComponent(flowLabel);
  header1.addComponent(new Label("String_Node_Str",ContentMode.HTML));
  header1.addComponent(startLabel);
  header1.setSpacing(true);
  header1.setMargin(new MarginInfo(true,true,false,true));
  header1.setWidth("String_Node_Str");
  addComponent(header1);
  HorizontalLayout header2=new HorizontalLayout();
  header2.addComponent(new Label("String_Node_Str",ContentMode.HTML));
  header2.addComponent(statusLabel);
  header2.addComponent(new Label("String_Node_Str",ContentMode.HTML));
  header2.addComponent(endLabel);
  header2.setSpacing(true);
  header2.setMargin(new MarginInfo(false,true,true,true));
  header2.setWidth("String_Node_Str");
  addComponent(header2);
  stepContainer.setBeanIdProperty("String_Node_Str");
  stepTable.setContainerDataSource(stepContainer);
  stepTable.setSelectable(true);
  stepTable.setMultiSelect(true);
  stepTable.setImmediate(true);
  stepTable.setSizeFull();
  stepTable.setVisibleColumns(new Object[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  stepTable.setColumnHeaders(new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  stepTable.addValueChangeListener(new ValueChangeListener(){
    public void valueChange(    ValueChangeEvent event){
      @SuppressWarnings("String_Node_Str") Set<String> executionStepIds=(Set<String>)event.getProperty().getValue();
      logContainer.removeAllItems();
      List<ExecutionStepLog> logs=executionService.findExecutionStepLog(executionStepIds);
      logContainer.addAll(logs);
    }
  }
);
  final Table logTable=new Table();
  logTable.setContainerDataSource(logContainer);
  logTable.setSelectable(true);
  logTable.setMultiSelect(true);
  logTable.setSizeFull();
  logTable.addGeneratedColumn("String_Node_Str",new ComponentNameColumnGenerator());
  logTable.setVisibleColumns(new Object[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  logTable.setColumnHeaders(new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  logTable.addItemClickListener(new ItemClickListener(){
    private static final long serialVersionUID=1L;
    @Override public void itemClick(    ItemClickEvent event){
      if (event.isDoubleClick()) {
        Object object=event.getPropertyId();
        if (!object.toString().equals("String_Node_Str")) {
          Object prop=event.getPropertyId();
          String header=logTable.getColumnHeader(prop);
          Property<?> p=event.getItem().getItemProperty(prop);
          String data=String.valueOf(p.getValue());
          new ReadOnlyTextAreaDialog(header,data,false).showAtSize(.5);
        }
      }
    }
  }
);
  VerticalSplitPanel splitPanel=new VerticalSplitPanel();
  splitPanel.setFirstComponent(stepTable);
  splitPanel.setSecondComponent(logTable);
  splitPanel.setSplitPosition(50f);
  splitPanel.setSizeFull();
  addComponent(splitPanel);
  setExpandRatio(splitPanel,1.0f);
  refreshUI(getExecutionData());
  backgroundRefresherService.register(this);
}

Fixed version (ground truth):
public ExecutionLogPanel(String executionId,ApplicationContext context){
  this.backgroundRefresherService=context.getBackgroundRefresherService();
  this.executionService=context.getExecutionService();
  this.executionId=executionId;
  HorizontalLayout header1=new HorizontalLayout();
  header1.addComponent(new Label("String_Node_Str",ContentMode.HTML));
  header1.addComponent(flowLabel);
  header1.addComponent(new Label("String_Node_Str",ContentMode.HTML));
  header1.addComponent(startLabel);
  header1.setSpacing(true);
  header1.setMargin(new MarginInfo(true,true,false,true));
  header1.setWidth("String_Node_Str");
  addComponent(header1);
  HorizontalLayout header2=new HorizontalLayout();
  header2.addComponent(new Label("String_Node_Str",ContentMode.HTML));
  header2.addComponent(statusLabel);
  header2.addComponent(new Label("String_Node_Str",ContentMode.HTML));
  header2.addComponent(endLabel);
  header2.setSpacing(true);
  header2.setMargin(new MarginInfo(false,true,true,true));
  header2.setWidth("String_Node_Str");
  addComponent(header2);
  stepContainer.setBeanIdProperty("String_Node_Str");
  stepTable.setContainerDataSource(stepContainer);
  stepTable.setSelectable(true);
  stepTable.setMultiSelect(true);
  stepTable.setImmediate(true);
  stepTable.setSizeFull();
  stepTable.setVisibleColumns(new Object[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  stepTable.setColumnHeaders(new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  stepTable.addValueChangeListener(new ValueChangeListener(){
    public void valueChange(    ValueChangeEvent event){
      @SuppressWarnings("String_Node_Str") Set<String> executionStepIds=(Set<String>)event.getProperty().getValue();
      logContainer.removeAllItems();
      List<ExecutionStepLog> logs=executionService.findExecutionStepLog(executionStepIds);
      logContainer.addAll(logs);
    }
  }
);
  final Table logTable=new Table();
  logTable.setContainerDataSource(logContainer);
  logTable.setSelectable(true);
  logTable.setMultiSelect(true);
  logTable.setSizeFull();
  logTable.addGeneratedColumn("String_Node_Str",new ComponentNameColumnGenerator());
  logTable.setVisibleColumns(new Object[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  logTable.setColumnHeaders(new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"});
  logTable.addItemClickListener(new ItemClickListener(){
    private static final long serialVersionUID=1L;
    @Override public void itemClick(    ItemClickEvent event){
      if (event.isDoubleClick()) {
        Object object=event.getPropertyId();
        if (!object.toString().equals("String_Node_Str")) {
          Object prop=event.getPropertyId();
          String header=logTable.getColumnHeader(prop);
          Property<?> p=event.getItem().getItemProperty(prop);
          if (p != null) {
            String data=String.valueOf(p.getValue());
            new ReadOnlyTextAreaDialog(header,data,false).showAtSize(.5);
          }
        }
      }
    }
  }
);
  VerticalSplitPanel splitPanel=new VerticalSplitPanel();
  splitPanel.setFirstComponent(stepTable);
  splitPanel.setSecondComponent(logTable);
  splitPanel.setSplitPosition(50f);
  splitPanel.setSizeFull();
  addComponent(splitPanel);
  setExpandRatio(splitPanel,1.0f);
  refreshUI(getExecutionData());
  backgroundRefresherService.register(this);
}