So basically im writing a client-server multiplayer game. I have a SeverCommunicationThread that creates a gameThread if he receives a RequestForGame creates a gameThread.
This problem can happen if you
ObjectInputStream or ObjectOutputStream over the same socket instead of using the same ones for the life of the socket;