Application Error

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

Application Error

Postby TalynWulf » Fri Jul 29, 2016 9:00 am

Game won't start. I open the autohaven application, the Java logo pops up, and then it tells me "Unable to launch the application."


Details:
Launch File Tab
<?xml version="1.0" encoding="utf-8"?>
<jnlp codebase="http://game.havenandhearth.com/java/jogl2/"
href="jogl-all-awt.jnlp" version="v2.1.2">
<information>
<title>Java(tm) Binding to the OpenGL(r) API (ALL.AWT)</title>
<vendor>JogAmp Community</vendor>
<homepage href="http://jogamp.org/"/>
<description>Java Binding to the OpenGL API - 2.0.0 - ALL.AWT</description>
<description kind="short">Java programming language binding for the OpenGL 3D graphics API - ALL.AWT</description>
<offline-allowed/>
</information>
<update check="background" policy="always"/>
<security>
<all-permissions/>
</security>
<resources>
<jar href="jar/jogl-all.jar" />

<extension name="gluegen-rt" href="gluegen-rt.jnlp" />
</resources>

<resources os="Windows" arch="x86">
<nativelib href = "jar/jogl-all-natives-windows-i586.jar" />
</resources>
<resources os="Windows" arch="amd64">
<nativelib href = "jar/jogl-all-natives-windows-amd64.jar" />
</resources>
<resources os="Windows" arch="x86_64">
<nativelib href = "jar/jogl-all-natives-windows-amd64.jar" />
</resources>
<resources os="SunOS" arch="sparc">
<nativelib href = "jar/jogl-all-natives-solaris-sparc.jar" />
</resources>
<resources os="SunOS" arch="sparcv9">
<nativelib href = "jar/jogl-all-natives-solaris-sparcv9.jar" />
</resources>
<resources os="SunOS" arch="x86">
<nativelib href = "jar/jogl-all-natives-solaris-i586.jar" />
</resources>
<resources os="SunOS" arch="amd64">
<nativelib href = "jar/jogl-all-natives-solaris-amd64.jar" />
</resources>
<resources os="SunOS" arch="x86_64">
<nativelib href = "jar/jogl-all-natives-solaris-amd64.jar" />
</resources>
<resources os="Linux" arch="i386">
<nativelib href = "jar/jogl-all-natives-linux-i586.jar" />
</resources>
<resources os="Linux" arch="x86">
<nativelib href = "jar/jogl-all-natives-linux-i586.jar" />
</resources>
<resources os="Linux" arch="amd64">
<nativelib href = "jar/jogl-all-natives-linux-amd64.jar" />
</resources>
<resources os="Linux" arch="x86_64">
<nativelib href = "jar/jogl-all-natives-linux-amd64.jar" />
</resources>
<resources os="Linux" arch="arm">
<nativelib href = "jar/jogl-all-natives-linux-armv6.jar" />
<nativelib href = "jar/jogl-all-natives-linux-armv6hf.jar" />
</resources>
<resources os="Linux" arch="armv7">
<nativelib href = "jar/jogl-all-natives-linux-armv6.jar" />
<nativelib href = "jar/jogl-all-natives-linux-armv6hf.jar" />
</resources>
<resources os="Mac OS X" arch="i386">
<nativelib href = "jar/jogl-all-natives-macosx-universal.jar" />
</resources>
<resources os="Mac OS X" arch="x86_64">
<nativelib href = "jar/jogl-all-natives-macosx-universal.jar" />
</resources>

<component-desc />
</jnlp>


Main Launch File Tab
<?xml version="1.0" encoding="utf-8" ?>
<jnlp codebase="http://game.havenandhearth.com/java/" spec="1.0+">
<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 href="splash.gif" kind="splash" />
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se max-heap-size="512M" version="1.8+" />
<java max-heap-size="512M" version="1.8+" />
<jar href="hafen.jar" />
<extension href="http://game.havenandhearth.com/java/hafen-res.jnlp" name="jogl" />
<extension href="http://game.havenandhearth.com/java/jogl2/jogl-all-awt.jnlp" name="jogl" />
<property name="jnlp.haven.authck" value="ca852be7880d9acb0c250f248b457d3a99c745dc40f4fd31b4d3da28c085637a" />
<property name="jnlp.haven.defserv" value="game.havenandhearth.com" />
<property name="jnlp.haven.resurl" value="http://game.havenandhearth.com/hres/" />
<property name="jnlp.haven.errorurl" value="http://game.havenandhearth.com/java/error" />
<property name="jnlp.haven.authuser" value="TalynWulf" />
<property name="jnlp.haven.fullscreen" value="off" />
</resources>
<application-desc />
</jnlp>


Exception Tab
BadFieldException[ Cache must be enabled for nativelib or installer-desc support,http://game.havenandhearth.com/java/jogl2/jar/jogl-all-natives-windows-i586.jar]
at com.sun.javaws.jnl.XMLFormat.handleResourceElement(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.access$400(Unknown Source)
at com.sun.javaws.jnl.XMLFormat$2$1.visitElement(Unknown Source)
at com.sun.javaws.jnl.XMLUtils.visitChildrenElements(Unknown Source)
at com.sun.javaws.jnl.XMLFormat$2.visitElement(Unknown Source)
at com.sun.javaws.jnl.XMLUtils.visitElements(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.buildResourcesDesc(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.process(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(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)


Win10, Java 8
TalynWulf
 
Posts: 3
Joined: Fri Jul 29, 2016 8:39 am

Re: Application Error

Postby Granger » Fri Jul 29, 2016 11:32 am

Check Control Panel -> Java Control Panel.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Application Error

Postby TalynWulf » Fri Jul 29, 2016 7:45 pm

Granger wrote:Check Control Panel -> Java Control Panel.



And? Do what?
TalynWulf
 
Posts: 3
Joined: Fri Jul 29, 2016 8:39 am

Re: Application Error

Postby shubla » Fri Jul 29, 2016 7:51 pm

TalynWulf wrote:
Granger wrote:Check Control Panel -> Java Control Panel.



And? Do what?

add it as exception!
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13041
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: Application Error

Postby MagicManICT » Fri Jul 29, 2016 8:05 pm

Enable Java to run in Browser. It's a check box in the Security section.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
 
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Application Error

Postby loftar » Fri Jul 29, 2016 8:30 pm

shubla wrote:add it as exception!

That shouldn't be an issue at all with the current certificate.

TalynWulf wrote:BadFieldException[ Cache must be enabled for nativelib or installer-desc support,http://game.havenandhearth.com/java/jogl2/jar/jogl-all-natives-windows-i586.jar]

Rather, from this it seems you've somehow managed to disable Java's cache. I can't say how you might have done that, but there should be a setting for it in the Java Control Panel.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9056
Joined: Fri Apr 03, 2009 7:05 am

Re: Application Error

Postby TalynWulf » Fri Jul 29, 2016 10:53 pm

loftar wrote:
TalynWulf wrote:BadFieldException[ Cache must be enabled for nativelib or installer-desc support,http://game.havenandhearth.com/java/jogl2/jar/jogl-all-natives-windows-i586.jar]

Rather, from this it seems you've somehow managed to disable Java's cache. I can't say how you might have done that, but there should be a setting for it in the Java Control Panel.


Ah, I changed it to allow temporary files, and now it's working. Thanks!
TalynWulf
 
Posts: 3
Joined: Fri Jul 29, 2016 8:39 am


Return to Bugs

Who is online

Users browsing this forum: Claude [Bot] and 205 guests