Program: 163589
Project: 163589
Buggy source:
public JMenu buildModeMenu(){
  JMenu menu=new JMenu("String_Node_Str");
  JMenuItem item;
  item=new JMenuItem("String_Node_Str");
  item.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      new Permissions(sketch,appComponent,androidMode.getFolder());
    }
  }
);
  menu.add(item);
  menu.addSeparator();
  fragmentItem=new JCheckBoxMenuItem("String_Node_Str");
  wallpaperItem=new JCheckBoxMenuItem("String_Node_Str");
  watchfaceItem=new JCheckBoxMenuItem("String_Node_Str");
  vrItem=new JCheckBoxMenuItem("String_Node_Str");
  fragmentItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      fragmentItem.setState(true);
      wallpaperItem.setState(false);
      watchfaceItem.setSelected(false);
      vrItem.setSelected(false);
      setAppComponent(AndroidBuild.APP);
    }
  }
);
  wallpaperItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      fragmentItem.setState(false);
      wallpaperItem.setState(true);
      watchfaceItem.setSelected(false);
      vrItem.setSelected(false);
      setAppComponent(AndroidBuild.WALLPAPER);
    }
  }
);
  watchfaceItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      fragmentItem.setState(false);
      wallpaperItem.setState(false);
      watchfaceItem.setSelected(true);
      vrItem.setSelected(false);
      setAppComponent(AndroidBuild.WATCHFACE);
    }
  }
);
  vrItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      fragmentItem.setState(false);
      wallpaperItem.setState(false);
      watchfaceItem.setSelected(false);
      vrItem.setSelected(true);
      setAppComponent(AndroidBuild.VR);
    }
  }
);
  fragmentItem.setState(false);
  wallpaperItem.setState(false);
  watchfaceItem.setSelected(false);
  vrItem.setSelected(false);
  menu.add(fragmentItem);
  menu.add(wallpaperItem);
  menu.add(watchfaceItem);
  menu.add(vrItem);
  menu.addSeparator();
  final JMenu mobDeveMenu=new JMenu("String_Node_Str");
  JMenuItem noMobDevItem=new JMenuItem("String_Node_Str");
  noMobDevItem.setEnabled(false);
  mobDeveMenu.add(noMobDevItem);
  menu.add(mobDeveMenu);
  UpdateDeviceListTask task=new UpdateDeviceListTask(mobDeveMenu);
  if (updateDevicesTimer == null) {
    updateDevicesTimer=new java.util.Timer();
  }
 else {
    updateDevicesTimer.cancel();
  }
  updateDevicesTimer.schedule(task,5000,5000);
  menu.addSeparator();
  item=new JMenuItem("String_Node_Str");
  item.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      new SDKUpdater();
    }
  }
);
  menu.add(item);
  item=new JMenuItem("String_Node_Str");
  item.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      Devices.killAdbServer();
    }
  }
);
  menu.add(item);
  return menu;
}

Fixed version (ground truth):
public JMenu buildModeMenu(){
  JMenu menu=new JMenu("String_Node_Str");
  JMenuItem item;
  item=new JMenuItem("String_Node_Str");
  item.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      new Permissions(sketch,appComponent,androidMode.getFolder());
    }
  }
);
  menu.add(item);
  menu.addSeparator();
  fragmentItem=new JCheckBoxMenuItem("String_Node_Str");
  wallpaperItem=new JCheckBoxMenuItem("String_Node_Str");
  watchfaceItem=new JCheckBoxMenuItem("String_Node_Str");
  vrItem=new JCheckBoxMenuItem("String_Node_Str");
  fragmentItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      fragmentItem.setState(true);
      wallpaperItem.setState(false);
      watchfaceItem.setSelected(false);
      vrItem.setSelected(false);
      setAppComponent(AndroidBuild.APP);
    }
  }
);
  wallpaperItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      fragmentItem.setState(false);
      wallpaperItem.setState(true);
      watchfaceItem.setSelected(false);
      vrItem.setSelected(false);
      setAppComponent(AndroidBuild.WALLPAPER);
    }
  }
);
  watchfaceItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      fragmentItem.setState(false);
      wallpaperItem.setState(false);
      watchfaceItem.setSelected(true);
      vrItem.setSelected(false);
      setAppComponent(AndroidBuild.WATCHFACE);
    }
  }
);
  vrItem.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      fragmentItem.setState(false);
      wallpaperItem.setState(false);
      watchfaceItem.setSelected(false);
      vrItem.setSelected(true);
      setAppComponent(AndroidBuild.VR);
    }
  }
);
  fragmentItem.setState(false);
  wallpaperItem.setState(false);
  watchfaceItem.setSelected(false);
  vrItem.setSelected(false);
  menu.add(fragmentItem);
  menu.add(wallpaperItem);
  menu.add(watchfaceItem);
  menu.add(vrItem);
  menu.addSeparator();
  final JMenu mobDeveMenu=new JMenu("String_Node_Str");
  JMenuItem noMobDevItem=new JMenuItem("String_Node_Str");
  noMobDevItem.setEnabled(false);
  mobDeveMenu.add(noMobDevItem);
  menu.add(mobDeveMenu);
  UpdateDeviceListTask task=new UpdateDeviceListTask(mobDeveMenu);
  if (updateDevicesTimer == null) {
    updateDevicesTimer=new java.util.Timer();
  }
 else {
    updateDevicesTimer.cancel();
  }
  updateDevicesTimer.schedule(task,5000,5000);
  menu.addSeparator();
  item=new JMenuItem("String_Node_Str");
  item.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      new SDKUpdater(AndroidEditor.this,androidMode);
    }
  }
);
  menu.add(item);
  item=new JMenuItem("String_Node_Str");
  item.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      Devices.killAdbServer();
    }
  }
);
  menu.add(item);
  return menu;
}