Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can see exception if client runs with NO server #5

Closed
ingconti opened this issue Jul 7, 2019 · 4 comments
Closed

I can see exception if client runs with NO server #5

ingconti opened this issue Jul 7, 2019 · 4 comments

Comments

@ingconti
Copy link

ingconti commented Jul 7, 2019

I got:
java.net.ConnectException: Connection refused (Connection refused)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
at java.base/java.net.Socket.connect(Socket.java:591)
at java.base/java.net.Socket.connect(Socket.java:540)
at java.base/java.net.Socket.(Socket.java:436)
at java.base/java.net.Socket.(Socket.java:213)
at it.polimi.ingsw.network.client.socket.SocketClient.run(SocketClient.java:103)
at java.base/java.lang.Thread.run(Thread.java:835)
Jul 07, 2019 12:25:37 PM it.polimi.ingsw.network.client.socket.SocketClient run
WARNING: Could not find the server

pls manage gracefully "no server".

@ingconti ingconti changed the title crash if client runs with NO server I can see exception if client runs with NO server Jul 7, 2019
@FedericoGianni
Copy link
Owner

we fixed this, we will push the fix with the other isuee's fix

@FedericoGianni
Copy link
Owner

fixed

@ingconti
Copy link
Author

ingconti commented Jul 7, 2019

PLS make another folder, JARS_fixed
so we can keep and see the older.
(we cannot use git/revert during exam... takes too much time)

@Dav-11
Copy link
Collaborator

Dav-11 commented Jul 7, 2019

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants