Hello friends, there is a working project, but not a single commit has been made for 1 year.
When I run it after 1 year, I get certain errors like java.lang.IndexOutOfBoundsException: Index: 0, Size: 0.
The size of list is coming from server appears to be 0
What I want to know is is there a solution that I can do myself or it is a server related problem.
r
Rahul Rawat
12/23/2021, 5:37 AM
There are some things like
1. try catch
2. or maybe check if the list is empty or not
while making the variable type nullable instead of non nullable
j
Josh Yun
12/23/2021, 5:57 AM
The log says your app failed to connect to your server. (Socket Timeout)
h
Hassan Naqvi
12/23/2021, 6:00 AM
actual error is on line 80. you are not getting any servers from ServerDatabase...getServers()