Buggy code:
posKS . setCellValueFactory ( new PropertyValueFactory < Goalkeeper , Integer > ( "ping" ) ) ; TableColumn heightKS = new TableColumn ( "HEI" ) ; heightKS . setCellValueFactory ( new PropertyValueFactory < Goalkeeper , Integer > ( "hei" ) ) ; nameKS . setResizable ( false ) ; nameKS . setPrefWidth ( Style . getNewSize ( 202 ) ) ; positionKS . setResizable ( false ) ; positionKS . setPrefWidth ( Style . getNewSize ( 100 ) ) ; ageKS . setResizable ( false ) ; ageKS . setPrefWidth ( Style . getNewSize ( 50 ) ) ; worthKS . setResizable ( false ) ; worthKS . setPrefWidth ( Style . getNewSize ( 100 ) ) ; divingKS . setResizable ( false ) ; divingKS . setPrefWidth ( Style . getNewSize ( 35 ) ) ; handlingKS . setResizable ( false ) ; handlingKS . setPrefWidth ( Style . getNewSize ( 35 ) ) ; kickingKS . setResizable ( false ) ; kickingKS . setPrefWidth ( Style . getNewSize ( 35 ) ) ; reflexKS . setResizable ( false ) ; reflexKS . setPrefWidth ( Style . getNewSize ( 35 ) ) ; speedKS . setResizable ( false ) ; speedKS . setPrefWidth ( Style . getNewSize ( 35 ) ) ; posKS . setResizable ( false ) ; posKS . setPrefWidth ( Style . getNewSize ( 35 ) ) ; heightKS . setResizable ( false ) ; heightKS . setPrefWidth ( Style . getNewSize ( 35 ) ) ; TransferMarketSell . setColor ( nameS ) ; TransferMarketSell . setColor ( nameKS ) ; tableSelectionField . getColumns ( ) . addAll ( nameS , positionS , ageS , worthS , shootingS , passingS , dribblingS , defendingS , physicalS ) ; tableSelectionKeeper . getColumns ( ) . addAll ( nameKS , positionKS , ageKS , worthKS , divingKS , handlingKS , kickingKS , reflexKS , speedKS , posKS , heightKS ) ; back . setOnAction ( new EventHandler < ActionEvent > ( ) { @ Override public void handle ( ActionEvent e ) { ManagementCenter . start ( primaryStage ) ; } } ) ; toBuy . setOnAction ( new EventHandler < ActionEvent > ( ) { @ Override public void handle ( ActionEvent e ) { TransferMarket . start ( primaryStage ) ; } } ) ; TransferMarketSell . refreshPlayers ( tableSelectionField , tableSelectionKeeper ) ; tableSelectionField . setOnMouseClicked ( new EventHandler < MouseEvent > ( ) { @ Override public void handle ( MouseEvent event ) { Player p = ( ( Player ) ( tableSelectionField . getSelectionModel ( ) . getSelectedItem ( ) ) ) ; pName . setText ( ( ( ( p . getName ( ) ) + ",<seq2seq4repair_space>" ) + ( p . getPos ( ) ) ) ) ; Style . setTextStyle ( pName , 45 ) ; pPrice . setText ( ( ( "€" + "<seq2seq4repair_space>" ) + ( p . getPri ( ) ) ) ) ; Style . setTextStyle ( pPrice , 45 ) ; TransferMarketSell . playerSelect = p ; } } ) ; tableSelectionKeeper . setOnMouseClicked ( new EventHandler < MouseEvent > ( ) { @ Override public void handle ( MouseEvent event ) { Player p = ( ( Player ) ( tableSelectionKeeper . getSelectionModel ( ) . getSelectedItem ( ) ) ) ; pName . setText ( ( ( ( p . getName ( ) ) + ",<seq2seq4repair_space>" ) + ( p . getPos ( ) ) ) ) ; Style . setTextStyle ( pName , 45 ) ; pPrice . setText ( ( ( "€" + "<seq2seq4repair_space>" ) + ( p . getPri ( ) ) ) ) ; Style . setTextStyle ( pPrice , 45 ) ; TransferMarketSell . playerSelect = p ; } } ) ; confirm . setOnAction ( new EventHandler < ActionEvent > ( ) { @ Override public void handle ( ActionEvent event ) { if ( ( TransferMarketSell . playerSelect ) == null ) { Popup warning = Warning . makeWarning ( "No<seq2seq4repair_space>player<seq2seq4repair_space>selected" , root ) ; warning . show ( primaryStage ) ; } else if ( ( saveGame . getSellc ( ) ) >= 3 ) { Popup three = Warning . makeWarning ( "You<seq2seq4repair_space>have<seq2seq4repair_space>already<seq2seq4repair_space>sold<seq2seq4repair_space>3<seq2seq4repair_space>players!" , root ) ; three . show ( primaryStage ) ; } else { if ( TransferMarketSell . playerSelect . getPlay ( ) ) { EventHandler < MouseEvent > mouse = new EventHandler < MouseEvent > ( ) { public void handle ( MouseEvent y ) { try { String sold = Budget . tosell ( TransferMarketSell . playerSelect ) ; if ( ! ( sold . equals ( null ) ) ) { <START_BUG> Popup soldpopup = Warning . makeWarning ( ( "Your<seq2seq4repair_space>player<seq2seq4repair_space>was<seq2seq4repair_space>sold<seq2seq4repair_space>to:<seq2seq4repair_space>" + sold ) , root ) ; <END_BUG> soldpopup . show ( primaryStage ) ; } else { Popup notsold = Warning . makeWarning ( "Your<seq2seq4repair_space>player<seq2seq4repair_space>was<seq2seq4repair_space>not<seq2seq4repair_space>sold." , root ) ; notsold . show ( primaryStage ) ; } TransferMarketSell . refreshPlayers ( tableSelectionField , tableSelectionKeeper ) ; TransferMarketSell . setColor ( nameS ) ; TransferMarketSell . setColor ( nameKS ) ; TransferMarketSell . playerSelect = null ; } catch ( Exception e ) { Popup emptyTeam = Warning . makeWarning ( "Transfer<seq2seq4repair_space>not<seq2seq4repair_space>approved<seq2seq4repair_space>\nTeam<seq2seq4repair_space>would<seq2seq4repair_space>become<seq2seq4repair_space>too<seq2seq4repair_space>small" , root ) ; emptyTeam . show ( primaryStage ) ; } } } ; EventHandler < MouseEvent > mouse2 = new EventHandler < MouseEvent > ( ) { public void handle ( MouseEvent n ) { } } ; Popup confirm = Warning . makeWarning ( "Are<seq2seq4repair_space>you<seq2seq4repair_space>sure<seq2seq4repair_space>you<seq2seq4repair_space>\nwant<seq2seq4repair_space>to<seq2seq4repair_space>sell<seq2seq4repair_space>this<seq2seq4repair_space>player?" , root , mouse , mouse2 ) ; confirm . show ( primaryStage ) ; } else { Popup availWarning = Warning . makeWarning ( "You<seq2seq4repair_space>cannot<seq2seq4repair_space>buy<seq2seq4repair_space>a<seq2seq4repair_space>player<seq2seq4repair_space>\nwith<seq2seq4repair_space>a<seq2seq4repair_space>card<seq2seq4repair_space>or<seq2seq4repair_space>injury" , root ) ; availWarning . show ( primaryStage ) ; } } } } ) ; root . getChildren ( ) . addAll ( tableSelectionKeeper , tableSelectionField ) ; primaryStage . getScene ( ) . setRoot ( root ) ; primaryStage . show ( ) ;

Fix:
Popup soldpopup = Warning . makeWarning ( ( "Your<seq2seq4repair_space>player<seq2seq4repair_space>was<seq2seq4repair_space>sold<seq2seq4repair_space>to:<seq2seq4repair_space>\n" + sold ) , root ) ;