Buggy code:
public class ConfigurationController extends VisualController implements IStorable { Logger logger = LoggerFactory . getLogger ( ConfigurationController . class ) ; @ FXML private TableView < ConfigCommand > configTable ; @ FXML private TableColumn < ConfigCommand , String > colMidiCommand ; @ FXML private TableColumn < ConfigCommand , String > colMidiValue ; @ FXML private TableColumn < ConfigCommand , String > colController ; @ FXML private TableColumn < ConfigCommand , String > colCommand ; @ FXML private TableColumn < ConfigCommand , String > colMidiFollowSignal ; @ FXML private TableColumn < ConfigCommand , String > colValue1 ; @ FXML private TableColumn < ConfigCommand , String > colValue2 ; @ FXML private TableColumn < ConfigCommand , String > colValue3 ; @ FXML private Button btnAdd ; @ FXML private Button btnLightSettings ; @ FXML private BorderPane borderPane ; private ObservableList < ConfigCommand > configEntries = FXCollections . observableArrayList ( ) ; Gson gson = new Gson ( ) ; private List < ConfigLight > configLightEntries = new ArrayList < ConfigLight > ( ) ; public ConfigurationController ( ) { } @ FXML private void initialize ( ) { } private void initMenu ( ) { } private void showEditRow ( int index ) { } public void copy ( Window window ) { } public void loadFromFile ( Window window ) { } public void sendConfigurationToYaas ( Window window ) { LightHouseOSCServer oscServer = LightHouseOSCServer . getInstance ( ) ; try { OSCMessage m = new OSCMessageReceiveConfiguration ( "start" ) ; oscServer . sendToYaas ( m ) ; for ( ConfigCommand entry : this . getConfigEntries ( ) ) { String value1 = ( ( entry . getValue1 ( ) ) != null ) ? entry . getValue1 ( ) : "" ; String value2 = ( ( entry . getValue2 ( ) ) != null ) ? entry . getValue2 ( ) : "" ; String value3 = ( ( entry . getValue3 ( ) ) != null ) ? entry . getValue3 ( ) : "" ; String [ ] args ; if ( StringUtils . isEmpty ( entry . getAdditionalValue ( ) ) ) { args = new String [ ] { entry . getConfigCommand ( ) , entry . getConfigValue ( ) , entry . getController ( ) , entry . getCommand ( ) , value1 , value2 , value3 } ; } else { args = new String [ ] { entry . getConfigCommand ( ) , entry . getConfigValue ( ) , entry . getController ( ) , entry . getCommand ( ) , value1 , value2 , value3 , entry . getAdditionalValue ( ) } ; } m = new OSCMessageReceiveConfiguration ( args ) ; oscServer . sendToYaas ( m ) ; } for ( ConfigLight entry : configLightEntries ) { <START_BUG> m = new OSCMessageReceiveConfiguration ( entry . getCommand ( ) . toString ( ) , entry . getMidiCommand ( ) , entry . getMidiValue ( ) ) ; <END_BUG> oscServer . sendToYaas ( m ) ; } m = new OSCMessageReceiveConfiguration ( "end" ) ; oscServer . sendToYaas ( m ) ; } catch ( IOException e ) { logger . error ( "Error<seq2seq4repair_space>when<seq2seq4repair_space>sending<seq2seq4repair_space>configuration" , e ) ; Alert alert = new Alert ( Alert . AlertType . ERROR ) ; alert . setContentText ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>send<seq2seq4repair_space>configuration<seq2seq4repair_space>to<seq2seq4repair_space>YAAS" ) ; alert . show ( ) ; } } public void saveToFile ( Window window ) { } private void writeToFile ( File file ) { } public ObservableList < ConfigCommand > getConfigEntries ( ) { } public void setConfigEntries ( ObservableList < ConfigCommand > configEntries ) { } @ Override public void store ( Properties values ) { } @ Override public void load ( Properties values ) { } private void setCellFactories ( ) { } public void clear ( ) { } protected String getMenuId ( ) { } }

Fix:
m = new OSCMessageReceiveConfiguration ( entry . getLightCommand ( ) . toString ( ) , entry . getMidiCommand ( ) , entry . getMidiValue ( ) ) ;