sun.rmi.transport.StreamRemoteCall exception
843793Nov 3 2001 — edited Nov 12 2001I am making a bridge cards game on using rmi and I ge tthe following exception on the fourth player who logs on.
The server is two remote objects. one is used for login (which the client "looks up using Naming" and when four people log in it creates a new Server object (with diff interface ) which is passed to the clients to play the game.
I get this exception on the fourth client who logs on.
java.lang.IllegalThreadStateException
at sun.rmi.transport.StreamRemoteCall.exceptionReceived fromServer(StreamRemoteCall.java)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java)
at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at
bridgeserver.BridgeLogin.Stub(unknown Source)
at bridgeclient.Connect.run(Connect.java:27)
where
my pacckages are brideserver and bridgeclient and Connect is a class in bridgeclient.