Program: 167581
Project: 167581
Buggy source:
@Override public void nodeSelectionChanged(List<String> selectedNodes){
  this.metaDataPanel.removeAll();
  if (selectedNodes.size() > 0) {
    this.selectedNode=selectedNodes.get(0);
    SwingWorker<Map<String,String>,Void> worker=new SwingWorker<Map<String,String>,Void>(){
      @Override protected Map<String,String> doInBackground() throws Exception {
        return NodeViewerMetaData.this.zooInspectorManager.getNodeMeta(NodeViewerMetaData.this.selectedNode);
      }
      @Override protected void done(){
        Map<String,String> data=null;
        try {
          data=get();
        }
 catch (        InterruptedException e) {
          data=new HashMap<String,String>();
          LoggerFactory.getLogger().error("String_Node_Str" + NodeViewerMetaData.this.selectedNode,e);
        }
catch (        ExecutionException e) {
          data=new HashMap<String,String>();
          LoggerFactory.getLogger().error("String_Node_Str" + NodeViewerMetaData.this.selectedNode,e);
        }
        NodeViewerMetaData.this.metaDataPanel.setLayout(new GridBagLayout());
        JPanel infoPanel=new JPanel();
        infoPanel.setBackground(Color.WHITE);
        infoPanel.setLayout(new GridBagLayout());
        int i=0;
        int rowPos=0;
        for (        Map.Entry<String,String> entry : data.entrySet()) {
          rowPos=2 * i + 1;
          JLabel label=new JLabel(entry.getKey());
          JTextField text=new JTextField(entry.getValue());
          text.setEditable(false);
          GridBagConstraints c1=new GridBagConstraints();
          c1.gridx=0;
          c1.gridy=rowPos;
          c1.gridwidth=1;
          c1.gridheight=1;
          c1.weightx=0;
          c1.weighty=0;
          c1.anchor=GridBagConstraints.WEST;
          c1.fill=GridBagConstraints.HORIZONTAL;
          c1.insets=new Insets(5,5,5,5);
          c1.ipadx=0;
          c1.ipady=0;
          infoPanel.add(label,c1);
          GridBagConstraints c2=new GridBagConstraints();
          c2.gridx=2;
          c2.gridy=rowPos;
          c2.gridwidth=1;
          c2.gridheight=1;
          c2.weightx=0;
          c2.weighty=0;
          c2.anchor=GridBagConstraints.WEST;
          c2.fill=GridBagConstraints.HORIZONTAL;
          c2.insets=new Insets(5,5,5,5);
          c2.ipadx=0;
          c2.ipady=0;
          infoPanel.add(text,c2);
          i++;
        }
        GridBagConstraints c=new GridBagConstraints();
        c.gridx=1;
        c.gridy=rowPos;
        c.gridwidth=1;
        c.gridheight=1;
        c.weightx=1;
        c.weighty=1;
        c.anchor=GridBagConstraints.NORTHWEST;
        c.fill=GridBagConstraints.NONE;
        c.insets=new Insets(5,5,5,5);
        c.ipadx=0;
        c.ipady=0;
        NodeViewerMetaData.this.metaDataPanel.add(infoPanel,c);
        NodeViewerMetaData.this.metaDataPanel.revalidate();
        NodeViewerMetaData.this.metaDataPanel.repaint();
      }
    }
;
    worker.execute();
  }
}

Fixed version (ground truth):
@Override public void nodeSelectionChanged(List<String> selectedNodes){
  this.metaDataPanel.removeAll();
  this.metaDataPanel.setLayout(new GridBagLayout());
  if (selectedNodes.size() > 0) {
    final String selectedNode=selectedNodes.get(0);
    SwingWorker<Map<String,String>,Void> worker=new SwingWorker<Map<String,String>,Void>(){
      @Override protected Map<String,String> doInBackground() throws Exception {
        return NodeViewerMetaData.this.zooInspectorManager.getNodeMeta(selectedNode);
      }
      @Override protected void done(){
        Map<String,String> data=null;
        try {
          data=get();
        }
 catch (        InterruptedException e) {
          data=new HashMap<String,String>();
          LoggerFactory.getLogger().error("String_Node_Str" + selectedNode,e);
        }
catch (        ExecutionException e) {
          data=new HashMap<String,String>();
          LoggerFactory.getLogger().error("String_Node_Str" + selectedNode,e);
        }
        JPanel infoPanel=new JPanel();
        infoPanel.setBackground(Color.WHITE);
        infoPanel.setLayout(new GridBagLayout());
        int i=0;
        int rowPos=0;
        for (        Map.Entry<String,String> entry : data.entrySet()) {
          rowPos=2 * i + 1;
          JLabel label=new JLabel(entry.getKey());
          JTextField text=new JTextField(entry.getValue());
          text.setEditable(false);
          GridBagConstraints c1=new GridBagConstraints();
          c1.gridx=0;
          c1.gridy=rowPos;
          c1.gridwidth=1;
          c1.gridheight=1;
          c1.weightx=0;
          c1.weighty=0;
          c1.anchor=GridBagConstraints.WEST;
          c1.fill=GridBagConstraints.HORIZONTAL;
          c1.insets=new Insets(5,5,5,5);
          c1.ipadx=0;
          c1.ipady=0;
          infoPanel.add(label,c1);
          GridBagConstraints c2=new GridBagConstraints();
          c2.gridx=2;
          c2.gridy=rowPos;
          c2.gridwidth=1;
          c2.gridheight=1;
          c2.weightx=0;
          c2.weighty=0;
          c2.anchor=GridBagConstraints.WEST;
          c2.fill=GridBagConstraints.HORIZONTAL;
          c2.insets=new Insets(5,5,5,5);
          c2.ipadx=0;
          c2.ipady=0;
          infoPanel.add(text,c2);
          i++;
        }
        GridBagConstraints c=new GridBagConstraints();
        c.gridx=1;
        c.gridy=rowPos;
        c.gridwidth=1;
        c.gridheight=1;
        c.weightx=1;
        c.weighty=1;
        c.anchor=GridBagConstraints.NORTHWEST;
        c.fill=GridBagConstraints.NONE;
        c.insets=new Insets(5,5,5,5);
        c.ipadx=0;
        c.ipady=0;
        NodeViewerMetaData.this.metaDataPanel.add(infoPanel,c);
        NodeViewerMetaData.this.metaDataPanel.revalidate();
        NodeViewerMetaData.this.metaDataPanel.repaint();
      }
    }
;
    worker.execute();
  }
}