Java Error when launching the game

The worst monsters in the Hearthlands warp the fabric of space and time..
ForSparta
Posts: 4
Joined: Mon Sep 13, 2010 9:12 am

Java Error when launching the game

Post by ForSparta »

I go to start the game, and I keep getting this error:

Image

I've been playing HnH up until now without any problems. Now for some reason I can't play. I reinstalled Java, but that didn't fix the problem. Does anyone have any clue on how to fix this?
User avatar
burgingham
Posts: 8486
Joined: Fri Aug 14, 2009 10:58 pm

Re: Java Error when launching the game

Post by burgingham »

That Blood Angel scares me :(

Sorry can't be of any help to your problem though.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Java Error when launching the game

Post by loftar »

You'd have to post the text from the "Exception" tab, at least.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
ForSparta
Posts: 4
Joined: Mon Sep 13, 2010 9:12 am

Re: Java Error when launching the game

Post by ForSparta »

java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect
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.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)
at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedFile(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Sorry, I was getting to it but got distracted.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Java Error when launching the game

Post by loftar »

It seems your Java installation is erroneously trying to use a proxy server. Check your proxy settings?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
ForSparta
Posts: 4
Joined: Mon Sep 13, 2010 9:12 am

Re: Java Error when launching the game

Post by ForSparta »

That's the weird part...I'm not using a proxy and my FoxyProxy is turned off.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Java Error when launching the game

Post by loftar »

Note that Java keeps its own proxy settings. You can check them from the Java's Control Panel thingie.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
ForSparta
Posts: 4
Joined: Mon Sep 13, 2010 9:12 am

Re: Java Error when launching the game

Post by ForSparta »

That fixed the problem. Thanks!
ravendawson
Posts: 1
Joined: Fri Jan 21, 2011 5:13 am

Re: Java Error when launching the game

Post by ravendawson »

Error messages suddenly popping up just as you are supposed to play a game totally sucks. Thanks for the information here, though. It really helped. Sometimes, game installation fails when the proxy settings are not set properly. So, you really have to check your proxy settings beforehand.

Return to “Bugs”