Buggy code:
public class TS3ChatBridgeListener implements TS3Listener { private final TS3Bot ts3 ; private final TS3ApiAsync api ; public TS3ChatBridgeListener ( TS3Bot TS3 ) { } @ Override public void onTextMessage ( TextMessageEvent e ) { } @ Override public void onServerEdit ( ServerEditedEvent e ) { } @ Override public void onClientMoved ( ClientMovedEvent e ) { } @ Override public void onClientLeave ( ClientLeaveEvent e ) { } @ Override public void onClientJoin ( ClientJoinEvent e ) { ClientInfo joiningClient = null ; Integer joiningClientId = e . getClientId ( ) ; ServerQueryInfo localInfo = null ; ChannelInfo channelInfo = null ; System . out . println ( ( ( ( "new<seq2seq4repair_space>client<seq2seq4repair_space>ID:<seq2seq4repair_space>" + ( joiningClientId . toString ( ) ) ) + "<seq2seq4repair_space>Type:<seq2seq4repair_space>" ) + ( e . getClientType ( ) ) ) ) ; if ( ( e . getClientType ( ) ) == 0 ) { try { Thread . sleep ( 500 ) ; } catch ( InterruptedException ex ) { Logger . getLogger ( TS3Bot . class . getName ( ) ) . log ( Level . SEVERE , null , ex ) ; } List < Client > clientsList = null ; try { clientsList = api . getClients ( ) . get ( ) ; } catch ( InterruptedException ex ) { Logger . getLogger ( TS3Bot . class . getName ( ) ) . log ( Level . SEVERE , null , ex ) ; } List < Integer > clientIdsList = new ArrayList ( ) ; if ( clientsList != null ) { for ( Client client : clientsList ) { clientIdsList . add ( client . getId ( ) ) ; } } if ( clientIdsList . contains ( joiningClientId ) ) { System . out . println ( ( ( "New<seq2seq4repair_space>client<seq2seq4repair_space>with<seq2seq4repair_space>ID:<seq2seq4repair_space>" + joiningClientId ) + "<seq2seq4repair_space>is<seq2seq4repair_space>valid" ) ) ; try { joiningClient = api . getClientInfo ( joiningClientId ) . get ( ) ; localInfo = api . whoAmI ( ) . get ( ) ; channelInfo = api . getChannelInfo ( localInfo . getChannelId ( ) ) . get ( ) ; } catch ( InterruptedException ex ) { Logger . getLogger ( TS3Bot . class . getName ( ) ) . log ( Level . SEVERE , null , ex ) ; } if ( ( ( joiningClient != null ) && ( localInfo != null ) ) && ( channelInfo != null ) ) { String originalClientName = e . getClientNickname ( ) ; String clientName = ts3 . nameTagStrip ( originalClientName ) ; if ( ( ( joiningClient . getChannelId ( ) ) == ( localInfo . getChannelId ( ) ) ) && ( ! ( localInfo . getNickname ( ) . equals ( originalClientName ) ) ) ) { OutputChannel ircchannel ; ircchannel = irctots3chat . getIRCManger ( ) . getBots ( ) . first ( ) . getUserChannelDao ( ) . getChannel ( ircConfigMap . get ( "channel" ) ) . send ( ) ; ircchannel . message ( ( ( clientName + "<seq2seq4repair_space>Joined<seq2seq4repair_space>Channel<seq2seq4repair_space>" ) + ( channelInfo . getName ( ) ) ) ) ; ts3 . addChannelUid ( joiningClientId , clientName ) ; } else { System . out . println ( "onClientJoin<seq2seq4repair_space>fired:<seq2seq4repair_space>Unrelated<seq2seq4repair_space>client" ) ; } } } else { <START_BUG> System . out . println ( ( ( "New<seq2seq4repair_space>client<seq2seq4repair_space>with<seq2seq4repair_space>ID:<seq2seq4repair_space>" + joiningClientId ) + "<seq2seq4repair_space>left" ) ) ; <END_BUG> } } else { System . out . println ( "New<seq2seq4repair_space>client<seq2seq4repair_space>not<seq2seq4repair_space>of<seq2seq4repair_space>Type<seq2seq4repair_space>0" ) ; } } @ Override public void onChannelEdit ( ChannelEditedEvent e ) { } @ Override public void onChannelDescriptionChanged ( ChannelDescriptionEditedEvent e ) { } @ Override public void onChannelCreate ( ChannelCreateEvent e ) { } @ Override public void onChannelDeleted ( ChannelDeletedEvent e ) { } @ Override public void onChannelMoved ( ChannelMovedEvent e ) { } @ Override public void onChannelPasswordChanged ( ChannelPasswordChangedEvent e ) { } No newline ; at end ; of file ; }

Fix:
System . out . println ( ( ( "New<seq2seq4repair_space>client<seq2seq4repair_space>with<seq2seq4repair_space>ID:<seq2seq4repair_space>" + joiningClientId ) + "<seq2seq4repair_space>left<seq2seq4repair_space>before<seq2seq4repair_space>delay<seq2seq4repair_space>finnished" ) ) ;