Unable to launch application - unable to load resource

The worst monsters in the Hearthlands warp the fabric of space and time...
Rooged
Posts: 4
Joined: Fri Oct 18, 2013 3:36 am

Unable to launch application - unable to load resource

Post by Rooged »

Hi,

Trying to launch autohaven.jnlp using the newest version of Java, a window pops up saying the game is downloading, gets probably 85%-90% the way done, then an error screen pops up telling me that it is unable to launch the application.

Here's what the error screen says.
Launch File

<?xml version="1.0" encoding="utf-8" ?>
<jnlp spec="1.0+" codebase="http://game.havenandhearth.com/java/">
<information>
<title>Haven and Hearth</title>
<vendor>Seatribe</vendor>
<description>The Haven game</description>
<homepage href="http://www.havenandhearth.com/" />
<icon href="icon.gif" />
<icon kind="splash" href="splash.gif" />
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se max-heap-size="512M" version="1.5+" />
<java max-heap-size="512M" version="1.5+" />
<jar href="hafen.jar" />
<extension name="jogl" href="http://game.havenandhearth.com/java/hafen-res.jnlp" />
<extension name="jogl" href="http://game.havenandhearth.com/java/jog ... l-awt.jnlp" />
<property value="88bc67a35d40fd334205860cccab77ddab68af2966a4579a38dfbd70c9ffb9a4" name="jnlp.haven.authck" />
<property value="http://game.havenandhearth.com/java/error" name="jnlp.haven.errorurl" />
<property value="Rooged" name="jnlp.haven.authuser" />
<property value="game.havenandhearth.com" name="jnlp.haven.defserv" />
<property value="http://game.havenandhearth.com/hres/" name="jnlp.haven.resurl" />
<property value="off" name="jnlp.haven.fullscreen" />
</resources>
<application-desc />
</jnlp>

Exception

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://game.havenandhearth.com/java/hafen-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)

Wrapped Exception

java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.util.zip.ZipInputStream.read(Unknown Source)
at com.sun.deploy.net.HttpDownloadHelper.decompressWrite(Unknown Source)
at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
at com.sun.deploy.cache.Cache.downloadResourceToTempFile(Unknown Source)
at com.sun.deploy.cache.Cache.downloadResourceToCache(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)
pls halp
User avatar
jorb
Posts: 18715
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: Unable to launch application - unable to load resource

Post by jorb »

Paged loftar.
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."

-- Hieromonk Seraphim Rose
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Unable to launch application - unable to load resource

Post by loftar »

It appears that your download got corrupted. Java Web Start seems to do that from time to time for inexplicable reasons. Try clearing your Java cache and download the client again.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
Rooged
Posts: 4
Joined: Fri Oct 18, 2013 3:36 am

Re: Unable to launch application - unable to load resource

Post by Rooged »

Would bad internet be a probable cause? My apartment's internet right now is terrible.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Unable to launch application - unable to load resource

Post by loftar »

Could possibly be.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
Rooged
Posts: 4
Joined: Fri Oct 18, 2013 3:36 am

Re: Unable to launch application - unable to load resource

Post by Rooged »

Tried clearing my cache, still gets stuck downloading at the same point.
Rooged
Posts: 4
Joined: Fri Oct 18, 2013 3:36 am

Re: Unable to launch application - unable to load resource

Post by Rooged »

Nevermind, worked! Thank you!

Return to “Bugs”