Buggy code:
public class FeatureProcessor { private int window_size ; private int window_overlap_offset ; private double sampling_rate ; private boolean normalise ; private FeatureExtractor [ ] feature_extractors ; private int [ ] [ ] feature_extractor_dependencies ; private int [ ] max_feature_offsets ; private boolean [ ] features_to_save ; private boolean save_features_for_each_window ; private boolean save_overall_recording_features ; private DataOutputStream values_writer ; private int outputType ; private boolean isARFFOverallHeaderWritten = false ; private Updater updater ; private Cancel cancel ; private AggregatorContainer aggregator ; private boolean preEmphasis ; private int extractionOption ; private Controller controller ; public FeatureProcessor ( int window_size , double window_overlap , double sampling_rate , boolean normalise , FeatureExtractor [ ] all_feature_extractors , boolean [ ] features_to_save_among_all , boolean save_features_for_each_window , boolean save_overall_recording_features , OutputStream feature_values_save_path , OutputStream feature_definitions_save_path , int outputType , Cancel cancel , AggregatorContainer container , int extractionOption , Controller c ) throws Exception { } public double [ ] [ ] [ ] extractFeatures ( File recording_file , Updater updater , ArrayList < String > listFileNames ) throws Exception { } public void finalize ( ) throws Exception { } private void findAndOrderFeaturesToExtract ( FeatureExtractor [ ] all_feature_extractors , boolean [ ] features_to_save_among_all ) { } private double [ ] preProcessRecording ( File recording_file ) throws Exception { double [ ] samples = null ; try { AudioInputStream original_stream = AudioSystem . getAudioInputStream ( recording_file ) ; AudioFormat original_format = original_stream . getFormat ( ) ; int bit_depth = original_format . getSampleSizeInBits ( ) ; if ( ( bit_depth != 8 ) && ( bit_depth != 16 ) ) bit_depth = 16 ; AudioInputStream second_stream = original_stream ; if ( ( ( original_format . getEncoding ( ) ) != ( AudioFormat . Encoding . PCM_SIGNED ) ) || ( ( original_format . isBigEndian ( ) ) == false ) ) { AudioFormat new_format = new AudioFormat ( AudioFormat . Encoding . PCM_SIGNED , original_format . getSampleRate ( ) , bit_depth , original_format . getChannels ( ) , ( ( original_format . getChannels ( ) ) * ( bit_depth // 8 ) ) , original_format . getSampleRate ( ) , true ) ; second_stream = AudioSystem . getAudioInputStream ( new_format , original_stream ) ; } AudioInputStream new_stream = second_stream ; if ( ( ( original_format . getSampleRate ( ) ) != ( ( float ) ( sampling_rate ) ) ) || ( bit_depth != ( original_format . getSampleSizeInBits ( ) ) ) ) { AudioFormat new_format = new AudioFormat ( AudioFormat . Encoding . PCM_SIGNED , ( ( float ) ( sampling_rate ) ) , bit_depth , original_format . getChannels ( ) , ( ( original_format . getChannels ( ) ) * ( bit_depth // 8 ) ) , original_format . getSampleRate ( ) , true ) ; new_stream = AudioSystem . getAudioInputStream ( new_format , second_stream ) ; } AudioSamples audio_data = new AudioSamples ( new_stream , recording_file . getPath ( ) , false ) ; if ( normalise ) audio_data . normalizeMixedDownSamples ( ) ; samples = audio_data . getSamplesMixedDown ( ) ; if ( preEmphasis ) preEmphasis ( samples ) ; } catch ( Exception e ) { <START_BUG> JOptionPane . showMessageDialog ( controller . getFrame ( ) , ( ( "Bad<seq2seq4repair_space>file:<seq2seq4repair_space>" + ( recording_file . getName ( ) ) ) + "\nPress<seq2seq4repair_space>to<seq2seq4repair_space>continue<seq2seq4repair_space>the<seq2seq4repair_space>process<seq2seq4repair_space>without<seq2seq4repair_space>this<seq2seq4repair_space>file." ) , "Info" , JOptionPane . INFORMATION_MESSAGE ) ; <END_BUG> System . out . println ( ( "Bad<seq2seq4repair_space>file:<seq2seq4repair_space>" + ( recording_file . getName ( ) ) ) ) ; } return samples ; } private double [ ] [ ] [ ] getFeatures ( double [ ] samples , int [ ] window_start_indices ) throws Exception { } private double [ ] preEmphasis ( double [ ] rawSignal ) { } private double [ ] [ ] getOverallRecordingFeatures ( double [ ] [ ] [ ] window_feature_values , FeatureDefinition [ ] [ ] overall_feature_definitions ) { } private void writeValuesXMLHeader ( ) throws Exception { } private void writeValuesARFFHeader ( ) throws Exception { } private void saveARFFFeatureVectorsForARecording ( double [ ] [ ] [ ] feature_values , int [ ] window_start_indices , String identifier , AggregatorContainer aggContainer , ArrayList < String > listFileNames ) throws Exception { } private void saveACEFeatureVectorsForARecording ( double [ ] [ ] [ ] feature_values , int [ ] window_start_indices , String identifier , AggregatorContainer aggContainer ) throws Exception { } }

Fix:
JOptionPane . showMessageDialog ( controller . extractionThread . getProgressFrame ( ) , ( ( "Bad<seq2seq4repair_space>file:<seq2seq4repair_space>" + ( recording_file . getName ( ) ) ) + "\nPress<seq2seq4repair_space>to<seq2seq4repair_space>continue<seq2seq4repair_space>the<seq2seq4repair_space>process<seq2seq4repair_space>without<seq2seq4repair_space>this<seq2seq4repair_space>file." ) , "Info" , JOptionPane . INFORMATION_MESSAGE ) ;