When I'm not connected to the internet (and connecting to localhost with client) I'm unable to login to my server. It loads and connects but once I press the login button it'll crash the client and output this error in the client console:
Code:
Error: sy.c() client.er() client.ae() mc.m() mc.e() | Class460.method5980:380 client.method2806:2807
client.method2773:608 Class291.method2764:534 Class291.method2759:375 Class291.run:323
java.lang.Thread.run | java.lang.NullPointerException | 0,0,104,104 0,8,8 1 0 2 765,503 0 0 0 0 0 0
248 4 8079 hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx
java.net.ConnectException: Connection refused: connect
error_game_crash
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at IPAddress.method6062(IPAddress.java:127)
at Class291.run(Class291.java:327)
at java.lang.Thread.run(Unknown Source)
There are no errors server side and everything works perfectly when I am connected to the internet. I was trying to google this like a madman with my phone last night but the only results I got was cache is broken and that's clearly not the case, however perhaps it's unable to load the cache for some reason when there is no internet? I'm not sure. This is on a 718L742 server, any help would be appreciated.