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

Out of bound exception in Client and Server #13

Open
varshaanil01 opened this issue Apr 29, 2019 · 3 comments
Open

Out of bound exception in Client and Server #13

varshaanil01 opened this issue Apr 29, 2019 · 3 comments

Comments

@varshaanil01
Copy link

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException : Index 1 out of bounds for length 0 at Server.main(Server.java:138)
The above given error is showing up and I'm not able to figure out to fix this.

@akay777
Copy link

akay777 commented Jan 29, 2021

did this work for you

@samuelyuen96
Copy link

Did you build the code following README.md?

@ArpitAgarwal13
Copy link

If you running using IDE, or through command line, there are runtime parameters which you need to provide. In case of Server it is the port number and in case of client, it is IP, port and file name. These configurations are present there in run_client and run_server file under root project.

Final run configuration:
java Server 1051

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

4 participants