Program: 6147
Project: 6147
Buggy source:
public void writeValueDelete(Object value){
  reportlock=true;
  Object[] myprod=(Object[])value;
  m_jTitle.setText(Formats.STRING.formatValue(myprod[1]) + "String_Node_Str" + Formats.STRING.formatValue(myprod[3])+ "String_Node_Str"+ AppLocal.getIntString("String_Node_Str"));
  m_id=myprod[0];
  m_jRef.setText(Formats.STRING.formatValue(myprod[1]));
  m_jCode.setText(Formats.STRING.formatValue(myprod[2]));
  m_jName.setText(Formats.STRING.formatValue(myprod[3]));
  m_jComment.setSelected(((Boolean)myprod[4]).booleanValue());
  m_jScale.setSelected(((Boolean)myprod[5]).booleanValue());
  m_jPriceBuy.setText(Formats.CURRENCY.formatValue(myprod[6]));
  m_jPriceSell.setText(Formats.CURRENCY.formatValue(myprod[7]));
  m_CategoryModel.setSelectedKey(myprod[8]);
  taxcatmodel.setSelectedKey(myprod[9]);
  m_jImage.setImage((BufferedImage)myprod[10]);
  m_jstockcost.setText(Formats.CURRENCY.formatValue(myprod[11]));
  m_jstockvolume.setText(Formats.DOUBLE.formatValue(myprod[12]));
  m_jInCatalog.setSelected(((Boolean)myprod[13]).booleanValue());
  m_jCatalogOrder.setText(Formats.INT.formatValue(myprod[14]));
  txtAttributes.setText(Formats.BYTEA.formatValue(myprod[15]));
  txtAttributes.setCaretPosition(0);
  reportlock=false;
  m_jRef.setEnabled(false);
  m_jCode.setEnabled(false);
  m_jName.setEnabled(false);
  m_jComment.setEnabled(false);
  m_jScale.setEnabled(false);
  m_jCategory.setEnabled(false);
  m_jTax.setEnabled(false);
  m_jPriceBuy.setEnabled(false);
  m_jPriceSell.setEnabled(false);
  m_jPriceSellTax.setEnabled(false);
  m_jmargin.setEnabled(false);
  m_jImage.setEnabled(false);
  m_jstockcost.setEnabled(false);
  m_jstockvolume.setEnabled(false);
  m_jInCatalog.setEnabled(false);
  m_jCatalogOrder.setEnabled(false);
  txtAttributes.setEnabled(false);
  calculateMargin();
  calculatePriceSellTax();
}

Fixed version (ground truth):
public void writeValueDelete(Object value){
  reportlock=true;
  Object[] myprod=(Object[])value;
  m_jTitle.setText(Formats.STRING.formatValue(myprod[1]) + "String_Node_Str" + Formats.STRING.formatValue(myprod[3])+ "String_Node_Str"+ AppLocal.getIntString("String_Node_Str"));
  m_id=myprod[0];
  m_jRef.setText(Formats.STRING.formatValue(myprod[1]));
  m_jCode.setText(Formats.STRING.formatValue(myprod[2]));
  m_jName.setText(Formats.STRING.formatValue(myprod[3]));
  m_jComment.setSelected(((Boolean)myprod[4]).booleanValue());
  m_jScale.setSelected(((Boolean)myprod[5]).booleanValue());
  m_jPriceBuy.setText(Formats.CURRENCY.formatValue(myprod[6]));
  setPriceSell(myprod[7]);
  m_CategoryModel.setSelectedKey(myprod[8]);
  taxcatmodel.setSelectedKey(myprod[9]);
  m_jImage.setImage((BufferedImage)myprod[10]);
  m_jstockcost.setText(Formats.CURRENCY.formatValue(myprod[11]));
  m_jstockvolume.setText(Formats.DOUBLE.formatValue(myprod[12]));
  m_jInCatalog.setSelected(((Boolean)myprod[13]).booleanValue());
  m_jCatalogOrder.setText(Formats.INT.formatValue(myprod[14]));
  txtAttributes.setText(Formats.BYTEA.formatValue(myprod[15]));
  txtAttributes.setCaretPosition(0);
  reportlock=false;
  m_jRef.setEnabled(false);
  m_jCode.setEnabled(false);
  m_jName.setEnabled(false);
  m_jComment.setEnabled(false);
  m_jScale.setEnabled(false);
  m_jCategory.setEnabled(false);
  m_jTax.setEnabled(false);
  m_jPriceBuy.setEnabled(false);
  m_jPriceSell.setEnabled(false);
  m_jPriceSellTax.setEnabled(false);
  m_jmargin.setEnabled(false);
  m_jImage.setEnabled(false);
  m_jstockcost.setEnabled(false);
  m_jstockvolume.setEnabled(false);
  m_jInCatalog.setEnabled(false);
  m_jCatalogOrder.setEnabled(false);
  txtAttributes.setEnabled(false);
  calculateMargin();
  calculatePriceSellTax();
}