Buggy code:
public class IRCRootContainer extends IRCAbstractContainer implements IContainer , IRCMessageChannel , IChatRoomContainer , IChatRoomContainerOptionsAdapter , IChatRoomManager { private static final long CONNECT_TIMEOUT = 20000 ; protected IRCConnection connection = null ; protected IRCRootContainer . ReplyHandler replyHandler = null ; protected Map channels = new HashMap ( ) ; protected String username ; protected String encoding = null ; private ArrayList invitationListeners ; private Object connectLock = new Object ( ) ; private boolean connectWaiting = false ; private Exception connectException = null ; public IRCRootContainer ( ID localID ) throws IDCreateException { } public void connect ( ID targetID , IConnectContext connectContext ) throws ContainerConnectException { } protected void handleDisconnected ( ) { } protected void handleErrorIfConnecting ( String message ) { } protected IRCEventListener getIRCEventListener ( ) { } protected String getIRCUserName ( IRCUser user ) { } public void disconnect ( ) { } public Object getAdapter ( Class serviceType ) { } public Namespace getConnectNamespace ( ) { } public IChatRoomInfo getChatRoomInfo ( final String roomName ) { } public IChatRoomInfo [ ] getChatRoomInfos ( ) { } public IChatRoomManager [ ] getChildren ( ) { } public IChatRoomManager getParent ( ) { } public void addChatRoomParticipantListener ( IChatRoomParticipantListener participantListener ) { } public void removeChatRoomParticipantListener ( IChatRoomParticipantListener participantListener ) { } public IChatRoomMessageSender getChatRoomMessageSender ( ) { return new IChatRoomMessageSender ( ) { public void sendMessage ( String message ) throws ECFException { if ( isCommand ( message ) ) parseCommandAndSend ( message , null ) ; else <START_BUG> showErrorMessage ( null , NLS . bind ( IRCRootContainer_Command_Error , new Object [ ] { message , COMMAND_PREFIX } ) ) ; <END_BUG> } } ; } protected void parseCommandAndSend ( String commandMessage , String channelName ) { } private synchronized void handleCommandMessage ( String [ ] tokens , String channelName ) { } private void handleInvite ( ID channelID , ID fromID ) { } protected IRCChannelContainer getChannel ( String channel ) { } private void showMessage ( String channel , String msg ) { } private void showMessage ( String channel , String user , String msg ) { } private void showErrorMessage ( String channel , String msg ) { } private ID getSystemID ( ) { } protected void handle353Reply ( String channel , String [ ] strings ) { } protected class ReplyHandler { public void handleReply ( int code , String arg1 , String arg2 ) { } private String trimUsername ( String un ) { } } protected void handleSetSubject ( String channelName , IRCUser user , String newSubject ) { } protected void doJoinChannel ( String channelName , String key ) { } protected void doPartChannel ( String channelName ) { } protected void doSendChannelMessage ( String channelName , String ircUser , String msg ) { } protected void addChannel ( String channel , IRCChannelContainer container ) { } protected IRCChannelContainer getContainerForChannel ( String channel ) { } protected void removeChannel ( String channel ) { } public boolean setEncoding ( String encoding ) { } public void addInvitationListener ( IChatRoomInvitationListener listener ) { } public void removeInvitationListener ( IChatRoomInvitationListener listener ) { } public IChatRoomInfo createChatRoom ( String roomname , Map properties ) throws ChatRoomCreateException { } protected IHistoryManager chatRoomHistoryManager = new IHistoryManager ( ) { public IHistory getHistory ( ID chatRoomID , Map options ) { } public boolean isActive ( ) { } public void setActive ( boolean active ) { } public Object getAdapter ( Class adapter ) { } } ; public IHistoryManager getHistoryManager ( ) { } }

Fix:
showErrorMessage ( null , NLS . bind ( IRCRootContainer_Command_Error , message , COMMAND_PREFIX ) ) ;