Program: 5712
Project: 5712
Buggy source:
public ESBGui(ESBNode node){
  this.node=node;
  setBackground(Color.black);
  setOpaque(true);
  esbImage=new ImageIcon("String_Node_Str");
  if (esbImage.getIconWidth() == 0 || esbImage.getIconHeight() == 0) {
    throw new IllegalStateException("String_Node_Str");
  }
  setPreferredSize(new Dimension(esbImage.getIconWidth(),esbImage.getIconHeight()));
  window=new JFrame("String_Node_Str");
  window.add(this);
  WindowUtils.restoreWindowBounds("String_Node_Str",window);
  WindowUtils.addSaveOnShutdown("String_Node_Str",window);
  window.setVisible(true);
  window.addKeyListener(this);
  addMouseMotionListener(this);
  addMouseListener(this);
  MSP430 cpu=node.getCPU();
  IOUnit usart=cpu.getIOUnit("String_Node_Str");
  if (usart instanceof USART) {
    serial=new SerialMon((USART)usart,"String_Node_Str");
    ((USART)usart).setUSARTListener(serial);
  }
  IOUnit adc=cpu.getIOUnit("String_Node_Str");
  if (adc instanceof ADC12) {
    ((ADC12)adc).setADCInput(0,this);
  }
  beeper=new Beeper();
  cpu.addIOUnit(-1,0,-1,0,beeper,true);
  AudioFormat af=new AudioFormat(SAMPLE_RATE,16,1,true,false);
  DataLine.Info dlin=new DataLine.Info(TargetDataLine.class,af,DL_BUFFER_SIZE);
  try {
    inDataLine=(TargetDataLine)AudioSystem.getLine(dlin);
    if (inDataLine == null) {
      System.out.println("String_Node_Str");
    }
 else {
      System.out.println("String_Node_Str" + inDataLine.getFormat());
      inDataLine.open(inDataLine.getFormat(),DL_BUFFER_SIZE);
      inDataLine.start();
    }
  }
 catch (  Exception e) {
    System.out.println("String_Node_Str");
    e.printStackTrace();
  }
}

Fixed version (ground truth):
public ESBGui(ESBNode node){
  this.node=node;
  setBackground(Color.black);
  setOpaque(true);
  esbImage=new ImageIcon("String_Node_Str");
  if (esbImage.getIconWidth() == 0 || esbImage.getIconHeight() == 0) {
    throw new IllegalStateException("String_Node_Str");
  }
  setPreferredSize(new Dimension(esbImage.getIconWidth(),esbImage.getIconHeight()));
  window=new JFrame("String_Node_Str");
  window.add(this);
  WindowUtils.restoreWindowBounds("String_Node_Str",window);
  WindowUtils.addSaveOnShutdown("String_Node_Str",window);
  window.setVisible(true);
  window.addKeyListener(this);
  addMouseMotionListener(this);
  addMouseListener(this);
  MSP430 cpu=node.getCPU();
  IOUnit usart=cpu.getIOUnit("String_Node_Str");
  if (usart instanceof USART) {
    serial=new SerialMon((USART)usart,"String_Node_Str");
    ((USART)usart).setUSARTListener(serial);
  }
  IOUnit adc=cpu.getIOUnit("String_Node_Str");
  if (adc instanceof ADC12) {
    ((ADC12)adc).setADCInput(0,this);
  }
  beeper=new Beeper();
  cpu.addIOUnit(-1,0,-1,0,beeper);
  AudioFormat af=new AudioFormat(SAMPLE_RATE,16,1,true,false);
  DataLine.Info dlin=new DataLine.Info(TargetDataLine.class,af,DL_BUFFER_SIZE);
  try {
    inDataLine=(TargetDataLine)AudioSystem.getLine(dlin);
    if (inDataLine == null) {
      System.out.println("String_Node_Str");
    }
 else {
      System.out.println("String_Node_Str" + inDataLine.getFormat());
      inDataLine.open(inDataLine.getFormat(),DL_BUFFER_SIZE);
      inDataLine.start();
    }
  }
 catch (  Exception e) {
    System.out.println("String_Node_Str");
    e.printStackTrace();
  }
}