Buggy code:
public class AndamentoController extends BaseController { @ FXML private Text teamName ; @ FXML private Text dataNascita ; @ FXML private Text email ; @ FXML private Text username ; @ FXML private ImageView profileImageView ; @ FXML private LineChart teamChart ; @ FXML private Button sectionRosa ; @ FXML private Button sectionAndamento ; @ FXML private Button sectionClassifica ; @ FXML private Button sectionMercato ; @ FXML private Button doneUser ; @ FXML private Button doneTeam ; @ FXML private Button doneMail ; @ FXML private Button doneDate ; @ FXML private Button cancelUser ; @ FXML private Button cancelTeam ; @ FXML private Button cancelMail ; @ FXML private Button cancelDate ; @ FXML private Button modUser ; @ FXML private Button modTeam ; @ FXML private Button modMail ; @ FXML private Button modDate ; @ FXML private JFXTextField userText ; @ FXML private JFXTextField teamText ; @ FXML private JFXTextField mailText ; @ FXML private DatePicker datePicker ; @ FXML private BorderPane borderPane ; @ FXML private NumberAxis numberAxis ; @ FXML private Text textBestPlayer ; @ FXML private Text textWorstPlayer ; @ FXML private Text textMostPres ; @ FXML private Text mediaBest ; @ FXML private Text mediaWorst ; @ FXML private Text textPres ; private Image profileImage ; private XYChart . Series series ; private User user ; private boolean needToDownloadResult = true ; File selectedFile ; private ArrayList < Results > results ; public void initView ( User user ) { } private void FillChart ( ) { } public void setProfileImage ( File profileImage ) { } public XYChart . Series getSeries ( ) { } public void setSeries ( XYChart . Series series ) { } public void setResults ( ArrayList < Results > results ) { this . results = results ; teamChart . setAnimated ( true ) ; numberAxis . setTickLabelFormatter ( new IntegerStringConverter ( ) ) ; series = new XYChart . Series ( ) ; series . setName ( "Andamento" ) ; <START_BUG> needToDownloadResult = false ; <END_BUG> for ( int i = 0 ; i < 38 ; i ++ ) { if ( ( results . get ( i ) . getGiornata ( ) ) != ( i + 1 ) ) { results . add ( i , new Results ( ( i + 1 ) , 0 ) ) ; } } for ( int i = 0 ; i < ( results . size ( ) ) ; i ++ ) { System . out . println ( ( ( ( "" + ( results . get ( i ) . getGiornata ( ) ) ) + "<seq2seq4repair_space>" ) + ( results . get ( i ) . getPoint ( ) ) ) ) ; XYChart . Data data = new XYChart . Data < Integer , Float > ( results . get ( i ) . getGiornata ( ) , results . get ( i ) . getPoint ( ) ) ; data . setNode ( new AndamentoController . HoveredThresholdNode ( results . get ( i ) . getGiornata ( ) , results . get ( i ) . getPoint ( ) ) ) ; series . getData ( ) . add ( data ) ; } teamChart . getData ( ) . add ( series ) ; } public boolean isNeedToDownloadResult ( ) { } public void setNeedToDownloadResult ( boolean needToDownloadResult ) { } public void openFileChooser ( ActionEvent actionEvent ) { } private void configureFileChooser ( FileChooser fileChooser ) { } public void showModUser ( ActionEvent actionEvent ) { } public void showModTeam ( ActionEvent actionEvent ) { } public void showModEmail ( ActionEvent actionEvent ) { } public void showModDate ( ActionEvent actionEvent ) { } public void onDoneUser ( ActionEvent actionEvent ) { } private Action SaveAll ( NotificationPane notificationPane ) { } public void onDoneTeam ( ActionEvent actionEvent ) { } public void onDoneEmail ( ActionEvent actionEvent ) { } public void onDoneDate ( ActionEvent actionEvent ) { } public void onCancelUser ( ActionEvent actionEvent ) { } public void onCancelTeam ( ActionEvent actionEvent ) { } public void onCancelMail ( ActionEvent actionEvent ) { } public void onCancelDate ( ActionEvent actionEvent ) { } public void saveAll ( ActionEvent actionEvent ) { } public void RotateButton ( Button button ) { } public void setInfo ( InfoClass info ) { } public void ShowErrorPopup ( ) { } class HoveredThresholdNode extends StackPane { HoveredThresholdNode ( int giornata , float point ) { } private Label createDataThresholdLabel ( int giornata , float point ) { } } }

Fix:
this . needToDownloadResult = false ;