Can't find solution to launch exception

The worst monsters in the Hearthlands warp the fabric of space and time...

Re: Can't find solution to launch exception

Postby Silicon_E » Sat Jun 18, 2016 12:54 am

MagicManICT wrote:You might try verifying your connection is stable by pinging the game server (game.havenandhearth.com) and/or flushing Haven from your Java cache so that it redownloads. An error in a file would cause the same.
I tried pinging the game server, and got this result:
hnh ping.png

I also tried clearing the Java cache, but running autohaven.jnlp still gives the same error as a wrapped exception and a new exception as follows:
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://game.havenandhearth.com/java/hafen-res.jnlp
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getJreResource(Unknown Source)
at com.sun.javaws.LaunchDownload._downloadExtensionsHelper(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.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
You do not have the required permissions to view the files attached to this post.
the semicolon;
a gift when sorting your code,
a bane when misplaced.
Silicon_E
 
Posts: 19
Joined: Sat Feb 06, 2016 3:54 am

Re: Can't find solution to launch exception

Postby Granger » Sat Jun 18, 2016 9:06 am

Please repeat the ping with -n 1000 option (posting the statistics at the end is enough) so we can see if the packet lost was a fluke or an indication of a problem.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Can't find solution to launch exception

Postby borka » Sat Jun 18, 2016 4:09 pm

A traceroute might help too

tracert.bat

Code: Select all
c:\windows\system32\tracert 213.239.201.139
pause
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Can't find solution to launch exception

Postby Silicon_E » Sun Jun 19, 2016 3:34 am

Granger wrote:Please repeat the ping with -n 1000 option (posting the statistics at the end is enough) so we can see if the packet lost was a fluke or an indication of a problem.
Tried pinging 100 times, requests timed out in no particular pattern.

Ping statistics for 2a01:4f8:130:7393::2:
Packets: Sent = 100, Received = 96, Lost = 4 (4% loss),
Approximate round trip times in milli-seconds:
Minimum = 162ms, Maximum = 215ms, Average = 170ms
the semicolon;
a gift when sorting your code,
a bane when misplaced.
Silicon_E
 
Posts: 19
Joined: Sat Feb 06, 2016 3:54 am

Re: Can't find solution to launch exception

Postby Granger » Sun Jun 19, 2016 9:16 am

Are you able to download http://game.havenandhearth.com/java/hafen-res.jnlp with the browser?
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Can't find solution to launch exception

Postby Silicon_E » Wed Jun 22, 2016 11:43 pm

Granger wrote:Are you able to download http://game.havenandhearth.com/java/hafen-res.jnlp with the browser?
Downloaded fine, but cannot launch with exception:
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://game.havenandhearth.com/java/builtin-res.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
And wrapped exception:
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
the semicolon;
a gift when sorting your code,
a bane when misplaced.
Silicon_E
 
Posts: 19
Joined: Sat Feb 06, 2016 3:54 am

Re: Can't find solution to launch exception

Postby Granger » Wed Jun 22, 2016 11:52 pm

Granger wrote:Strange virus scanner?


In case you have a virus scanner: please try with it disabled.
Same with firewall: please check that you did not block java from accessing the network...
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Can't find solution to launch exception

Postby Silicon_E » Fri Jun 24, 2016 12:01 am

Granger wrote:In case you have a virus scanner: please try with it disabled.
Same with firewall: please check that you did not block java from accessing the network...
Disabling the firewall doesn't affect launch with either .jnlp file, and I don't run a virus scanner.

Any specific version of Java that is confirmed to be compatible with the game?
the semicolon;
a gift when sorting your code,
a bane when misplaced.
Silicon_E
 
Posts: 19
Joined: Sat Feb 06, 2016 3:54 am

Re: Can't find solution to launch exception

Postby Granger » Fri Jun 24, 2016 12:55 am

Do you have DSL?

If so: problem could be with the MTU
http://www.richard-slater.co.uk/archive ... windows-8/
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Can't find solution to launch exception

Postby loftar » Fri Jun 24, 2016 1:05 am

Can you download http://game.havenandhearth.com/java/hafen-res.jar with the browser?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9058
Joined: Fri Apr 03, 2009 7:05 am

PreviousNext

Return to Bugs

Who is online

Users browsing this forum: BLEX [Bot], Claude [Bot] and 2 guests