Buggy code:
private void checkCreatePinEditorShortcutKeyHandler ( ) { } private ImageDescriptor getEditorPinImageDesc ( ) { } private List collectDirtyEditors ( ) { } public boolean containsEditor ( IEditorReference ref ) { } private EditorActionBars createEditorActionBars ( EditorDescriptor desc ) { } private EditorActionBars createEmptyEditorActionBars ( ) { } private void disposeEditorActionBars ( EditorActionBars actionBars ) { } public IEditorPart findEditor ( IEditorInput input ) { } private Display getDisplay ( ) { } public int getEditorCount ( ) { } private IEditorRegistry getEditorRegistry ( ) { } public IEditorPart [ ] getDirtyEditors ( ) { } public IEditorReference [ ] getEditors ( ) { } public IEditorPart getVisibleEditor ( ) { } public boolean isSaveAllNeeded ( ) { } private IEditorReference findReusableEditor ( EditorDescriptor desc ) { } public IEditorReference openEditor ( String editorId , IEditorInput input , boolean setVisible ) throws PartInitException { } private IEditorReference openEditorFromDescriptor ( IEditorReference ref , EditorDescriptor desc , IEditorInput input ) throws PartInitException { } private IEditorReference openExternalEditor ( final EditorDescriptor desc , IEditorInput input ) throws PartInitException { } private IEditorReference [ ] openMultiEditor ( final IEditorReference ref , final MultiEditor part , final EditorDescriptor desc , final MultiEditorInput input , final boolean setVisible ) throws PartInitException { } private void createEditorTab ( final IEditorReference ref , final EditorDescriptor desc , final IEditorInput input , final boolean setVisible ) throws PartInitException { } private void createSite ( final IEditorReference ref , final IEditorPart part , final EditorDescriptor desc , final IEditorInput input ) throws PartInitException { } private IEditorReference reuseInternalEditor ( EditorDescriptor desc , IEditorInput input ) throws PartInitException { } private void openInternalEditor ( IEditorReference ref , EditorDescriptor desc , IEditorInput input , boolean setVisible ) throws PartInitException { } private IEditorPart createPart ( final EditorDescriptor desc ) throws PartInitException { } private IEditorReference openSystemExternalEditor ( final IPath location ) throws PartInitException { } private IEditorReference openSystemInPlaceEditor ( IEditorReference ref , EditorDescriptor desc , IEditorInput input ) throws PartInitException { } private ImageDescriptor findImage ( EditorDescriptor desc , IPath path ) { } public IStatus restoreState ( IMemento memento ) { } public IStatus restoreEditor ( final EditorManager . Editor ref ) { } public IStatus busyRestoreEditor ( final EditorManager . Editor ref ) { final IStatus [ ] result = new IStatus [ 1 ] ; Platform . run ( new SafeRunnable ( ) { public void run ( ) { IEditorInput editorInput = ref . getRestoredInput ( ) ; if ( editorInput == null ) { result [ 0 ] = unableToCreateEditor ( ref , null ) ; return ; } String editorID = ref . getId ( ) ; EditorDescriptor desc = null ; if ( editorID != null ) { IEditorRegistry reg = WorkbenchPlugin . getDefault ( ) . getEditorRegistry ( ) ; desc = ( ( EditorDescriptor ) ( reg . findEditor ( editorID ) ) ) ; } if ( desc == null ) { WorkbenchPlugin . log ( ( "Unable<seq2seq4repair_space>to<seq2seq4repair_space>restore<seq2seq4repair_space>editor<seq2seq4repair_space>-<seq2seq4repair_space>no<seq2seq4repair_space>editor<seq2seq4repair_space>descriptor<seq2seq4repair_space>for<seq2seq4repair_space>id:<seq2seq4repair_space>" + editorID ) ) ; result [ 0 ] = unableToCreateEditor ( ref , null ) ; return ; } try { String workbookID = ref . getMemento ( ) . getString ( TAG_WORKBOOK ) ; editorPresentation . setActiveEditorWorkbookFromID ( workbookID ) ; if ( desc . isInternal ( ) ) { openInternalEditor ( ref , desc , editorInput , false ) ; Control ctrl = ref . getPane ( ) . getControl ( ) ; if ( ctrl == null ) ref . getPane ( ) . createControl ( ( ( Composite ) ( page . getEditorPresentation ( ) . getLayoutPart ( ) . getControl ( ) ) ) ) ; else ref . getPane ( ) . createChildControl ( ) ; } else if ( desc . getId ( ) . equals ( SYSTEM_INPLACE_EDITOR_ID ) ) { if ( ( openSystemInPlaceEditor ( ref , desc , editorInput ) ) != null ) { ref . getPane ( ) . createChildControl ( ) ; } else { WorkbenchPlugin . log ( "Unable<seq2seq4repair_space>to<seq2seq4repair_space>restore<seq2seq4repair_space>in-place<seq2seq4repair_space>editor.<seq2seq4repair_space>In-place<seq2seq4repair_space>support<seq2seq4repair_space>is<seq2seq4repair_space>missing." ) ; result [ 0 ] = unableToCreateEditor ( ref , null ) ; } } else { WorkbenchPlugin . log ( ( "Unable<seq2seq4repair_space>to<seq2seq4repair_space>restore<seq2seq4repair_space>editor<seq2seq4repair_space>-<seq2seq4repair_space>invalid<seq2seq4repair_space>editor<seq2seq4repair_space>descriptor<seq2seq4repair_space>for<seq2seq4repair_space>id:<seq2seq4repair_space>" + editorID ) ) ; result [ 0 ] = unableToCreateEditor ( ref , null ) ; } } catch ( PartInitException e ) { <START_BUG> WorkbenchPlugin . log ( ( "Exception<seq2seq4repair_space>creating<seq2seq4repair_space>editor:<seq2seq4repair_space>" + ( e . getMessage ( ) ) ) ) ; <END_BUG> result [ 0 ] = unableToCreateEditor ( ref , e ) ; } } public void handleException ( Throwable e ) { result [ 0 ] = unableToCreateEditor ( ref , e ) ; } } ) ; if ( ( result [ 0 ] ) != null ) return result [ 0 ] ; else return new Status ( IStatus . OK , PlatformUI . PLUGIN_ID , 0 , "" , null ) ; } private IStatus unableToCreateEditor ( EditorManager . Editor ref , Throwable t ) { } public boolean saveAll ( boolean confirm , boolean closing ) { } public static boolean saveAll ( List dirtyEditors , boolean confirm , final IWorkbenchWindow window ) { } public boolean savePart ( final ISaveablePart saveable , IWorkbenchPart part , boolean confirm ) { } public boolean saveEditor ( IEditorPart part , boolean confirm ) { } public IStatus saveState ( final IMemento memento ) { } public boolean setVisibleEditor ( IEditorReference newEd , boolean setFocus ) { } private IPathEditorInput getPathEditorInput ( IEditorInput input ) { } private class Editor extends WorkbenchPartReference implements IEditorReference { private IMemento editorMemento ; private String name ; private String factoryId ; private boolean pinned = false ; private IEditorInput restoredInput ; Editor ( ) { } private void initListenersAndHandlers ( ) { } public void pinStatusUpdated ( ) { } Editor ( IMemento memento ) { } public String getFactoryId ( ) { } protected String computePartName ( ) { } public String getName ( ) { } public IWorkbenchPart getPart ( boolean restore ) { }

Fix:
WorkbenchPlugin . log ( ( "Exception<seq2seq4repair_space>creating<seq2seq4repair_space>editor:<seq2seq4repair_space>" + ( e . getMessage ( ) ) ) , e ) ;