Program: 152145
Project: 152145
Buggy source:
private void licenseButtonActionPerformed(ActionEvent evt){
  try {
    logger.fine("String_Node_Str");
    String license=IOUtils.toString(getClass().getResourceAsStream(RES + "String_Node_Str"),"String_Node_Str");
    final String agpl=IOUtils.toString(getClass().getResourceAsStream(RES + "String_Node_Str"),"String_Node_Str");
    license=StringEscapeUtils.escapeHtml(license);
    license=license.replaceAll("String_Node_Str","String_Node_Str");
    final JTextPane tp=new JTextPane();
    tp.setContentType("String_Node_Str");
    tp.setText("String_Node_Str" + license + "String_Node_Str");
    tp.setEditable(false);
    Dimension d=Toolkit.getDefaultToolkit().getScreenSize();
    tp.setPreferredSize(new Dimension((int)d.getWidth() / 2,(int)d.getHeight() / 2));
    tp.setCaretPosition(0);
    tp.addHyperlinkListener(new HyperlinkListener(){
      @Override public void hyperlinkUpdate(      final HyperlinkEvent e){
        if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
          logger.fine("String_Node_Str");
          tp.setText(null);
          tp.setContentType("String_Node_Str");
          tp.setText(agpl);
          tp.setCaretPosition(0);
        }
      }
    }
);
    String option=l10n.getString("String_Node_Str");
    JOptionPane op=new JOptionPane(new JScrollPane(tp),JOptionPane.INFORMATION_MESSAGE,JOptionPane.DEFAULT_OPTION,null,new Object[]{option},option);
    JDialog dialog=op.createDialog(this,l10n.getString("String_Node_Str"));
    dialog.setResizable(true);
    dialog.pack();
    dialog.setVisible(true);
  }
 catch (  IOException ex) {
    logger.log(Level.WARNING,"String_Node_Str",ex);
  }
}

Fixed version (ground truth):
private void licenseButtonActionPerformed(ActionEvent evt){
  try {
    logger.fine("String_Node_Str");
    String license=IOUtils.toString(getClass().getResourceAsStream(RES + "String_Node_Str"),"String_Node_Str");
    final String agpl=IOUtils.toString(getClass().getResourceAsStream(RES + "String_Node_Str"),"String_Node_Str");
    license=Workarounds.escapeHtml(license);
    license=license.replaceAll("String_Node_Str","String_Node_Str");
    final JTextPane tp=new JTextPane();
    tp.setContentType("String_Node_Str");
    tp.setText("String_Node_Str" + license + "String_Node_Str");
    tp.setEditable(false);
    Dimension d=Toolkit.getDefaultToolkit().getScreenSize();
    tp.setPreferredSize(new Dimension((int)d.getWidth() / 2,(int)d.getHeight() / 2));
    tp.setCaretPosition(0);
    tp.addHyperlinkListener(new HyperlinkListener(){
      @Override public void hyperlinkUpdate(      final HyperlinkEvent e){
        if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
          logger.fine("String_Node_Str");
          tp.setText(null);
          tp.setContentType("String_Node_Str");
          tp.setText(agpl);
          tp.setCaretPosition(0);
        }
      }
    }
);
    String option=l10n.getString("String_Node_Str");
    JOptionPane op=new JOptionPane(new JScrollPane(tp),JOptionPane.INFORMATION_MESSAGE,JOptionPane.DEFAULT_OPTION,null,new Object[]{option},option);
    JDialog dialog=op.createDialog(this,l10n.getString("String_Node_Str"));
    dialog.setResizable(true);
    dialog.pack();
    dialog.setVisible(true);
  }
 catch (  IOException ex) {
    logger.log(Level.WARNING,"String_Node_Str",ex);
  }
}