Program: 77907
Project: 77907
Buggy source:
/** 
 * Starts the WindowManager instance, which will open the stages and prepare all necessary scenes.
 * @param mainStage the MainStage, which will be used to show the Scenes that the users directly interact with.
 * @throws IOException
 */
public void start(Stage mainStage) throws IOException {
  this.mainStage=mainStage;
  double screenWidth=Screen.getPrimary().getBounds().getWidth();
  double screenHeight=Screen.getPrimary().getBounds().getHeight();
  LOGGER.info("String_Node_Str" + screenWidth + "String_Node_Str"+ screenHeight);
  setFontSize(screenWidth,screenHeight);
  if (fontSize == 0) {
    LOGGER.debug("String_Node_Str");
    fontSize=16;
  }
  SpringFXMLLoader.FXMLWrapper<Object,FullScreenImageController> pictureWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",FullScreenImageController.class);
  Parent root=(Parent)pictureWrapper.getLoadedObject();
  URL cssf=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + cssf);
  root.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  root.getStylesheets().add(cssf.toExternalForm());
  this.pictureFullScene=new Scene(root,screenWidth,screenHeight);
  this.pictureController=pictureWrapper.getController();
  SpringFXMLLoader.FXMLWrapper<Object,MainFrameController> mfWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",MainFrameController.class);
  Parent parentmain=(Parent)mfWrapper.getLoadedObject();
  URL css=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + css);
  int sice=(fontSize * 3);
  parentmain.setStyle("String_Node_Str" + sice + "String_Node_Str");
  parentmain.getStylesheets().add(css.toExternalForm());
  this.mainScene=new Scene(parentmain,screenWidth,screenHeight);
  SpringFXMLLoader.FXMLWrapper<Object,ShootingAdminController> shootingWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",ShootingAdminController.class);
  Parent parentsf=(Parent)shootingWrapper.getLoadedObject();
  URL csssf=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + csssf);
  parentsf.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentsf.getStylesheets().add(csssf.toExternalForm());
  this.shootingScene=new Scene(parentsf,screenWidth,screenHeight);
  this.shootingAdminController=shootingWrapper.getController();
  SpringFXMLLoader.FXMLWrapper<Object,SettingFrameController> settingWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",SettingFrameController.class);
  Parent parentsett=(Parent)settingWrapper.getLoadedObject();
  URL csssett=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + csssett);
  parentsett.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentsett.getStylesheets().add(csssett.toExternalForm());
  this.settingScene=new Scene(parentsett,screenWidth,screenHeight);
  SpringFXMLLoader.FXMLWrapper<Object,LoginFrameController> adminLoginWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",LoginFrameController.class);
  Parent parentad=(Parent)adminLoginWrapper.getLoadedObject();
  URL cssad=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + cssad);
  parentad.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentad.getStylesheets().add(cssad.toExternalForm());
  this.adminLoginScene=new Scene(parentad,screenWidth,screenHeight);
  SpringFXMLLoader.FXMLWrapper<Object,MiniaturFrameController> miniWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",MiniaturFrameController.class);
  Parent parentmin=(Parent)miniWrapper.getLoadedObject();
  URL cssmin=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + cssmin);
  parentmin.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentmin.getStylesheets().add(cssmin.toExternalForm());
  this.miniaturScene=new Scene(parentmin,screenWidth,screenHeight);
  SpringFXMLLoader.FXMLWrapper<Object,CustomerFrameController> costumerWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",CustomerFrameController.class);
  Parent parentcos=(Parent)costumerWrapper.getLoadedObject();
  URL csscos=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + csscos);
  parentcos.setStyle("String_Node_Str" + fontSize * 3 + "String_Node_Str");
  parentcos.getStylesheets().add(csscos.toExternalForm());
  this.customerScene=new Scene(parentcos,screenWidth,screenHeight);
  customerFrameController=costumerWrapper.getController();
  SpringFXMLLoader.FXMLWrapper<Object,CameraFilterController> kameraFilterFXMLWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",CameraFilterController.class);
  Parent parentkaf=(Parent)kameraFilterFXMLWrapper.getLoadedObject();
  URL csskaf=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + csskaf);
  parentkaf.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentkaf.getStylesheets().add(csskaf.toExternalForm());
  this.kamerafilterScene=new Scene(parentkaf,screenWidth,screenHeight);
  cameraFilterController=kameraFilterFXMLWrapper.getController();
  SpringFXMLLoader.FXMLWrapper<Object,RecoveryController> recoveryControllerFXMLWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",RecoveryController.class);
  Parent parentrec=(Parent)recoveryControllerFXMLWrapper.getLoadedObject();
  URL cssrec=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + cssrec);
  parentrec.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentrec.getStylesheets().add(cssrec.toExternalForm());
  this.recoveryScene=new Scene(parentrec,screenWidth,screenHeight);
  try {
    miniWrapper.getController().init(mainStage);
  }
 catch (  ServiceException e) {
    LOGGER.error("String_Node_Str",e);
  }
  this.mainStage.setTitle("String_Node_Str");
  if (activeShootingAvailable) {
    showAdminLogin(SHOW_CUSTOMERSCENE,END_APPLICATION);
  }
 else {
    showAdminLogin(SHOW_MAINSCENE,END_APPLICATION);
  }
  this.mainStage.setFullScreen(true);
  this.mainStage.show();
  this.mainStage.setFullScreenExitHint("String_Node_Str");
}

Fixed version (ground truth):
/** 
 * Starts the WindowManager instance, which will open the stages and prepare all necessary scenes.
 * @param mainStage the MainStage, which will be used to show the Scenes that the users directly interact with.
 * @throws IOException
 */
public void start(Stage mainStage) throws IOException {
  this.mainStage=mainStage;
  double screenWidth=Screen.getPrimary().getBounds().getWidth();
  double screenHeight=Screen.getPrimary().getBounds().getHeight();
  LOGGER.info("String_Node_Str" + screenWidth + "String_Node_Str"+ screenHeight);
  setFontSize(screenWidth,screenHeight);
  if (fontSize == 0) {
    LOGGER.debug("String_Node_Str");
    fontSize=16;
  }
  SpringFXMLLoader.FXMLWrapper<Object,FullScreenImageController> pictureWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",FullScreenImageController.class);
  Parent root=(Parent)pictureWrapper.getLoadedObject();
  URL cssf=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + cssf);
  root.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  root.getStylesheets().add(cssf.toExternalForm());
  this.pictureFullScene=new Scene(root,screenWidth,screenHeight);
  this.pictureController=pictureWrapper.getController();
  SpringFXMLLoader.FXMLWrapper<Object,MainFrameController> mfWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",MainFrameController.class);
  Parent parentmain=(Parent)mfWrapper.getLoadedObject();
  URL css=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + css);
  int sice=(fontSize * 3);
  parentmain.setStyle("String_Node_Str" + sice + "String_Node_Str");
  parentmain.getStylesheets().add(css.toExternalForm());
  this.mainScene=new Scene(parentmain,screenWidth,screenHeight);
  SpringFXMLLoader.FXMLWrapper<Object,ShootingAdminController> shootingWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",ShootingAdminController.class);
  Parent parentsf=(Parent)shootingWrapper.getLoadedObject();
  URL csssf=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + csssf);
  parentsf.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentsf.getStylesheets().add(csssf.toExternalForm());
  this.shootingScene=new Scene(parentsf,screenWidth,screenHeight);
  this.shootingAdminController=shootingWrapper.getController();
  SpringFXMLLoader.FXMLWrapper<Object,SettingFrameController> settingWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",SettingFrameController.class);
  Parent parentsett=(Parent)settingWrapper.getLoadedObject();
  URL csssett=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + csssett);
  parentsett.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentsett.getStylesheets().add(csssett.toExternalForm());
  this.settingScene=new Scene(parentsett,screenWidth,screenHeight);
  SpringFXMLLoader.FXMLWrapper<Object,LoginFrameController> adminLoginWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",LoginFrameController.class);
  Parent parentad=(Parent)adminLoginWrapper.getLoadedObject();
  URL cssad=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + cssad);
  parentad.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentad.getStylesheets().add(cssad.toExternalForm());
  this.adminLoginScene=new Scene(parentad,screenWidth,screenHeight);
  SpringFXMLLoader.FXMLWrapper<Object,MiniaturFrameController> miniWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",MiniaturFrameController.class);
  Parent parentmin=(Parent)miniWrapper.getLoadedObject();
  URL cssmin=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + cssmin);
  parentmin.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentmin.getStylesheets().add(cssmin.toExternalForm());
  this.miniaturScene=new Scene(parentmin,screenWidth,screenHeight);
  SpringFXMLLoader.FXMLWrapper<Object,CustomerFrameController> costumerWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",CustomerFrameController.class);
  Parent parentcos=(Parent)costumerWrapper.getLoadedObject();
  URL csscos=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + csscos);
  parentcos.setStyle("String_Node_Str" + fontSize * 3 + "String_Node_Str");
  parentcos.getStylesheets().add(csscos.toExternalForm());
  this.customerScene=new Scene(parentcos,screenWidth,screenHeight);
  customerFrameController=costumerWrapper.getController();
  SpringFXMLLoader.FXMLWrapper<Object,CameraFilterController> kameraFilterFXMLWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",CameraFilterController.class);
  Parent parentkaf=(Parent)kameraFilterFXMLWrapper.getLoadedObject();
  URL csskaf=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + csskaf);
  parentkaf.setStyle("String_Node_Str" + fontSize + "String_Node_Str");
  parentkaf.getStylesheets().add(csskaf.toExternalForm());
  this.kamerafilterScene=new Scene(parentkaf,screenWidth,screenHeight);
  cameraFilterController=kameraFilterFXMLWrapper.getController();
  SpringFXMLLoader.FXMLWrapper<Object,RecoveryController> recoveryControllerFXMLWrapper=springFXMLLoader.loadAndWrap("String_Node_Str",RecoveryController.class);
  Parent parentrec=(Parent)recoveryControllerFXMLWrapper.getLoadedObject();
  URL cssrec=this.getClass().getResource("String_Node_Str");
  LOGGER.debug("String_Node_Str" + cssrec);
  parentrec.setStyle("String_Node_Str" + fontSize * 1.5 + "String_Node_Str");
  parentrec.getStylesheets().add(cssrec.toExternalForm());
  this.recoveryScene=new Scene(parentrec,screenWidth,screenHeight);
  try {
    miniWrapper.getController().init(mainStage);
  }
 catch (  ServiceException e) {
    LOGGER.error("String_Node_Str",e);
  }
  this.mainStage.setTitle("String_Node_Str");
  if (activeShootingAvailable) {
    showAdminLogin(SHOW_CUSTOMERSCENE,END_APPLICATION);
  }
 else {
    showAdminLogin(SHOW_MAINSCENE,END_APPLICATION);
  }
  this.mainStage.setFullScreen(true);
  this.mainStage.show();
  this.mainStage.setFullScreenExitHint("String_Node_Str");
}