Buggy code:
public class ImportWizardPageCSV extends WizardPage { class CSVColumnLabelProvider extends ColumnLabelProvider { private int index ; public CSVColumnLabelProvider ( int index ) { } @ Override public String getText ( Object element ) { } } private ImportWizard wizardImport ; private ArrayList < ImportWizardModelColumn > wizardColumns ; private Label lblLocation ; private Combo comboLocation ; private Button btnChoose ; private Button btnContainsHeader ; private Combo comboSeparator ; private Combo comboDelimiter ; private Combo comboEscape ; private Label lblSeparator ; private Label lblDelimiter ; private Label lblEscape ; private Table tablePreview ; private TableViewer tableViewerPreview ; private int selectedSeparator = 0 ; private int selectedDelimiter = 0 ; private int selectedEscape = 0 ; private final char [ ] escapes = new char [ ] { '\"' , '\\' } ; private final char [ ] delimiters = new char [ ] { '\"' , '\'' } ; private final char [ ] separators = new char [ ] { ';' , ',' , '|' , '\t' } ; private final String [ ] labels = new String [ ] { ";" , "," , "|" , "Tab" } ; private boolean customSeparator ; private final ArrayList < String [ ] > previewData = new ArrayList < String [ ] > ( ) ; public ImportWizardPageCSV ( ImportWizard wizardImport ) { } public void createControl ( Composite parent ) { } private void detectSeparator ( ) throws IOException { } private void evaluatePage ( ) { } private void readPreview ( ) throws IOException { previewData . clear ( ) ; final String location = comboLocation . getText ( ) ; final char separator = separators [ selectedSeparator ] ; final char delimiter = delimiters [ selectedDelimiter ] ; final char escape = escapes [ selectedEscape ] ; final boolean containsHeader = btnContainsHeader . getSelection ( ) ; final CSVDataInput in = new CSVDataInput ( location , separator , delimiter , escape ) ; final Iterator < String [ ] > it = in . iterator ( ) ; final String [ ] firstLine ; wizardColumns = new ArrayList < ImportWizardModelColumn > ( ) ; <START_BUG> ImportConfigurationCSV config = new ImportConfigurationCSV ( location , separator , containsHeader ) ; <END_BUG> if ( it . hasNext ( ) ) { firstLine = it . next ( ) ; } else { throw new IOException ( "No<seq2seq4repair_space>data<seq2seq4repair_space>in<seq2seq4repair_space>file" ) ; } for ( int i = 0 ; i < ( firstLine . length ) ; i ++ ) { ImportColumn column = new org . deidentifier . arx . io . ImportColumnCSV ( i , DataType . STRING ) ; ImportWizardModelColumn wizardColumn = new ImportWizardModelColumn ( column ) ; wizardColumns . add ( wizardColumn ) ; config . addColumn ( column ) ; } ImportAdapter importAdapter = ImportAdapter . create ( config ) ; int count = 0 ; while ( ( importAdapter . hasNext ( ) ) && ( count <= ( ImportWizardModel . PREVIEW_MAX_LINES ) ) ) { previewData . add ( importAdapter . next ( ) ) ; count ++ ; } in . close ( ) ; previewData . remove ( 0 ) ; if ( ( previewData . size ( ) ) == 0 ) { throw new IOException ( "No<seq2seq4repair_space>preview<seq2seq4repair_space>data<seq2seq4repair_space>in<seq2seq4repair_space>file" ) ; } tablePreview . setRedraw ( false ) ; while ( ( tablePreview . getColumnCount ( ) ) > 0 ) { tablePreview . getColumns ( ) [ 0 ] . dispose ( ) ; } for ( ImportWizardModelColumn column : wizardColumns ) { TableViewerColumn tableViewerColumn = new TableViewerColumn ( tableViewerPreview , SWT . NONE ) ; tableViewerColumn . setLabelProvider ( new ImportWizardPageCSV . CSVColumnLabelProvider ( ( ( org . deidentifier . arx . io . ImportColumnCSV ) ( column . getColumn ( ) ) ) . getIndex ( ) ) ) ; TableColumn tableColumn = tableViewerColumn . getColumn ( ) ; tableColumn . setWidth ( 100 ) ; if ( btnContainsHeader . getSelection ( ) ) { tableColumn . setText ( column . getColumn ( ) . getAliasName ( ) ) ; tableColumn . setToolTipText ( ( "Column<seq2seq4repair_space>#" + ( ( ( org . deidentifier . arx . io . ImportColumnCSV ) ( column . getColumn ( ) ) ) . getIndex ( ) ) ) ) ; } ColumnViewerToolTipSupport . enableFor ( tableViewerPreview , NO_RECREATE ) ; } tableViewerPreview . setInput ( previewData ) ; tablePreview . setHeaderVisible ( btnContainsHeader . getSelection ( ) ) ; tablePreview . setVisible ( true ) ; tablePreview . layout ( ) ; tablePreview . setRedraw ( true ) ; } }

Fix:
ImportConfigurationCSV config = new ImportConfigurationCSV ( location , separator , delimiter , escape , containsHeader ) ;