As the title says, I think my code is getting an exception therefore is not being able to change connection, and making it stay as null when it shouldn´t
This is the error the Log is giving:
this is the part im pretty certain si breaking, but I truly don´t know why, the data is correct.
The only part that might be given error is the IP, since im not sure which IP should I use in this case
The problem is not the nullpointerexception, the problem is the error exception, and I dont know how to solve it
Thanks in advance