Program: 149527
Project: 149527
Buggy source:
private int showDialog(){
  ExtendedGenericDialog gd=new ExtendedGenericDialog(TITLE);
  gd.addHelp(About.HELP_URL);
  gd.addMessage("String_Node_Str");
  gd.addAndGetButton("String_Node_Str",new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      Configuration c=new Configuration();
      c.run("String_Node_Str");
    }
  }
);
  gd.addNumericField("String_Node_Str",nmPerSlice,0);
  gd.addSlider("String_Node_Str",3,20,radius);
  gd.addSlider("String_Node_Str",0.01,0.5,amplitudeFraction);
  gd.addSlider("String_Node_Str",1,20,startBackgroundFrames);
  gd.addSlider("String_Node_Str",1,20,endBackgroundFrames);
  gd.addSlider("String_Node_Str",5,15,magnification);
  gd.addSlider("String_Node_Str",0.25,0.5,smoothing);
  gd.addCheckbox("String_Node_Str",centreEachSlice);
  gd.addNumericField("String_Node_Str",comCutOff,-2);
  gd.addCheckbox("String_Node_Str",interactiveMode);
  String[] methods=ImageProcessor.getInterpolationMethods();
  gd.addChoice("String_Node_Str",methods,methods[interpolationMethod]);
  gd.showDialog();
  if (gd.wasCanceled())   return DONE;
  gd.getNextBoolean();
  nmPerSlice=gd.getNextNumber();
  radius=gd.getNextNumber();
  amplitudeFraction=gd.getNextNumber();
  startBackgroundFrames=(int)gd.getNextNumber();
  endBackgroundFrames=(int)gd.getNextNumber();
  magnification=(int)gd.getNextNumber();
  smoothing=gd.getNextNumber();
  centreEachSlice=gd.getNextBoolean();
  comCutOff=Maths.max(0,gd.getNextNumber());
  interactiveMode=gd.getNextBoolean();
  interpolationMethod=gd.getNextChoiceIndex();
  try {
    Parameters.isPositive("String_Node_Str",nmPerSlice);
    Parameters.isAbove("String_Node_Str",radius,2);
    Parameters.isAbove("String_Node_Str",amplitudeFraction,0.01);
    Parameters.isBelow("String_Node_Str",amplitudeFraction,0.9);
    Parameters.isPositive("String_Node_Str",startBackgroundFrames);
    Parameters.isPositive("String_Node_Str",endBackgroundFrames);
    Parameters.isAbove("String_Node_Str",startBackgroundFrames + endBackgroundFrames,1);
    Parameters.isAbove("String_Node_Str",magnification,1);
    Parameters.isAbove("String_Node_Str",smoothing,0);
    Parameters.isBelow("String_Node_Str",smoothing,1);
  }
 catch (  IllegalArgumentException e) {
    IJ.error(TITLE,e.getMessage());
    return DONE;
  }
  return flags;
}

Fixed version (ground truth):
private int showDialog(){
  ExtendedGenericDialog gd=new ExtendedGenericDialog(TITLE);
  gd.addHelp(About.HELP_URL);
  gd.addMessage("String_Node_Str");
  gd.addAndGetButton("String_Node_Str",new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      Configuration c=new Configuration();
      c.run("String_Node_Str");
    }
  }
);
  gd.addNumericField("String_Node_Str",nmPerSlice,0);
  gd.addSlider("String_Node_Str",3,20,radius);
  gd.addSlider("String_Node_Str",0.01,0.5,amplitudeFraction);
  gd.addSlider("String_Node_Str",1,20,startBackgroundFrames);
  gd.addSlider("String_Node_Str",1,20,endBackgroundFrames);
  gd.addSlider("String_Node_Str",5,15,magnification);
  gd.addSlider("String_Node_Str",0.25,0.5,smoothing);
  gd.addCheckbox("String_Node_Str",centreEachSlice);
  gd.addNumericField("String_Node_Str",comCutOff,-2);
  gd.addCheckbox("String_Node_Str",interactiveMode);
  String[] methods=ImageProcessor.getInterpolationMethods();
  gd.addChoice("String_Node_Str",methods,methods[interpolationMethod]);
  gd.showDialog();
  if (gd.wasCanceled())   return DONE;
  nmPerSlice=gd.getNextNumber();
  radius=gd.getNextNumber();
  amplitudeFraction=gd.getNextNumber();
  startBackgroundFrames=(int)gd.getNextNumber();
  endBackgroundFrames=(int)gd.getNextNumber();
  magnification=(int)gd.getNextNumber();
  smoothing=gd.getNextNumber();
  centreEachSlice=gd.getNextBoolean();
  comCutOff=Maths.max(0,gd.getNextNumber());
  interactiveMode=gd.getNextBoolean();
  interpolationMethod=gd.getNextChoiceIndex();
  try {
    Parameters.isPositive("String_Node_Str",nmPerSlice);
    Parameters.isAbove("String_Node_Str",radius,2);
    Parameters.isAbove("String_Node_Str",amplitudeFraction,0.01);
    Parameters.isBelow("String_Node_Str",amplitudeFraction,0.9);
    Parameters.isPositive("String_Node_Str",startBackgroundFrames);
    Parameters.isPositive("String_Node_Str",endBackgroundFrames);
    Parameters.isAbove("String_Node_Str",startBackgroundFrames + endBackgroundFrames,1);
    Parameters.isAbove("String_Node_Str",magnification,1);
    Parameters.isAbove("String_Node_Str",smoothing,0);
    Parameters.isBelow("String_Node_Str",smoothing,1);
  }
 catch (  IllegalArgumentException e) {
    IJ.error(TITLE,e.getMessage());
    return DONE;
  }
  return flags;
}