Buggy code:
public class NewVerificationCommand extends AbstractHandler { private ExecutionEvent event ; private IFile file = null ; public Object execute ( ExecutionEvent event ) throws ExecutionException { } private void createVerification ( ) { VerifyDocument verify = new VerifyDocument ( ) ; ArrayList < VerificationResult > results = new ArrayList < VerificationResult > ( ) ; if ( ( HandlerUtil . getActivePart ( event ) ) instanceof IEditorPart ) { final IEditorPart editorPart = ( ( IEditorPart ) ( HandlerUtil . getActivePart ( event ) ) ) ; if ( editorPart . isDirty ( ) ) { if ( ( null != ( editorPart . getTitle ( ) ) ) && ( ( editorPart . getTitle ( ) . length ( ) ) > 0 ) ) { IRunnableWithProgress op = new IRunnableWithProgress ( ) { public void run ( final IProgressMonitor monitor ) { editorPart . doSave ( monitor ) ; } } ; try { PlatformUI . getWorkbench ( ) . getProgressService ( ) . runInUI ( XSTUIPlugin . getActiveWorkbenchWindow ( ) , op , ResourcesPlugin . getWorkspace ( ) . getRoot ( ) ) ; } catch ( InvocationTargetException ite ) { Utils . log ( "Error<seq2seq4repair_space>while<seq2seq4repair_space>saving<seq2seq4repair_space>editor<seq2seq4repair_space>content" , ite ) ; } catch ( InterruptedException ie ) { Utils . log ( "Error<seq2seq4repair_space>while<seq2seq4repair_space>saving<seq2seq4repair_space>editor<seq2seq4repair_space>content" , ie ) ; } } else { editorPart . doSaveAs ( ) ; } } file = ( ( IFile ) ( editorPart . getEditorInput ( ) . getAdapter ( IFile . class ) ) ) ; } else { ISelection selection = HandlerUtil . getCurrentSelection ( event ) ; if ( selection instanceof IStructuredSelection ) { file = ( ( IFile ) ( ( ( IStructuredSelection ) ( selection ) ) . getFirstElement ( ) ) ) ; } } try { if ( ( ( file ) != null ) && ( file . isAccessible ( ) ) ) { results = verify . verify ( file . getLocation ( ) . toString ( ) ) ; } else { <START_BUG> MessageDialog . openInformation ( HandlerUtil . getActiveShell ( event ) , NewVerificationCommand_0 , NLS . bind ( RemoveReadOnlyFlag , "verify" ) ) ; <END_BUG> } if ( ( results . size ( ) ) == 0 ) { MessageDialog . openInformation ( HandlerUtil . getActiveShell ( event ) , NewVerificationCommand_0 , NewVerificationCommand_1 ) ; } IViewPart vp = HandlerUtil . getActiveWorkbenchWindow ( event ) . getActivePage ( ) . showView ( ID ) ; if ( vp instanceof SignatureView ) { ( ( SignatureView ) ( vp ) ) . setInput ( results ) ; } } catch ( XMLSignatureException xmlse ) { Utils . showErrorDialog ( HandlerUtil . getActiveShell ( event ) , NewVerificationCommand_0 , NewVerificationCommand_2 , xmlse ) ; } catch ( KeyResolverException kre ) { Utils . showErrorDialog ( HandlerUtil . getActiveShell ( event ) , NewVerificationCommand_0 , NewVerificationCommand_3 , kre ) ; } catch ( Exception ex ) { Utils . showErrorDialog ( HandlerUtil . getActiveShell ( event ) , NewVerificationCommand_0 , NewVerificationCommand_4 , ex ) ; Utils . log ( "An<seq2seq4repair_space>error<seq2seq4repair_space>occured<seq2seq4repair_space>during<seq2seq4repair_space>verification" , ex ) ; } } }

Fix:
MessageDialog . openInformation ( HandlerUtil . getActiveShell ( event ) , NewVerificationCommand_0 , NLS . bind ( RemoveReadOnlyFlag , NewVerificationCommand_5 ) ) ;