Program: 133678
Project: 133678
Buggy source:
@Override protected Composite createPlotComposite(Composite parent,int style,VtkWebClient connection) throws Exception {
  if (viewId < 0 || fileId < 0 || repId < 0) {
    String fullPath=((ParaViewPlot)plot).getParaViewConnectionAdapter().findRelativePath(plot.getDataSource().getPath());
    List<Object> args=new ArrayList<Object>();
    JSONObject object;
    args.add(fullPath);
    object=connection.call("String_Node_Str",args).get();
    viewId=object.getInt("String_Node_Str");
    fileId=object.getInt("String_Node_Str");
    repId=object.getInt("String_Node_Str");
    if (viewId < 0 || fileId < 0 || repId < 0) {
      throw new Exception("String_Node_Str" + "String_Node_Str" + plot.getVizService().getName() + "String_Node_Str");
    }
  }
  Composite plotContainer=new Composite(parent,style);
  plotContainer.setBackground(parent.getBackground());
  plotContainer.setFont(parent.getFont());
  GridLayout gridLayout=new GridLayout();
  gridLayout.marginWidth=0;
  gridLayout.marginHeight=0;
  plotContainer.setLayout(gridLayout);
  ToolBarManager toolBarManager=new ToolBarManager();
  this.toolBar=toolBarManager;
  ToolBar toolBar=toolBarManager.createControl(plotContainer);
  toolBar.setBackground(parent.getBackground());
  toolBar.setFont(parent.getFont());
  toolBar.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,false));
  fillToolBar(toolBarManager,connection);
  final Composite composite=new Composite(plotContainer,SWT.EMBEDDED | SWT.DOUBLE_BUFFERED);
  composite.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true));
  final InteractiveRenderPanel renderPanel=new InteractiveRenderPanel(connection,viewId,4,80,1);
  Frame frame=SWT_AWT.new_Frame(composite);
  frame.setLayout(new BorderLayout());
  frame.add(renderPanel,BorderLayout.CENTER);
  composite.addControlListener(new ControlAdapter(){
    @Override public void controlResized(    ControlEvent e){
      renderPanel.dirty();
    }
  }
);
  return plotContainer;
}

Fixed version (ground truth):
@Override protected Composite createPlotComposite(Composite parent,int style,VtkWebClient connection) throws Exception {
  if (viewId < 0 || fileId < 0 || repId < 0) {
    String fullPath=((ParaViewPlot)plot).getParaViewConnectionAdapter().findRelativePath(plot.getDataSource().getPath());
    List<Object> args=new ArrayList<Object>();
    JSONObject object;
    args.add(fullPath);
    object=connection.call("String_Node_Str",args).get();
    viewId=object.getInt("String_Node_Str");
    fileId=object.getInt("String_Node_Str");
    repId=object.getInt("String_Node_Str");
    if (viewId < 0 || fileId < 0 || repId < 0) {
      throw new Exception("String_Node_Str" + "String_Node_Str" + plot.getVizService().getName() + "String_Node_Str");
    }
  }
  Composite plotContainer=new Composite(parent,style);
  plotContainer.setBackground(parent.getBackground());
  plotContainer.setFont(parent.getFont());
  GridLayout gridLayout=new GridLayout();
  gridLayout.marginWidth=0;
  gridLayout.marginHeight=0;
  plotContainer.setLayout(gridLayout);
  ToolBarManager toolBarManager=new ToolBarManager();
  this.toolBar=toolBarManager;
  ToolBar toolBar=toolBarManager.createControl(plotContainer);
  toolBar.setBackground(parent.getBackground());
  toolBar.setFont(parent.getFont());
  toolBar.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,false));
  fillToolBar(toolBarManager,connection);
  final Composite composite=new Composite(plotContainer,SWT.EMBEDDED | SWT.DOUBLE_BUFFERED);
  composite.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true));
  renderPanel=new InteractiveRenderPanel(connection,viewId,4,80,1);
  Frame frame=SWT_AWT.new_Frame(composite);
  frame.setLayout(new BorderLayout());
  frame.add(renderPanel,BorderLayout.CENTER);
  composite.addControlListener(new ControlAdapter(){
    @Override public void controlResized(    ControlEvent e){
      renderPanel.dirty();
    }
  }
);
  refreshWidget(true,connection);
  return plotContainer;
}