Unable to Launch the Application

The worst monsters in the Hearthlands warp the fabric of space and time...
Ushiro
Posts: 4
Joined: Fri Apr 26, 2019 4:58 am

Re: Unable to Launch the Application

Post by Ushiro »

You didn't mention what client (and version of the client) you were using. This isn't something that is typically seen with the standard client.
Sorry but the Client of what? Of the Autohaven.jar file that you download from the website? It doesn't seem like this game uses a client and the process of making it run is opening it with javaws?
If that's the client and what you're referring to, when I hover my mouse over it. It says: File Version 11.211.2.12 and the error I'm getting is:
Exception: JNLParseException[ Could not parse launch file. Error at line 1.]
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.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)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at com.sun.deploy.xml.XMLParser.parse(Unknown Source)
at com.sun.deploy.xml.XMLParser.parse(Unknown Source)
... 8 more
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Wrapped Exception: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at com.sun.deploy.xml.XMLParser.parse(Unknown Source)
at com.sun.deploy.xml.XMLParser.parse(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.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)
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Unable to Launch the Application

Post by borka »

"open with" Java Platform SE Binary (!Not Webstart!)
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
Ushiro
Posts: 4
Joined: Fri Apr 26, 2019 4:58 am

Re: Unable to Launch the Application

Post by Ushiro »

"open with" Java Platform SE Binary (!Not Webstart!)

Just did this and when I did it a command window appears for a split second then immediately disappears. any idea what that could mean? Don't know if I can get a screenshot in fast enough before it closes but I'll try
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Unable to Launch the Application

Post by MagicManICT »

Ushiro wrote:Sorry but the Client of what? Of the Autohaven.jar file that you download from the website? It doesn't seem like this game uses a client and the process of making it run is opening it with javaws?
I was specifically looking if you were running a modded client.
Ushiro wrote:
"open with" Java Platform SE Binary (!Not Webstart!)

Just did this and when I did it a command window appears for a split second then immediately disappears. any idea what that could mean? Don't know if I can get a screenshot in fast enough before it closes but I'll try
Try searching your hard drive for "his_err_pid.log." This should be generated when Java terminates an app. Typically, this should be in the directory tree Java is installed in, but can be redirected by an app creator.
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
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Unable to Launch the Application

Post by borka »

Open up up Notepad, select code, paste - save as autohaven.bat in same folder as autohaven.jar - make sure not to save it as bat.txt

Code: Select all

start javaw -Xss1024k -Xms512m -Xmx1024m -jar autohaven.jar
pause
run by doubleclicking

this shows you the cmd window - pause let it stay open - prolly it doesn't help with the problem but it shows you what happens with it

If there's some error messages shown - cmd window topbar right clicking -> edit (to mark, copy and paste here in code tags)

Also you might look at your Windows Useraccount AppData Folders - prolly Roaming - look for a folder named Haven Launcher - inside is the cache folder which stores the default client ...
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

Return to “Bugs”