Buggy code:
@ SuppressWarnings ( "restriction" ) public class SETImportModuleWizardPage extends WizardPage implements IDialogFieldListener { private static final String TEMP_DIR = ".config//temp//" ; protected StringButtonDialogField fModuleFileField ; protected StringButtonDialogField fProjectField ; protected StringDialogField fModuleNameField ; protected ComboDialogField fModuleExtensionField ; protected SelectionButtonDialogField fHandlerModuleSelectionField ; protected SelectionButtonDialogField fLibraryModuleSelectionField ; protected SelectionButtonDialogField fExternalModuleSelectionField ; protected StringButtonDialogField fLibraryModulePathField ; protected StringButtonDialogField fExternalModulePathField ; protected Group fModuleTypeGroup ; protected Composite fLibraryModuleComposite ; protected Composite fExternalModuleComposite ; private String [ ] fExtensions ; private boolean fIsGroupEnabled ; private IStructuredSelection fSelection ; protected SETImportModuleWizardPage ( String pageName , IStructuredSelection selection ) { } public void createControl ( Composite parent ) { } private void processSelection ( ) { } protected void createVerticalSpacer ( Composite parent , int numCols ) { } private void addFieldListeners ( ) { } public void dialogFieldChanged ( DialogField field ) { } private void setGroupEnabled ( boolean valid ) { } private boolean isValid ( ) { } private IPath getLibraryModulePath ( ) { } private IPath getExternalModulePath ( ) { } private IPath getModuleDestinationFilePath ( ) { } private IPath getImportPath ( ) { } private String getModuleFileExtension ( ) { } private String getModuleFileName ( ) { } private static class ImportModuleRecord { private static final int TYPE_HANDLER = 1 ; private static final int TYPE_LIBRARY = 2 ; private static final int TYPE_EXTERNAL = 3 ; protected int type ; protected IProject project ; protected IPath importPath ; protected IPath destinationPath ; public ImportModuleRecord ( IProject project , IPath source , IPath destination ) { } } public boolean finishPage ( ) { } private boolean importModule ( SETImportModuleWizardPage . ImportModuleRecord moduleRecord , IProgressMonitor monitor ) throws InterruptedException , InvocationTargetException , CoreException { } private IFile f ; private IFile importHandlerOrLibraryModule ( SETImportModuleWizardPage . ImportModuleRecord moduleRecord , IProgressMonitor monitor ) throws CoreException { } private void deleteTempDir ( IProject project , IProgressMonitor monitor ) throws CoreException { } private void createFoldersInPath ( IProject project , IPath path , IProgressMonitor monitor ) throws CoreException { } private IFile importExternalModule ( SETImportModuleWizardPage . ImportModuleRecord moduleRecord , IProgressMonitor monitor ) throws CoreException { } private void copyFile ( File fromFile , IFile toFile , IProgressMonitor monitor ) throws CoreException { } private void copyConfigureFile ( IFile fromFile , IFile toFile , int offset , int length , String namespace , IProgressMonitor monitor ) throws IOException , CoreException { } private void rollbackImportModule ( SETImportModuleWizardPage . ImportModuleRecord moduleRecord ) throws CoreException { } private void checkMonitor ( IProgressMonitor monitor ) { } private void reportError ( Throwable t ) { } protected void handleProjectButtonSelected ( ) { } protected void handleModuleFileButtonSelected ( ) { } protected void handleLibraryModulePathButtonSelected ( ) { } private boolean checkDirectory ( String name ) { } protected void handleExternalModulePathButtonSelected ( ) { } private IScriptProject chooseProject ( ) { } private IPath chooseLibraryModulePath ( ) { } private IPath chooseExternalModulePath ( ) { } protected IScriptProject getProject ( ) { } protected File browseForModuleFile ( ) { } private IWorkspaceRoot getWorkspaceRoot ( ) { } protected IScriptModel getScriptModel ( ) { } private void openEditor ( final IFile toFile ) throws CoreException { } private void addFolderToBuildpath ( String name , IProgressMonitor monitor ) throws CoreException { IScriptProject project = getProject ( ) ; monitor . beginTask ( "Configuring<seq2seq4repair_space>project<seq2seq4repair_space>buildpath" , 1000 ) ; checkMonitor ( monitor ) ; try { monitor . setTaskName ( ( ( "Adding<seq2seq4repair_space>\"" + name ) + "\"<seq2seq4repair_space>directory<seq2seq4repair_space>to<seq2seq4repair_space>the<seq2seq4repair_space>project<seq2seq4repair_space>buildpath" ) ) ; IPath srcEntry = project . getPath ( ) . append ( name ) ; IBuildpathEntry [ ] originalPath = project . getRawBuildpath ( ) ; for ( IBuildpathEntry entry : originalPath ) { if ( entry . getPath ( ) . equals ( srcEntry ) ) { monitor . worked ( 1000 ) ; return ; } } IBuildpathEntry [ ] newPath = new IBuildpathEntry [ ( originalPath . length ) + 1 ] ; System . arraycopy ( originalPath , 0 , newPath , 0 , originalPath . length ) ; IBuildpathEntry newEntry = DLTKCore . newSourceEntry ( srcEntry ) ; newPath [ originalPath . length ] = newEntry ; project . setRawBuildpath ( newPath , new SubProgressMonitor ( monitor , 1000 ) ) ; checkMonitor ( monitor ) ; } catch ( ModelException me ) { <START_BUG> throw new CoreException ( new Status ( IStatus . ERROR , SETUIPlugin . PLUGIN_ID , ( "An<seq2seq4repair_space>error<seq2seq4repair_space>occured<seq2seq4repair_space>while<seq2seq4repair_space>setting<seq2seq4repair_space>the<seq2seq4repair_space>project<seq2seq4repair_space>buildpath:<seq2seq4repair_space>" + ( me . getMessage ( ) ) ) ) ) ; <END_BUG> } finally { monitor . done ( ) ; } } private XQueryLibraryModule parseModule ( SETImportModuleWizardPage . ImportModuleRecord moduleRecord , IPath tempPath , IProgressMonitor monitor ) throws CoreException { } }

Fix:
throw new CoreException ( new Status ( IStatus . ERROR , SETUIPlugin . PLUGIN_ID , ( "An<seq2seq4repair_space>error<seq2seq4repair_space>occurred<seq2seq4repair_space>while<seq2seq4repair_space>setting<seq2seq4repair_space>the<seq2seq4repair_space>project<seq2seq4repair_space>buildpath:<seq2seq4repair_space>" + ( me . getMessage ( ) ) ) ) ) ;