Buggy code:
final class ContextPersistence { private static final String ATTRIBUTE_DESCRIPTION = "description" ; private static final String ATTRIBUTE_ID = "id" ; private static final String ATTRIBUTE_NAME = "name" ; private static final String ATTRIBUTE_PARENT = "parent" ; private static final String ATTRIBUTE_PARENT_ID = "parentId" ; private static final String ATTRIBUTE_PARENT_SCOPE = "parentScope" ; private static final String ELEMENT_ACCELERATOR_SCOPE = "acceleratorScope" ; private static final String ELEMENT_CONTEXT = "context" ; private static final String ELEMENT_SCOPE = "scope" ; private static final String EXTENSION_ACCELERATOR_SCOPES = "org.eclipse.ui.acceleratorScopes" ; private static final String EXTENSION_COMMANDS = "org.eclipse.ui.commands" ; private static final String EXTENSION_CONTEXTS = "org.eclipse.ui.contexts" ; private static final int INDEX_CONTEXT_DEFINITIONS = 0 ; private static final void addElementToIndexedArray ( final IConfigurationElement elementToAdd , final IConfigurationElement [ ] [ ] indexedArray , final int index , final int currentCount ) { } static final void read ( final ContextManager contextManager ) { } private static final void readContextsFromExtensionPoint ( final IConfigurationElement [ ] configurationElements , final int configurationElementCount , final ContextManager contextManager ) { List warningsToLog = new ArrayList ( 1 ) ; for ( int i = 0 ; i < configurationElementCount ; i ++ ) { final IConfigurationElement configurationElement = configurationElements [ i ] ; final String contextId = configurationElement . getAttribute ( ContextPersistence . ATTRIBUTE_ID ) ; if ( ( contextId == null ) || ( ( contextId . length ( ) ) == 0 ) ) { final String message = ( "Contexts<seq2seq4repair_space>need<seq2seq4repair_space>an<seq2seq4repair_space>id:<seq2seq4repair_space>plug-in='" + ( configurationElement . getNamespace ( ) ) ) + "'." ; final IStatus status = new Status ( IStatus . WARNING , WorkbenchPlugin . PI_WORKBENCH , 0 , message , null ) ; warningsToLog . add ( status ) ; continue ; } final String name = configurationElement . getAttribute ( ContextPersistence . ATTRIBUTE_NAME ) ; if ( ( name == null ) || ( ( name . length ( ) ) == 0 ) ) { final String message = ( ( ( "Contexts<seq2seq4repair_space>need<seq2seq4repair_space>a<seq2seq4repair_space>name:<seq2seq4repair_space>plug-in='" + ( configurationElement . getNamespace ( ) ) ) + "',<seq2seq4repair_space>contextId='" ) + contextId ) + "'." ; final IStatus status = new Status ( IStatus . WARNING , WorkbenchPlugin . PI_WORKBENCH , 0 , message , null ) ; warningsToLog . add ( status ) ; continue ; } String description = configurationElement . getAttribute ( ContextPersistence . ATTRIBUTE_DESCRIPTION ) ; if ( ( description != null ) && ( ( description . length ( ) ) == 0 ) ) { description = null ; } String parentId = configurationElement . getAttribute ( ContextPersistence . ATTRIBUTE_PARENT_ID ) ; if ( ( parentId == null ) || ( ( parentId . length ( ) ) == 0 ) ) { parentId = configurationElement . getAttribute ( ContextPersistence . ATTRIBUTE_PARENT ) ; if ( ( parentId == null ) || ( ( parentId . length ( ) ) == 0 ) ) { parentId = configurationElement . getAttribute ( ContextPersistence . ATTRIBUTE_PARENT_SCOPE ) ; } } if ( ( parentId != null ) && ( ( parentId . length ( ) ) == 0 ) ) { parentId = null ; } final Context context = contextManager . getContext ( contextId ) ; context . define ( name , description , parentId ) ; } if ( ! ( warningsToLog . isEmpty ( ) ) ) { final String message = "Warnings<seq2seq4repair_space>while<seq2seq4repair_space>parsing<seq2seq4repair_space>the<seq2seq4repair_space>contexts<seq2seq4repair_space>from<seq2seq4repair_space>the<seq2seq4repair_space>'org.eclipse.ui.contexts',<seq2seq4repair_space>'org.eclipse.ui.commands'<seq2seq4repair_space>and<seq2seq4repair_space>'org.eclipse.ui.acceleratorScopes'<seq2seq4repair_space>extension<seq2seq4repair_space>points." ; final IStatus status = new MultiStatus ( WorkbenchPlugin . PI_WORKBENCH , 0 , ( ( IStatus [ ] ) ( warningsToLog . toArray ( new IStatus [ warningsToLog . size ( ) ] ) ) ) , message , null ) ; <START_BUG> WorkbenchPlugin . log ( message , status ) ; <END_BUG> } } private ContextPersistence ( ) { } }

Fix:
WorkbenchPlugin . log ( status ) ;