Buggy code:
public class ServerAccessorImpl implements OnFoeListListener , OnFriendListListener , OnGameInfoListener , OnGameLaunchInfoListener , OnGameTypeInfoListener , OnPingListener , OnPlayerInfoListener , OnSessionInfoListener , ServerAccessor , OnFafLoginSucceededListener { private static final Logger logger = LoggerFactory . getLogger ( MethodHandles . lookup ( ) . lookupClass ( ) ) ; private static final int VERSION = 123 ; private static final long RECONNECT_DELAY = 3000 ; private static final String PONG = "PONG" ; @ Autowired Environment environment ; @ Autowired PreferencesService preferencesService ; @ Autowired LadderParser ladderParser ; @ Autowired TaskService taskService ; @ Autowired I18n i18n ; private Task < Void > fafConnectionTask ; private String uniqueId ; private String username ; private String password ; private String localIp ; private StringProperty sessionId ; private ServerWriter serverWriter ; private Callback < Void > loginCallback ; private Callback < GameLaunchInfo > gameLaunchCallback ; private Collection < OnGameInfoListener > onGameInfoListeners ; private Collection < OnGameTypeInfoListener > onGameTypeInfoListeners ; private Collection < OnFoeListListener > onFoeListListeners ; private OnLobbyConnectingListener onLobbyConnectingListener ; private OnFafDisconnectedListener onFafDisconnectedListener ; private OnLobbyConnectedListener onLobbyConnectedListener ; private OnPlayerInfoListener onPlayerInfoListener ; private OnFoeListListener onFoeListListener ; private OnFriendListListener onFriendListListener ; public ServerAccessorImpl ( ) { } @ Override public void connectAndLogInInBackground ( Callback < Void > callback ) { } private ServerWriter createServerWriter ( OutputStream outputStream ) throws IOException { } private void writeToServer ( Object object ) { } private void blockingReadServer ( Socket socket ) throws IOException { } @ Override public void onSessionInitiated ( SessionInfo message ) { this . sessionId . set ( message . session ) ; this . uniqueId = UID . generate ( sessionId . get ( ) , preferencesService . getFafDataDirectory ( ) . resolve ( "uid.log" ) ) ; <START_BUG> ServerAccessorImpl . logger . info ( "FAF<seq2seq4repair_space>session<seq2seq4repair_space>initiated,<seq2seq4repair_space>session<seq2seq4repair_space>ID:<seq2seq4repair_space>{}" , sessionId ) ; <END_BUG> executeInBackground ( new Task < Void > ( ) { @ Override protected Void call ( ) throws Exception { writeToServer ( ClientMessage . login ( username , password , sessionId . get ( ) , uniqueId , localIp , ServerAccessorImpl . VERSION ) ) ; return null ; } } ) ; } @ Override public void onServerPing ( ) { } @ Override public void onFafLoginSucceeded ( ) { } @ Override public void addOnGameTypeInfoListener ( OnGameTypeInfoListener listener ) { } @ Override public void onGameInfo ( GameInfo gameInfo ) { } @ Override public void onGameTypeInfo ( GameTypeInfo gameTypeInfo ) { } @ Override public void onPlayerInfo ( PlayerInfo playerInfo ) { } @ Override public void onFriendList ( List < String > friends ) { } @ Override public void onFoeList ( List < String > foes ) { } @ Override public void addOnGameInfoListener ( OnGameInfoListener listener ) { } @ Override public void setOnPlayerInfoMessageListener ( OnPlayerInfoListener listener ) { } @ Override public void requestNewGame ( NewGameInfo newGameInfo , Callback < GameLaunchInfo > callback ) { } private void writeToServerInBackground ( final ClientMessage clientMessage ) { } @ Override public void requestJoinGame ( GameInfoBean gameInfoBean , String password , Callback < GameLaunchInfo > callback ) { } @ Override public void onGameLaunchInfo ( GameLaunchInfo gameLaunchInfo ) { } @ Override public void notifyGameStarted ( ) { } @ Override public void notifyGameTerminated ( ) { } @ Override public void setOnFafConnectingListener ( OnLobbyConnectingListener onLobbyConnectingListener ) { } @ Override public void setOnFafDisconnectedListener ( OnFafDisconnectedListener onFafDisconnectedListener ) { } @ Override public void setOnFriendListListener ( OnFriendListListener onFriendListListener ) { } @ Override public void setOnFoeListListener ( OnFoeListListener onFoeListListener ) { } @ Override public void disconnect ( ) { } @ Override public void setOnLobbyConnectedListener ( OnLobbyConnectedListener onLobbyConnectedListener ) { } @ Override public void requestLadderInfoInBackground ( Callback < List < LadderEntryBean > > callback ) { } }

Fix:
ServerAccessorImpl . logger . info ( "FAF<seq2seq4repair_space>session<seq2seq4repair_space>initiated,<seq2seq4repair_space>session<seq2seq4repair_space>ID:<seq2seq4repair_space>{}" , sessionId . get ( ) ) ;