Program: 48161
Project: 48161
Buggy source:
private void createAddonList(){
  JLabel label=new JLabel(lang.translationForKey("String_Node_Str"));
  label.setFont(label.getFont().deriveFont(Font.BOLD));
  GridBagConstraints labelConstraints=new GridBagConstraints();
  labelConstraints.insets=new Insets(5,0,5,10);
  labelConstraints.anchor=GridBagConstraints.NORTH;
  labelConstraints.gridx=0;
  labelConstraints.gridy=3;
  selectionPanel.add(label,labelConstraints);
  addonList=new JList();
  addonList.setFont(addonList.getFont().deriveFont(Font.PLAIN));
  addonList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  GridBagConstraints addonListConstraints=new GridBagConstraints();
  addonListConstraints.insets=new Insets(0,5,5,10);
  addonListConstraints.fill=GridBagConstraints.HORIZONTAL;
  addonListConstraints.anchor=GridBagConstraints.NORTH;
  addonListConstraints.gridx=0;
  addonListConstraints.gridy=4;
  AddonSelectionModel model=new AddonSelectionModel(this,addonPanel);
  addonList.setModel(model);
  addonList.addListSelectionListener(model);
  addWindowListener(model);
  for (  AddonSpecification desc : fileReg.listAddons()) {
    String description=desc.getLocalizedDescription(LANGUAGE_CODE);
    String name=desc.getLocalizedName(LANGUAGE_CODE);
    Image logo=loadLogo(desc.getLogo());
    Properties properties=new Properties();
    try {
      File config=new File(FileUtils.getHomeConfigDir().getAbsolutePath() + File.separatorChar + "String_Node_Str"+ File.separatorChar+ desc.getId()+ "String_Node_Str");
      if (config.exists()) {
        properties.load(new FileReader(config));
      }
 else {
        logger.debug("String_Node_Str",desc.getId());
      }
    }
 catch (    SecurityException e) {
      logger.error("String_Node_Str" + desc.getId(),e);
    }
catch (    IOException e) {
      logger.error("String_Node_Str" + desc.getId(),e);
    }
    SettingsGroup settingsGroup=new DefaultSettingsGroup("String_Node_Str",properties,desc);
    AddonPanel addonPanel=new AddonPanel(new DefaultSettingsPanel(settingsGroup),name,description,logo);
    model.addElement(name,addonPanel);
  }
  selectionPanel.add(addonList,addonListConstraints);
}

Fixed version (ground truth):
private void createAddonList(){
  JLabel label=new JLabel(lang.translationForKey("String_Node_Str"));
  label.setFont(label.getFont().deriveFont(Font.BOLD));
  GridBagConstraints labelConstraints=new GridBagConstraints();
  labelConstraints.insets=new Insets(5,0,5,10);
  labelConstraints.anchor=GridBagConstraints.NORTH;
  labelConstraints.gridx=0;
  labelConstraints.gridy=3;
  selectionPanel.add(label,labelConstraints);
  addonList=new JList();
  addonList.setFont(addonList.getFont().deriveFont(Font.PLAIN));
  addonList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  GridBagConstraints addonListConstraints=new GridBagConstraints();
  addonListConstraints.insets=new Insets(0,5,5,10);
  addonListConstraints.fill=GridBagConstraints.HORIZONTAL;
  addonListConstraints.anchor=GridBagConstraints.NORTH;
  addonListConstraints.gridx=0;
  addonListConstraints.gridy=4;
  AddonSelectionModel model=new AddonSelectionModel(this,addonPanel);
  addonList.setModel(model);
  addonList.addListSelectionListener(model);
  addWindowListener(model);
  for (  AddonSpecification desc : fileReg.listAddons()) {
    String description=desc.getLocalizedDescription(LANGUAGE_CODE);
    String name=desc.getLocalizedName(LANGUAGE_CODE);
    Image logo=loadLogo(desc.getLogo());
    Properties properties=new Properties();
    try {
      File config=new File(FileUtils.getHomeConfigDir().getAbsolutePath() + File.separatorChar + "String_Node_Str"+ File.separatorChar+ desc.getId()+ "String_Node_Str");
      if (config.exists()) {
        properties.load(new FileReader(config));
      }
 else {
        logger.debug("String_Node_Str",desc.getId());
      }
    }
 catch (    SecurityException e) {
      logger.error("String_Node_Str" + desc.getId(),e);
    }
catch (    IOException e) {
      logger.error("String_Node_Str" + desc.getId(),e);
    }
    SettingsGroup settingsGroup=new DefaultSettingsGroup("String_Node_Str",properties,desc);
    AddonPanel nextPanel=new AddonPanel(new DefaultSettingsPanel(settingsGroup),name,description,logo);
    model.addElement(name,nextPanel);
  }
  selectionPanel.add(addonList,addonListConstraints);
}