Unable to complete game install / run game
issueid=954 05-04-2012 11:00 PM
Junior Member
Number of reported issues by ronarscorruption: 47
Unable to complete game install / run game
Get error on game install

So, I downloaded the newest release of JADE on a new computer. Windows 7, lots of memory and so on. Install the newest version of Java, download the newest version of ADOM, running, installing... licence agree: absolutely.

Then this:
ERROR: unable to find resource 'data/kbd/keymap.cfg'/ Got a null response from the class loader

Code:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://www.adom.de/adom-ii/downloads/javawebstart" href="adom-ii.jnlp">
    <information>
        <title>ADOM II: Legends of Ancardia (powered by JADE)</title>
        <vendor>Thomas Biskup</vendor>
		<homepage href="http://www.adom.de/" />
		<description>
			ADOM II: Legends of Ancardia is the successor to ADOM
			(Ancient Domains Of Mystery). It is a so-called roguelike game that
			provides access to a huge randomly generated fantasy world in which
			you can fight for fame and riches, search artifacts or even challenge
			the gods themselves. That is if you don't just want to become a farmer
			or a merchant. A whole universe awaits you... welcome to the world of
			Ancardia!
		</description>
		<description kind="short">
			ADOM II, a roguelike game and the successor to ADOM, allows you to experience unlimited adventures
			in the world of Ancardia. Start your trip into a whole new dimension right away!
		</description>
		<icon href="adom-ii-icon.png" kind="default"/>
		<shortcut online="false">
	        <desktop/>
	    </shortcut>
		<offline-allowed/>
    </information>
	<security>
		<all-permissions/>
	</security>
    <update check="always" policy="prompt-update"/>
    <resources>
		<j2se version="1.6.0_25+" href="http://java.sun.com/products/autodl/j2se" max-heap-size="768m"/>
		<jar href="adom-ii.jar" main="true" version="0.2.4"/>
		<jar href="j2-commons-cli.jar" version="1.0"/>
		<jar href="j2-commons-io.jar" version="1.2"/>
		<jar href="j2-commons-lang3.jar" version="3.0.1"/>
		<jar href="j2-org.springframework.asm.jar" version="3.0.5"/>
		<jar href="j2-org.springframework.beans.jar" version="3.0.5"/>
		<jar href="j2-org.springframework.context.jar" version="3.0.5"/>
		<jar href="j2-org.springframework.core.jar" version="3.0.5"/>
		<jar href="j2-commons-logging.jar" version="1.1.1"/>
		<property name="jnlp.versionEnabled" value="true"/>
		<property name="sun.java2d.d3d" value="false"/>
    </resources>
    <application-desc
         name="ADOM II 0.2.4"
         main-class="de.adom.jade.JADE"
         width="300"
         height="300">
     </application-desc>
</jnlp>
Code:
de.adom.jade.JadeError: Unable to find resource 'data/kbd/keymap.cfg'. Got a null response from the class loader.
	at de.adom.jade.utils.ClassLoaderUtils.getResource(SourceFile:55)
	at de.adom.jade.kernel.storage.SystemFile.resource(SourceFile:107)
	at de.adom.jade.kernel.storage.FileManager.loadConfiguration(SourceFile:171)
	at de.adom.jade.JADE.a(SourceFile:144)
	at de.adom.jade.JADE.main(SourceFile:166)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Issue Details
Issue Number 954
Project ADOM II (formerly known as JADE)
Category Unknown
Status Fixed
Priority 1 - Highest
Affected Version ADOM II 0.2.4
Fixed Version ADOM II 0.2.5
Users able to reproduce bug 1
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




05-04-2012 11:14 PM
Junior Member
I've also just confirmed that the update installation fails on my laptop (Windows XP) where I had been running 0.2.3 earlier today.

05-04-2012 11:20 PM
Senior Member
I got the same message to :'(

05-04-2012 11:28 PM
Junior Member
well, it's look looking for keyboard.cfg in .jade/data/kbd... I wonder where it's trying to find the thing?

05-05-2012 02:28 AM
Junior Member
Well the null pointer may actually indicate a failure to write the file. try deleting the whole directory and installing fresh.

05-05-2012 08:08 AM
The Creator
Fixed for ADOM II 0.2.5. Please send your real name to creator(at)ancientdomainsofmystery.com for it to be included in the credits. (If you were already asked to do so you can ignore this message. Please include a reference to the bug or RFE you are credited for.)

+ Reply