Buggy code:
public class ChatRoomView extends ViewPart implements IParticipantListener , IChatRoomInvitationListener { private static final String USERNAME_HOST_DELIMETER = "@" ; private static final int RATIO_WRITE_PANE = 2 ; private static final int RATIO_READ_PANE = 7 ; private static final int RATIO_READ_WRITE_PANE = 85 ; private static final int RATIO_PRESENCE_PANE = 15 ; protected static final String DEFAULT_ME_COLOR = "0,255,0" ; protected static final String DEFAULT_OTHER_COLOR = "0,0,0" ; protected static final String DEFAULT_SYSTEM_COLOR = "0,0,255" ; protected static final String DEFAULT_DATE_COLOR = "0,0,0" ; protected static final String VIEW_PREFIX = "Chat:<seq2seq4repair_space>" ; protected static final String DEFAULT_TIME_FORMAT = "HH:mm:ss" ; protected static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd" ; protected static final int DEFAULT_INPUT_HEIGHT = 25 ; protected static final int DEFAULT_INPUT_SEPARATOR = 5 ; private Composite mainComp = null ; private IChatRoomInfo roomInfo = null ; private Text writeText = null ; private SimpleLinkTextViewer readText = null ; private ListViewer memberViewer = null ; IChatRoomViewCloseListener closeListener = null ; IChatRoomMessageSender messageSender = null ; IChatRoomContainer chatRoomContainer = null ; String viewID = null ; private Color meColor = null ; private Color otherColor = null ; private Color systemColor = null ; private Color dateColor = null ; private IUser localUser = null ; private List otherUsers = Collections . synchronizedList ( new ArrayList ( ) ) ; Action outputClear = null ; Action outputCopy = null ; Action outputPaste = null ; Action outputSelectAll = null ; boolean disposed = false ; private Color colorFromRGBString ( String rgb ) { } public void createPartControl ( Composite parent ) { } protected void setEnabled ( boolean enabled ) { } protected void clearInput ( ) { } protected void handleTextInput ( String text ) { } protected void handleEnter ( ) { } protected void handleKeyPressed ( KeyEvent evt ) { } protected void handleKeyReleased ( KeyEvent evt ) { } public void setFocus ( ) { } public IChatRoomInfo getRoomInfo ( ) { } public void initialize ( final IChatRoomViewCloseListener parent , final String secondaryID , final IChatRoomContainer container , final IChatRoomInfo info , final IChatRoomMessageSender sender ) { } public void dispose ( ) { } protected String getMessageString ( ID fromID , String text ) { } public void handleMessage ( final ID fromID , final String messageBody ) { } private String trimUserID ( ID userID ) { } class Participant implements IUser { private static final long serialVersionUID = 2008114088656711572L ; ID id ; public Participant ( ID id ) { } public ID getID ( ) { } public String getName ( ) { } public boolean equals ( Object other ) { } public int hashCode ( ) { } public String toString ( ) { } public Map getProperties ( ) { } public Object getAdapter ( Class adapter ) { } public String getNickname ( ) { } } protected String getCurrentDate ( String format ) { } protected String getDateTime ( ) { } protected void addParticipant ( IUser p ) { } protected boolean isLocalUser ( ID id ) { } protected void cleanUp ( ) { } protected void removeLocalUser ( ) { } protected void removeParticipant ( IUser p ) { } protected void removeAllParticipants ( ) { } public void handlePresence ( final ID fromID , final IPresence presence ) { } public void handleInvitationReceived ( ID roomID , ID from , String subject , String body ) { } protected void appendText ( ChatLine text ) { } protected void outputClear ( ) { } protected void outputCopy ( ) { } protected void outputPaste ( ) { } public void handleJoin ( IUser user ) { } public void handleLeave ( IUser user ) { } public void handleUpdated ( IUser user ) { } protected void outputSelectAll ( ) { } protected void makeActions ( ) { outputSelectAll = new Action ( ) { public void run ( ) { outputSelectAll ( ) ; } } ; outputSelectAll . setText ( "Select<seq2seq4repair_space>All" ) ; outputSelectAll . setToolTipText ( "Select<seq2seq4repair_space>All" ) ; outputSelectAll . setAccelerator ( ( ( SWT . CTRL ) | 'A' ) ) ; outputCopy = new Action ( ) { public void run ( ) { outputCopy ( ) ; } } ; outputCopy . setText ( "Copy" ) ; outputCopy . setToolTipText ( "Copy<seq2seq4repair_space>Selected" ) ; outputCopy . setAccelerator ( ( ( SWT . CTRL ) | 'C' ) ) ; outputCopy . setImageDescriptor ( PlatformUI . getWorkbench ( ) . getSharedImages ( ) . getImageDescriptor ( IMG_TOOL_COPY ) ) ; outputClear = new Action ( ) { public void run ( ) { outputClear ( ) ; } } ; outputClear . setText ( "Clear" ) ; outputClear . setToolTipText ( "Clear<seq2seq4repair_space>output<seq2seq4repair_space>window" ) ; outputPaste = new Action ( ) { public void run ( ) { outputPaste ( ) ; } } ; outputPaste . setText ( "Paste" ) ; outputPaste . setToolTipText ( "Paste" ) ; <START_BUG> outputCopy . setAccelerator ( ( ( SWT . CTRL ) | 'V' ) ) ; <END_BUG> outputPaste . setImageDescriptor ( PlatformUI . getWorkbench ( ) . getSharedImages ( ) . getImageDescriptor ( IMG_TOOL_PASTE ) ) ; } private void fillContextMenu ( IMenuManager manager ) { } private void hookContextMenu ( ) { } }

Fix:
outputPaste . setAccelerator ( ( ( SWT . CTRL ) | 'V' ) ) ;